nepomukcontroller-vl.spec 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. Name: nepomukcontroller
  2. Summary: Applet to control the Nepomuk file indexer
  3. Version: 0.2
  4. Release: 3%{?_dist_release}
  5. Group: Applications/System
  6. License: LGPLv2
  7. URL: http://kde-apps.org/content/show.php?content=137088
  8. Source0: http://kde-apps.org/CONTENT/content-files/137088-%{name}-%{version}.tar.bz2
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: kdelibs-devel >= 4.5.80
  11. BuildRequires: kdebase-runtime
  12. #{?_kde4_macros_api:Requires: kde4-macros(api) = %{_kde4_macros_api} }
  13. %description
  14. Nepomukcontroller is a small systray applet that allows you to
  15. suspend and resume the Nepomuk file indexer.
  16. %prep
  17. %setup -q -n %{name}-%{version}
  18. %build
  19. mkdir -p %{_target_platform}
  20. pushd %{_target_platform}
  21. %cmake \
  22. -DCMAKE_BUILD_TYPE=release \
  23. -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \
  24. -DDATA_INSTALL_DIR:PATH=%{_datadir}/kde4/apps \
  25. -DINCLUDE_INSTALL_DIR:PATH=%{_includedir}/kde4 \
  26. -DLIB_INSTALL_DIR:PATH=%{_libdir} \
  27. -DLIBEXEC_INSTALL_DIR:PATH=%{_libexecdir}/kde4 \
  28. -DSYSCONF_INSTALL_DIR:PATH=%{_sysconfdir} \
  29. ..
  30. popd
  31. make %{?_smp_mflags} -C %{_target_platform}
  32. %install
  33. rm -rf %{buildroot}
  34. make install/fast -C %{_target_platform} DESTDIR=%{buildroot}
  35. desktop-file-validate %{buildroot}/%{_datadir}/applications/kde4/nepomukcontroller.desktop
  36. %clean
  37. rm -rf $RPM_BUILD_ROOT
  38. %files
  39. %defattr(-,root,root,-)
  40. %{_bindir}/nepomukcontroller
  41. %{_datadir}/applications/kde4/nepomukcontroller.desktop
  42. %changelog
  43. * Sun Feb 13 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.2-3
  44. - initial package for Vine
  45. * Tue Jan 18 2011 Jaroslav Reznik <jreznik@redhat.com> - 0.2-2
  46. - fix license to LGPLv2 only
  47. * Thu Jan 06 2011 Jaroslav Reznik <jreznik@redhat.com> - 0.2-1
  48. - initial package