parcellite-vl.spec 5.6 KB

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