kdenetwork-filesharing-vl.spec 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. Name: kdenetwork-filesharing
  2. Summary: File sharing plugin for Konqueror
  3. Version: 4.11.4
  4. Release: 1%{?_dist_release}
  5. License: GPLv2, LGPLv2
  6. Group: Applications/Internet
  7. URL: http://www.kde.org/
  8. Source: ftp://ftp.kde.org/pub/kde/stable/%{version}/src/%{name}-%{version}.tar.xz
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: kdelibs-devel >= %{version}
  11. BuildRequires: samba-devel
  12. Vendor: Project Vine
  13. Distribution: Vine Linux
  14. Packager: Takemikaduchi
  15. %description
  16. Konqueror properties dialog plugin to share a directory with
  17. the local network.
  18. %prep
  19. %setup -q
  20. %build
  21. mkdir -p %{_target_platform}
  22. pushd %{_target_platform}
  23. %cmake \
  24. -DCMAKE_BUILD_TYPE=release \
  25. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  26. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  27. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  28. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  29. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  30. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  31. ..
  32. popd
  33. make %{?_smp_mflags} -C %{_target_platform}
  34. %install
  35. rm -rf $RPM_BUILD_ROOT
  36. make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
  37. %clean
  38. rm -rf $RPM_BUILD_ROOT
  39. %files
  40. %defattr(-,root,root)
  41. %{_libdir}/kde4/sambausershareplugin.so
  42. %{_datadir}/kde4/services/sambausershareplugin.desktop
  43. %changelog
  44. * Mon Dec 16 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.4-1
  45. - new upstream release
  46. * Sun Sep 15 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 4.11.1-1
  47. - initial build