Name: libktorrent Summary: Library providing torrent downloading code Version: 1.3.1 Release: 2%{?_dist_release} Group: System Environment/Libraries License: GPLv2+ URL: http://ktorrent.pwsp.net/ Source0: http://ktorrent.pwsp.net/downloads/4.3.1/%{name}-%{version}.tar.bz2 BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: gettext BuildRequires: gmp-devel BuildRequires: kdelibs4-devel BuildRequires: libboost-devel BuildRequires: libgcrypt-devel BuildRequires: qca2-devel %description %{summary}. %package devel Summary: Developer files for %{name} Summary(ja): %{name} の開発用ファイル Group: Development/Libraries Obsoletes: ktorrent-devel <= 4.0 Requires: %{name} = %{version}-%{release} Requires: kdelibs4-devel %description devel %{summary}. %prep %setup -q %build mkdir -p %{_target_platform} pushd %{_target_platform} %cmake \ -DCMAKE_BUILD_TYPE=release \ -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ .. popd make %{?_smp_mflags} -C %{_target_platform} %install rm -rf %{buildroot} make install/fast DESTDIR=%{buildroot} -C %{_target_platform} %find_lang %{name} --with-kde %clean rm -rf %{buildroot} %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files -f %{name}.lang %defattr(-,root,root,-) %doc ChangeLog COPYING %{_libdir}/libktorrent.so.* %files devel %defattr(-,root,root,-) %{_datadir}/kde4/apps/cmake/modules/FindKTorrent.cmake %{_includedir}/kde4/libktorrent/ %{_libdir}/libktorrent.so %changelog * Sat Nov 29 2014 Ryoichi INAGAKI - 1.3.1-2 - rebuilt with libgcrypt 1.6.0 and gmp 5.1.3 - updated URL * Sat Jul 06 2013 Yoji TOYODA - 1.3.1-1 - new upstream release * Sun Sep 02 2012 Yoji TOYODA - 1.3.0-1 - new upstream release * Sun Aug 12 2012 Yoji TOYODA - 1.2.1.2-1 - new upstream release * Wed Oct 5 2011 Ryoichi INAGAKI - 1.1.2-1 - new upstream release - added BR: libgcrypt-devel * Wed Jan 26 2011 Ryoichi INAGAKI - 1.0.5-1 - new upstream release * Tue Aug 17 2010 Ryoichi INAGAKI - 1.0.2-3 - initial build for Vine Linux * Fri Jul 9 2010 Alexey Kurov - 1.0.2-2 - fixed license tag - added license text * Thu Jul 8 2010 Alexey Kurov - 1.0.2-1 - libktorrent-1.0.2 * Tue Jun 15 2010 Alexey Kurov - 1.0.1-1 - libktorrent-1.0.1 * Mon May 24 2010 Rex Dieter 1.0.0-1 - libktorrent-1.0.0 * Wed May 05 2010 Rex Dieter 1.0-0.2.rc1 - -devel: Obsoletes: ktorrent-devel * Mon May 03 2010 Rex Dieter 1.0-0.1.rc1 - libktorrent-1.0rc1