123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- Name: libktorrent
- Summary: Library providing torrent downloading code
- Version: 1.0.2
- Release: 3%{?_dist_release}
- Group: System Environment/Libraries
- License: GPLv2+
- URL: http://ktorrent.org/
- Source0: http://ktorrent.org/downloads/4.0.2/libktorrent-%{version}.tar.bz2
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: libboost-devel
- BuildRequires: gettext
- BuildRequires: gmp-devel
- BuildRequires: kdelibs4-devel >= 4.5.0
- BuildRequires: qca2-devel
- %description
- %{summary}.
- %package devel
- Summary: Developer files for %{name}
- Group: Development/Libraries
- Obsoletes: ktorrent-devel <= 4.0
- Requires: %{name} = %{version}-%{release}
- Requires: kdelibs4-devel >= 4.5.0
- %description devel
- %{summary}.
- %prep
- %setup -q -n %{name}-%{version}
- %build
- mkdir -p %{_target_platform}
- pushd %{_target_platform}
- unset QTDIR || : ; . /etc/profile.d/qt4.sh
- %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.2*
- %files devel
- %defattr(-,root,root,-)
- %{_datadir}/kde4/apps/cmake/modules/FindKTorrent.cmake
- %{_includedir}/kde4/libktorrent/
- %{_libdir}/libktorrent.so
- %changelog
- * Tue Aug 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.2-3
- - initial build for Vine Linux
- * Fri Jul 9 2010 Alexey Kurov <nucleo@fedoraproject.org> - 1.0.2-2
- - fixed license tag
- - added license text
- * Thu Jul 8 2010 Alexey Kurov <nucleo@fedoraproject.org> - 1.0.2-1
- - libktorrent-1.0.2
- * Tue Jun 15 2010 Alexey Kurov <nucleo@fedoraproject.org> - 1.0.1-1
- - libktorrent-1.0.1
- * Mon May 24 2010 Rex Dieter <rdieter@fedoraproject.org> 1.0.0-1
- - libktorrent-1.0.0
- * Wed May 05 2010 Rex Dieter <rdieter@fedoraproject.org> 1.0-0.2.rc1
- - -devel: Obsoletes: ktorrent-devel
- * Mon May 03 2010 Rex Dieter <rdieter@fedoraproject.org> 1.0-0.1.rc1
- - libktorrent-1.0rc1
|