parcellite-vl.spec 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. Name: parcellite
  2. Version: 1.1.7
  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. 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 Apr 12 2014 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.1.7-2
  63. - rebuilt with newtoolchain
  64. * Sat Nov 23 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.1.7-1
  65. - new upstream release
  66. * Sat Aug 10 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.1.6-1
  67. - new upstream release
  68. - set conditional branch for Vine 6
  69. - fix .desktop value
  70. * Sat Jul 20 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.1.5-1
  71. - new upstream release
  72. * Sat Feb 09 2013 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.1.4-1
  73. - new upstream release
  74. * Sun Mar 11 2012 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0.2rc5-1
  75. - new upstream release
  76. * Sat Sep 10 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0.2rc4-1
  77. - new upstream release
  78. * Tue Jun 21 2011 Toshiharu Kudoh <toshi.kd2@gmail.com> - 1.0.2rc2-1
  79. - new upstream release
  80. * Wed Dec 22 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.3-1
  81. - new upstream release
  82. - deleted wrong comment in 0.9.2-2
  83. * Fri May 14 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.2-2
  84. - addd Patch1 from Fedora development to fix DSO linking
  85. - fix Japanese description
  86. * Sat Jan 2 2010 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.2-1
  87. - new upstream release
  88. - dropt Patch0
  89. * Fri Sep 25 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.1-7
  90. - cleaned up spec
  91. - added Patch0 from Debain to fix man page
  92. - added BuildRequires: gettext
  93. * Wed Jul 29 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.1-6vl5
  94. - improved and fixed Japanese description
  95. * Sun Jun 14 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.1-5vl5
  96. - fixed BuildRoot
  97. - cleaned up spec
  98. - added Japanese description
  99. * Sat May 9 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.1-4vl5
  100. - changed Group: Applications/Accessories
  101. - spec in UTF-8
  102. * Sat Mar 21 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.1-3vl5
  103. - enabled autostart again
  104. * Fri Mar 20 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.1-2vl5
  105. - fixed changelog typo
  106. * Thu Mar 19 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9.1-1vl5
  107. - Update to 0.9.1
  108. - added BuildRequires: glib2-devel >= 2.14.0
  109. - dropped Patch0,1
  110. * Sat Feb 28 2009 Toshiharu Kudoh <toshi.kd2@gmail.com> - 0.9-1vl5
  111. - initial build for VineSeed (imported Fedora development Package)
  112. - disabled autostart
  113. * Sun Nov 23 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.9-1
  114. - Update to 0.9
  115. - Fix Control+Click behaviour
  116. - Small corrections to German translation
  117. * Sat Apr 19 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.8-1
  118. - Update to 0.8
  119. * Sat Apr 19 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.7-2
  120. - No longer require lxpanel
  121. - Preserve timestamps during install
  122. - Include NEWS in doc
  123. * Sat Apr 12 2008 Christoph Wickert <cwickert@fedoraproject.org> - 0.7-1
  124. - Initial Fedora RPM