parcellite-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. Name: parcellite
  2. Version: 0.9.2
  3. Release: 2%{?_dist_release}
  4. Summary: A lightweight GTK+ clipboard manager
  5. Summary(ja): 軽量な GTK+ クリップボードマネージャ
  6. Group: Applications/Accessories
  7. License: GPLv3+
  8. URL: http://%{name}.sourceforge.net/
  9. Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
  10. #Patch0: 01_fix_man_page.patch
  11. Patch1: parcellite-0.9.2-dsofix.patch
  12. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  13. BuildRequires: gtk2-devel >= 2.10.0, glib2-devel >= 2.14.0
  14. BuildRequires: desktop-file-utils, intltool >= 0.23
  15. BuildRequires: gettext
  16. %description
  17. Parcellite is a stripped down, basic-features-only clipboard manager with a
  18. small memory footprint for those who like simplicity.
  19. In GNOME and Xfce the clipboard manager will be started automatically. For
  20. other desktops or window managers you should also install a panel with a
  21. system tray or notification area if you want to use this package.
  22. %description -l ja
  23. Parcellite はシンプルさを好む人々のための使用メモリ量が小さい
  24. 洗練された基礎的機能のみのクリップボードマネージャです。
  25. GNOME と Xfce ではクリップボードマネージャは自動的に起動します。
  26. あなたがこのパッケージを使用したいのなら、他のデスクトップ或いは
  27. ウィンドウマネージャのために、システムトレイ或いは通知領域のある
  28. パネルをインストールしなければなりません。
  29. %prep
  30. %setup -q
  31. #%patch0 -p1
  32. %patch1 -p1 -b .dsofix
  33. %build
  34. %configure
  35. make %{?_smp_mflags}
  36. %install
  37. rm -rf $RPM_BUILD_ROOT
  38. make install DESTDIR=$RPM_BUILD_ROOT INSTALL='install -p'
  39. %find_lang %{name}
  40. desktop-file-install --vendor="vine" \
  41. --delete-original \
  42. --remove-category=Application \
  43. --dir=${RPM_BUILD_ROOT}%{_datadir}/applications \
  44. ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
  45. desktop-file-install --vendor="vine" \
  46. --delete-original \
  47. --add-category=TrayIcon \
  48. --dir=${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart/ \
  49. ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart/%{name}-startup.desktop
  50. %clean
  51. rm -rf $RPM_BUILD_ROOT
  52. %files -f %{name}.lang
  53. %defattr(-,root,root,-)
  54. %doc AUTHORS ChangeLog COPYING README NEWS
  55. %config(noreplace) %{_sysconfdir}/xdg/autostart/vine-%{name}-startup.desktop
  56. %{_bindir}/%{name}
  57. %{_datadir}/applications/vine-%{name}.desktop
  58. %{_mandir}/man1/%{name}.1.gz
  59. %changelog
  60. * Fri May 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.2-2
  61. - new upstream release
  62. - addd Patch1 from Fedora development to fix DSO linking
  63. - fix Japanese description
  64. * Sat Jan 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.2-1
  65. - new upstream release
  66. - dropt Patch0
  67. * Fri Sep 25 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.1-7
  68. - cleaned up spec
  69. - added Patch0 from Debain to fix man page
  70. - added BuildRequires: gettext
  71. * Wed Jul 29 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.1-6vl5
  72. - improved and fixed Japanese description
  73. * Sun Jun 14 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.1-5vl5
  74. - fixed BuildRoot
  75. - cleaned up spec
  76. - added Japanese description
  77. * Sat May 9 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.1-4vl5
  78. - changed Group: Applications/Accessories
  79. - spec in UTF-8
  80. * Sat Mar 21 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.1-3vl5
  81. - enabled autostart again
  82. * Fri Mar 20 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.1-2vl5
  83. - fixed changelog typo
  84. * Thu Mar 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.1-1vl5
  85. - Update to 0.9.1
  86. - added BuildRequires: glib2-devel >= 2.14.0
  87. - dropped Patch0,1
  88. * Sat Feb 28 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9-1vl5
  89. - initial build for VineSeed (imported Fedora development Package)
  90. - disabled autostart
  91. * Sun Nov 23 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.9-1
  92. - Update to 0.9
  93. - Fix Control+Click behaviour
  94. - Small corrections to German translation
  95. * Sat Apr 19 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.8-1
  96. - Update to 0.8
  97. * Sat Apr 19 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.7-2
  98. - No longer require lxpanel
  99. - Preserve timestamps during install
  100. - Include NEWS in doc
  101. * Sat Apr 12 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.7-1
  102. - Initial Fedora RPM