clipit-vl.spec 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. Name: clipit
  2. Version: 1.3.11
  3. Release: 1%{?_dist_release}
  4. Summary: lightweight GTK+ clipboard manager
  5. Summary(ja): 軽量な GTK+ クリップボードマネージャ
  6. Group: Applications/Accessories
  7. License: GPLv3
  8. URL: http://gtk%{name}.sourceforge.net/
  9. Source0: %{name}-%{version}.tar.gz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: gtk2-devel >= 2.10.0, glib2-devel >= 2.14.0
  12. BuildRequires: desktop-file-utils, intltool >= 0.23
  13. BuildRequires: gettext
  14. BuildRequires: perl-XML-Parser
  15. %description
  16. ClipIt is a lightweight, fully featured GTK+ clipboard manager.
  17. It was forked from Parcellite (http://parcellite.sourceforge.net),
  18. adding additional features and bugfixes to the project.
  19. %description -l ja
  20. ClipIt は軽量で十分な機能を備えた GTK+ のクリップボードマネージャです。
  21. Parcellite (http://parcellite.sourceforge.net) からフォークし、
  22. プロジェクトに追加機能とバグフィックスを加えています。
  23. %prep
  24. %setup -q
  25. %build
  26. %configure
  27. make %{?_smp_mflags}
  28. %install
  29. rm -rf $RPM_BUILD_ROOT
  30. make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
  31. %find_lang %{name}
  32. desktop-file-install --vendor="" \
  33. --delete-original \
  34. --remove-category=Application \
  35. --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
  36. ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
  37. desktop-file-install --vendor="" \
  38. --dir=${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart/ \
  39. ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart/%{name}-startup.desktop
  40. %clean
  41. rm -rf $RPM_BUILD_ROOT
  42. %files -f %{name}.lang
  43. %defattr(-,root,root,-)
  44. %doc AUTHORS ChangeLog COPYING README NEWS TODO
  45. %config(noreplace) %{_sysconfdir}/xdg/autostart/%{name}-startup.desktop
  46. %{_bindir}/%{name}
  47. %{_datadir}/applications/%{name}.desktop
  48. %{_mandir}/man1/%{name}.1.gz
  49. %changelog
  50. * Wed Jan 12 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.3.11-1
  51. - initial build for VineSeed