nepomukcontroller-vl.spec 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. Name: nepomukcontroller
  2. Summary: Applet to control the Nepomuk file indexer
  3. Version: 0.2
  4. Release: 4%{?_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. BuildRequires: shared-desktop-ontologies-devel
  13. BuildRequires: soprano-devel
  14. #{?_kde4_macros_api:Requires: kde4-macros(api) = %{_kde4_macros_api} }
  15. %description
  16. Nepomukcontroller is a small systray applet that allows you to
  17. suspend and resume the Nepomuk file indexer.
  18. %prep
  19. %setup -q -n %{name}-%{version}
  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 %{buildroot}
  36. make install/fast -C %{_target_platform} DESTDIR=%{buildroot}
  37. desktop-file-validate %{buildroot}/%{_datadir}/applications/kde4/nepomukcontroller.desktop
  38. %clean
  39. rm -rf $RPM_BUILD_ROOT
  40. %files
  41. %defattr(-,root,root,-)
  42. %{_bindir}/nepomukcontroller
  43. %{_datadir}/applications/kde4/nepomukcontroller.desktop
  44. %changelog
  45. * Sun Feb 27 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.2-4
  46. - added BR: shared-desktop-ontologies-devel, soprano-devel
  47. * Sun Feb 13 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.2-3
  48. - initial package for Vine
  49. * Tue Jan 18 2011 Jaroslav Reznik <jreznik@redhat.com> - 0.2-2
  50. - fix license to LGPLv2 only
  51. * Thu Jan 06 2011 Jaroslav Reznik <jreznik@redhat.com> - 0.2-1
  52. - initial package