kio_gopher-vl.spec 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. Name: kio_gopher
  2. Summary: Gopher KIO slave for Konqueror
  3. Version: 0.1.4
  4. Release: 2%{?_dist_release}
  5. Group: System Environment/Libraries
  6. License: GPLv2+
  7. URL: http://kgopher.berlios.de/
  8. Source0: http://ftp.kde.org/pub/kde/stable/extragear/kio-gopher-%{version}.tar.bz2
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: kdelibs4-devel >= 4.3.80
  11. BuildRequires: cmake
  12. BuildRequires: gettext
  13. #{?_kde4_macros_api:Requires: kde4-macros(api) = %{_kde4_macros_api} }
  14. %description
  15. This KIO slave adds support for the Gopher protocol to Konqueror.
  16. %prep
  17. %setup -q -n kio-gopher-%{version}
  18. %build
  19. mkdir -p %{_target_platform}
  20. pushd %{_target_platform}
  21. %{cmake} \
  22. -DCMAKE_BUILD_TYPE=release \
  23. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  24. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  25. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  26. ..
  27. popd
  28. make %{?_smp_mflags} -C %{_target_platform}
  29. %install
  30. rm -rf %{buildroot}
  31. mkdir %{buildroot}
  32. make install DESTDIR=%{buildroot} -C %{_target_platform}
  33. rm -rf %{buildroot}%{_docdir}/HTML
  34. %find_lang kio_gopher
  35. %clean
  36. rm -rf %{buildroot}
  37. %files -f kio_gopher.lang
  38. %defattr(-,root,root,-)
  39. %doc README COPYING BUGS
  40. # FAQ is only about installation problems which shouldn't affect the RPM.
  41. %{_libdir}/kde4/kio_gopher.so
  42. %{_datadir}/kde4/services/gopher.protocol
  43. %changelog
  44. * Fri Sep 02 2016 Toshiaki Ara <ara_t@384.jp> - 0.1.4-2
  45. - rebuild with gcc-5.4.0
  46. * Sun Jan 11 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.1.4-1
  47. - updated to 0.1.4
  48. * Sun Jan 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.1.3-4
  49. - Initial build for Vine Linux
  50. * Sat Feb 13 2010 Kevin Kofler <Kevin@tigcc.ticalc.org> - 0.1.3-3
  51. - new tarball from 4.4.0 extragear, contains updates translations
  52. * Wed Sep 16 2009 Kevin Kofler <Kevin@tigcc.ticalc.org> - 0.1.3-2
  53. - drop postfix tag from Release
  54. * Tue Sep 15 2009 Kevin Kofler <Kevin@tigcc.ticalc.org> - 0.1.3-1.kde4.3.1
  55. - Initial Fedora package