kio_gopher-vl.spec 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. %define kdever 4.4.0
  2. Name: kio_gopher
  3. Summary: Gopher KIO slave for Konqueror
  4. Version: 0.1.3
  5. Release: 4%{?_dist_release}
  6. Group: System Environment/Libraries
  7. License: GPLv2+
  8. URL: http://kgopher.berlios.de/
  9. Source0: ftp://ftp.kde.org/pub/kde/stable/%{kdever}/src/extragear/%{name}-%{version}-kde%{kdever}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: kdelibs4-devel >= %{kdever}
  12. BuildRequires: cmake
  13. BuildRequires: gettext
  14. #{?_kde4_macros_api:Requires: kde4-macros(api) = %{_kde4_macros_api} }
  15. %description
  16. This KIO slave adds support for the Gopher protocol to Konqueror.
  17. %prep
  18. %setup -q -n %{name}-%{version}-kde%{kdever}
  19. %build
  20. mkdir -p %{_target_platform}
  21. pushd %{_target_platform}
  22. %{cmake} \
  23. -DCMAKE_BUILD_TYPE=release \
  24. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  25. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  26. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  27. ..
  28. popd
  29. make %{?_smp_mflags} -C %{_target_platform}
  30. %install
  31. rm -rf %{buildroot}
  32. mkdir %{buildroot}
  33. make install DESTDIR=%{buildroot} -C %{_target_platform}
  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. * Sun Jan 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.1.3-4
  45. - Initial build for Vine Linux
  46. * Sat Feb 13 2010 Kevin Kofler <Kevin@tigcc.ticalc.org> - 0.1.3-3
  47. - new tarball from 4.4.0 extragear, contains updates translations
  48. * Wed Sep 16 2009 Kevin Kofler <Kevin@tigcc.ticalc.org> - 0.1.3-2
  49. - drop postfix tag from Release
  50. * Tue Sep 15 2009 Kevin Kofler <Kevin@tigcc.ticalc.org> - 0.1.3-1.kde4.3.1
  51. - Initial Fedora package