Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.3
libktorrent
libktorrent.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libktorrent.spec of Package libktorrent
# # spec file for package libktorrent # # Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # %define ktor_ver 5.0 Name: libktorrent Version: 2.0.1 Release: 0 %define sonum 6 Summary: Torrent Downloading Library License: GPL-2.0+ Group: Productivity/Networking/File-Sharing Url: http://ktorrent.org/ Source0: http://download.kde.org/stable/ktorrent/%{ktor_ver}/%{name}-%{version}.tar.xz # PATCH-FIX-OPENSUSE require-lower-LibGMP.patch Patch0: require-lower-LibGMP.patch # PATCH-FIX-UPSTREAM Fix-logging-framework-spamming.patch Patch1: Fix-logging-framework-spamming.patch BuildRequires: boost-devel BuildRequires: doxygen BuildRequires: extra-cmake-modules BuildRequires: gmp-devel >= 5.1.3 BuildRequires: karchive-devel BuildRequires: kdelibs4support-devel BuildRequires: ki18n-devel BuildRequires: kio-devel BuildRequires: libgcrypt-devel BuildRequires: libqca-qt5-devel BuildRequires: pkgconfig(Qt5Core) BuildRequires: pkgconfig(Qt5Gui) BuildRequires: pkgconfig(Qt5Network) BuildRequires: pkgconfig(Qt5Test) BuildRequires: pkgconfig(Qt5Widgets) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description libktorrent is a torrent downloading library. %package devel Summary: Development files for libktorrent Group: Development/Libraries/C and C++ Requires: boost-devel Requires: gmp-devel Requires: libktorrent%{sonum} = %{version} Requires: libqca-qt5-devel %description devel This package includes the necessary files for development using libktorrent. %package -n libktorrent%{sonum} Summary: Torrent Downloading Library Group: Productivity/Networking/File-Sharing Recommends: libktorrent%{sonum}-lang = %{version} Provides: %{name} = %{version} Obsoletes: %{name} < %{version} %description -n libktorrent%{sonum} libktorrent is a torrent downloading library. %lang_package -n libktorrent%{sonum} %prep %setup -q -n %{name}-%{version} %patch0 -p1 %patch1 -p1 %build %cmake_kf5 -d build %make_jobs %install %kf5_makeinstall -C build %find_lang %{name} %clean rm -rf %{buildroot} %post -n libktorrent%{sonum} -p /sbin/ldconfig %postun -n libktorrent%{sonum} -p /sbin/ldconfig %files devel %defattr(-,root,root,-) %{_includedir}/libktorrent/ %{_libdir}/libktorrent.so %{_libdir}/cmake/LibKTorrent/ %files -n libktorrent%{sonum} %defattr(-,root,root,-) %doc COPYING ChangeLog RoadMap %{_libdir}/libktorrent.so.%{sonum}* %files -n libktorrent%{sonum}-lang -f %{name}.lang %defattr(-,root,root,-) %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor