parcellite-vl.spec 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. Name: parcellite
  2. Version: 0.9.3
  3. Release: 1%{?_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. * Tue Dec 22 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.3-1
  61. - new upstream release
  62. - deleted wrong comment in 0.9.2-2
  63. * Fri May 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.2-2
  64. - addd Patch1 from Fedora development to fix DSO linking
  65. - fix Japanese description
  66. * Sat Jan 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.2-1
  67. - new upstream release
  68. - dropt Patch0
  69. * Fri Sep 25 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.1-7
  70. - cleaned up spec
  71. - added Patch0 from Debain to fix man page
  72. - added BuildRequires: gettext
  73. * Wed Jul 29 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.1-6vl5
  74. - improved and fixed Japanese description
  75. * Sun Jun 14 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.1-5vl5
  76. - fixed BuildRoot
  77. - cleaned up spec
  78. - added Japanese description
  79. * Sat May 9 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.1-4vl5
  80. - changed Group: Applications/Accessories
  81. - spec in UTF-8
  82. * Sat Mar 21 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.1-3vl5
  83. - enabled autostart again
  84. * Fri Mar 20 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.1-2vl5
  85. - fixed changelog typo
  86. * Thu Mar 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.1-1vl5
  87. - Update to 0.9.1
  88. - added BuildRequires: glib2-devel >= 2.14.0
  89. - dropped Patch0,1
  90. * Sat Feb 28 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9-1vl5
  91. - initial build for VineSeed (imported Fedora development Package)
  92. - disabled autostart
  93. * Sun Nov 23 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.9-1
  94. - Update to 0.9
  95. - Fix Control+Click behaviour
  96. - Small corrections to German translation
  97. * Sat Apr 19 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.8-1
  98. - Update to 0.8
  99. * Sat Apr 19 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.7-2
  100. - No longer require lxpanel
  101. - Preserve timestamps during install
  102. - Include NEWS in doc
  103. * Sat Apr 12 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.7-1
  104. - Initial Fedora RPM