libktorrent-vl.spec 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. Name: libktorrent
  2. Summary: Library providing torrent downloading code
  3. Version: 1.3.1
  4. Release: 1%{?_dist_release}
  5. Group: System Environment/Libraries
  6. License: GPLv2+
  7. URL: http://ktorrent.org/
  8. Source0: http://ktorrent.org/downloads/4.3.0/%{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 Jul 06 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.3.1-1
  59. - new upstream release
  60. * Sun Sep 02 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.3.0-1
  61. - new upstream release
  62. * Sun Aug 12 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> - 1.2.1.2-1
  63. - new upstream release
  64. * Wed Oct 5 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.1.2-1
  65. - new upstream release
  66. - added BR: libgcrypt-devel
  67. * Wed Jan 26 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.5-1
  68. - new upstream release
  69. * Tue Aug 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 1.0.2-3
  70. - initial build for Vine Linux
  71. * Fri Jul 9 2010 Alexey Kurov <nucleo@fedoraproject.org> - 1.0.2-2
  72. - fixed license tag
  73. - added license text
  74. * Thu Jul 8 2010 Alexey Kurov <nucleo@fedoraproject.org> - 1.0.2-1
  75. - libktorrent-1.0.2
  76. * Tue Jun 15 2010 Alexey Kurov <nucleo@fedoraproject.org> - 1.0.1-1
  77. - libktorrent-1.0.1
  78. * Mon May 24 2010 Rex Dieter <rdieter@fedoraproject.org> 1.0.0-1
  79. - libktorrent-1.0.0
  80. * Wed May 05 2010 Rex Dieter <rdieter@fedoraproject.org> 1.0-0.2.rc1
  81. - -devel: Obsoletes: ktorrent-devel
  82. * Mon May 03 2010 Rex Dieter <rdieter@fedoraproject.org> 1.0-0.1.rc1
  83. - libktorrent-1.0rc1