[1636] | 1 | Name: libktorrent |
---|
| 2 | Summary: Library providing torrent downloading code |
---|
[4976] | 3 | Version: 1.1.2 |
---|
[2725] | 4 | Release: 1%{?_dist_release} |
---|
[1636] | 5 | |
---|
| 6 | Group: System Environment/Libraries |
---|
| 7 | License: GPLv2+ |
---|
| 8 | URL: http://ktorrent.org/ |
---|
| 9 | |
---|
[4976] | 10 | Source0: http://ktorrent.org/downloads/4.1.2/libktorrent-%{version}.tar.bz2 |
---|
[1636] | 11 | |
---|
| 12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 13 | BuildRequires: gettext |
---|
| 14 | BuildRequires: gmp-devel |
---|
[2725] | 15 | BuildRequires: kdelibs4-devel |
---|
[4976] | 16 | BuildRequires: libboost-devel |
---|
| 17 | BuildRequires: libgcrypt-devel |
---|
[1636] | 18 | BuildRequires: qca2-devel |
---|
| 19 | |
---|
| 20 | %description |
---|
| 21 | %{summary}. |
---|
| 22 | |
---|
| 23 | %package devel |
---|
| 24 | Summary: Developer files for %{name} |
---|
[2725] | 25 | Summary(ja): %{name} の開発用ファイル |
---|
[1636] | 26 | Group: Development/Libraries |
---|
| 27 | Obsoletes: ktorrent-devel <= 4.0 |
---|
| 28 | Requires: %{name} = %{version}-%{release} |
---|
[2725] | 29 | Requires: kdelibs4-devel |
---|
[1636] | 30 | |
---|
| 31 | %description devel |
---|
| 32 | %{summary}. |
---|
| 33 | |
---|
| 34 | |
---|
| 35 | %prep |
---|
[4976] | 36 | %setup -q |
---|
[1636] | 37 | |
---|
| 38 | %build |
---|
| 39 | mkdir -p %{_target_platform} |
---|
| 40 | pushd %{_target_platform} |
---|
| 41 | unset QTDIR || : ; . /etc/profile.d/qt4.sh |
---|
| 42 | %cmake \ |
---|
| 43 | -DCMAKE_BUILD_TYPE=release \ |
---|
| 44 | -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \ |
---|
| 45 | -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \ |
---|
| 46 | -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \ |
---|
| 47 | .. |
---|
| 48 | popd |
---|
| 49 | |
---|
| 50 | make %{?_smp_mflags} -C %{_target_platform} |
---|
| 51 | |
---|
| 52 | |
---|
| 53 | %install |
---|
| 54 | rm -rf %{buildroot} |
---|
| 55 | |
---|
| 56 | make install/fast DESTDIR=%{buildroot} -C %{_target_platform} |
---|
| 57 | |
---|
| 58 | %find_lang %{name} --with-kde |
---|
| 59 | |
---|
| 60 | |
---|
| 61 | %clean |
---|
| 62 | rm -rf %{buildroot} |
---|
| 63 | |
---|
| 64 | |
---|
| 65 | %post -p /sbin/ldconfig |
---|
| 66 | |
---|
| 67 | %postun -p /sbin/ldconfig |
---|
| 68 | |
---|
| 69 | |
---|
| 70 | %files -f %{name}.lang |
---|
| 71 | %defattr(-,root,root,-) |
---|
| 72 | %doc ChangeLog COPYING |
---|
[4976] | 73 | %{_libdir}/libktorrent.so.* |
---|
[1636] | 74 | |
---|
| 75 | %files devel |
---|
| 76 | %defattr(-,root,root,-) |
---|
| 77 | %{_datadir}/kde4/apps/cmake/modules/FindKTorrent.cmake |
---|
| 78 | %{_includedir}/kde4/libktorrent/ |
---|
| 79 | %{_libdir}/libktorrent.so |
---|
| 80 | |
---|
| 81 | |
---|
| 82 | %changelog |
---|
[4976] | 83 | * Wed Oct 5 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.1.2-1 |
---|
| 84 | - new upstream release |
---|
| 85 | - added BR: libgcrypt-devel |
---|
| 86 | |
---|
[2725] | 87 | * Wed Jan 26 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.5-1 |
---|
| 88 | - new upstream release |
---|
| 89 | |
---|
[1636] | 90 | * Tue Aug 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.2-3 |
---|
| 91 | - initial build for Vine Linux |
---|
| 92 | |
---|
| 93 | * Fri Jul 9 2010 Alexey Kurov <nucleo@fedoraproject.org> - 1.0.2-2 |
---|
| 94 | - fixed license tag |
---|
| 95 | - added license text |
---|
| 96 | |
---|
| 97 | * Thu Jul 8 2010 Alexey Kurov <nucleo@fedoraproject.org> - 1.0.2-1 |
---|
| 98 | - libktorrent-1.0.2 |
---|
| 99 | |
---|
| 100 | * Tue Jun 15 2010 Alexey Kurov <nucleo@fedoraproject.org> - 1.0.1-1 |
---|
| 101 | - libktorrent-1.0.1 |
---|
| 102 | |
---|
| 103 | * Mon May 24 2010 Rex Dieter <rdieter@fedoraproject.org> 1.0.0-1 |
---|
| 104 | - libktorrent-1.0.0 |
---|
| 105 | |
---|
| 106 | * Wed May 05 2010 Rex Dieter <rdieter@fedoraproject.org> 1.0-0.2.rc1 |
---|
| 107 | - -devel: Obsoletes: ktorrent-devel |
---|
| 108 | |
---|
| 109 | * Mon May 03 2010 Rex Dieter <rdieter@fedoraproject.org> 1.0-0.1.rc1 |
---|
| 110 | - libktorrent-1.0rc1 |
---|
| 111 | |
---|