parcellite-vl.spec 5.2 KB

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