libktorrent-vl.spec 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. Name: libktorrent
  2. Summary: Library providing torrent downloading code
  3. Version: 1.3.1
  4. Release: 2%{?_dist_release}
  5. Group: System Environment/Libraries
  6. License: GPLv2+
  7. URL: http://ktorrent.pwsp.net/
  8. Source0: http://ktorrent.pwsp.net/downloads/4.3.1/%{name}-%{version}.tar.bz2
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: gettext
  11. BuildRequires: gmp-devel
  12. BuildRequires: kdelibs4-devel
  13. BuildRequires: libboost-devel
  14. BuildRequires: libgcrypt-devel
  15. BuildRequires: qca2-devel
  16. %description
  17. %{summary}.
  18. %package devel
  19. Summary: Developer files for %{name}
  20. Summary(ja): %{name} の開発用ファイル
  21. Group: Development/Libraries
  22. Obsoletes: ktorrent-devel <= 4.0
  23. Requires: %{name} = %{version}-%{release}
  24. Requires: kdelibs4-devel
  25. %description devel
  26. %{summary}.
  27. %prep
  28. %setup -q
  29. %build
  30. mkdir -p %{_target_platform}
  31. pushd %{_target_platform}
  32. %cmake \
  33. -DCMAKE_BUILD_TYPE=release \
  34. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  35. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  36. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  37. ..
  38. popd
  39. make %{?_smp_mflags} -C %{_target_platform}
  40. %install
  41. rm -rf %{buildroot}
  42. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  43. %find_lang %{name} --with-kde
  44. %clean
  45. rm -rf %{buildroot}
  46. %post -p /sbin/ldconfig
  47. %postun -p /sbin/ldconfig
  48. %files -f %{name}.lang
  49. %defattr(-,root,root,-)
  50. %doc ChangeLog COPYING
  51. %{_libdir}/libktorrent.so.*
  52. %files devel
  53. %defattr(-,root,root,-)
  54. %{_datadir}/kde4/apps/cmake/modules/FindKTorrent.cmake
  55. %{_includedir}/kde4/libktorrent/
  56. %{_libdir}/libktorrent.so
  57. %changelog
  58. * Sat Nov 29 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 1.3.1-2
  59. - rebuilt with libgcrypt 1.6.0 and gmp 5.1.3
  60. - updated URL
  61. * Sat Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.3.1-1
  62. - new upstream release
  63. * Sun Sep 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.3.0-1
  64. - new upstream release
  65. * Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.2.1.2-1
  66. - new upstream release
  67. * Wed Oct 5 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.1.2-1
  68. - new upstream release
  69. - added BR: libgcrypt-devel
  70. * Wed Jan 26 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.5-1
  71. - new upstream release
  72. * Tue Aug 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.2-3
  73. - initial build for Vine Linux
  74. * Fri Jul 9 2010 Alexey Kurov <nucleo@fedoraproject.org> - 1.0.2-2
  75. - fixed license tag
  76. - added license text
  77. * Thu Jul 8 2010 Alexey Kurov <nucleo@fedoraproject.org> - 1.0.2-1
  78. - libktorrent-1.0.2
  79. * Tue Jun 15 2010 Alexey Kurov <nucleo@fedoraproject.org> - 1.0.1-1
  80. - libktorrent-1.0.1
  81. * Mon May 24 2010 Rex Dieter <rdieter@fedoraproject.org> 1.0.0-1
  82. - libktorrent-1.0.0
  83. * Wed May 05 2010 Rex Dieter <rdieter@fedoraproject.org> 1.0-0.2.rc1
  84. - -devel: Obsoletes: ktorrent-devel
  85. * Mon May 03 2010 Rex Dieter <rdieter@fedoraproject.org> 1.0-0.1.rc1
  86. - libktorrent-1.0rc1