clipit-vl.spec 2.2 KB

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