Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:42.1:Rings:2-TestDVD
libktorrent
libktorrent.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libktorrent.spec of Package libktorrent
# # spec file for package libktorrent # # Copyright (c) 2013 SUSE LINUX Products 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/ # Name: libktorrent Version: 1.3.1 Release: 0 %define sonum 5 Summary: Torrent Downloading Library License: GPL-2.0+ Group: Productivity/Networking/File-Sharing Url: http://ktorrent.org/ Source0: http://ktorrent.org/downloads/4.3.1/%{name}-%{version}.tar.bz2 BuildRequires: boost-devel BuildRequires: doxygen BuildRequires: gmp-devel BuildRequires: libgcrypt-devel BuildRequires: libkde4-devel BuildRequires: libqca2-devel 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: libktorrent%{sonum} = %{version} %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} %build %cmake_kde4 -d build %make_jobs %install cd build %kde4_makeinstall cd .. # Remove unneeded locales %if 0%{?suse_version} && 0%{?suse_version} < 1140 rm -rf %{buildroot}%{_datadir}/locale/ast/ rm -rf %{buildroot}%{_datadir}/locale/hne/ rm -rf %{buildroot}%{_datadir}/locale/sr@ijekavian/ rm -rf %{buildroot}%{_datadir}/locale/sr@ijekavianlatin/ %endif %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,-) %{_kde4_includedir}/libktorrent/ %{_kde4_libdir}/libktorrent.so %{_kde4_appsdir}/cmake/modules/FindKTorrent.cmake %files -n libktorrent%{sonum} %defattr(-,root,root,-) %doc COPYING ChangeLog RoadMap %{_kde4_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