kio-ftps-vl.spec 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. Name: kio-ftps
  2. Summary: An ftps KIO slave for KDE
  3. Version: 0.2
  4. Release: 4%{?_dist_release}
  5. Group: System Environment/Libraries
  6. License: GPLv2+
  7. URL: http://kasablanca.berlios.de/kio-ftps/
  8. Source0: http://download.berlios.de/kasablanca/%{name}-%{version}.tar.gz
  9. Patch0: qtnetwork.patch
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: kdelibs4-devel
  12. BuildRequires: cmake
  13. #{?_kde4_macros_api:Requires: kde4-macros(api) = %{_kde4_macros_api} }
  14. %description
  15. An ftps KIO slave for KDE, based on rfc4217. It should work yet with
  16. most server implementations.
  17. %prep
  18. %setup -q -n %{name}
  19. %patch0 -p0 -b .qtnetwork
  20. %build
  21. mkdir -p %{_target_platform}
  22. pushd %{_target_platform}
  23. %{cmake} \
  24. -DCMAKE_BUILD_TYPE=release \
  25. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  26. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  27. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  28. ..
  29. popd
  30. make %{?_smp_mflags} -C %{_target_platform}
  31. %install
  32. rm -rf %{buildroot}
  33. mkdir %{buildroot}
  34. make install DESTDIR=%{buildroot} -C %{_target_platform}
  35. %clean
  36. rm -rf %{buildroot}
  37. %files
  38. %defattr(-,root,root,-)
  39. %doc README LICENSE.txt rfc4217.txt
  40. %{_libdir}/kde4/kio_ftps.so
  41. %{_datadir}/kde4/services/ftps.protocol
  42. %changelog
  43. * Fri Sep 02 2016 Toshiaki Ara <ara_t@384.jp> - 0.2-4
  44. - rebuild with gcc-5.4.0
  45. * Sun Jan 11 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> - 0.2-3
  46. - rebuilt on current VineSeed
  47. * Sun Jan 16 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.2-2
  48. - initial build for Vine Linux
  49. * Tue Apr 28 2009 Jaroslav Reznik <jreznik@redhat.com> - 0.2-1
  50. - initial package