xfce4-clipman-plugin-vl.spec 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. Name: xfce4-clipman-plugin
  2. Summary: Clipboard manager plugin for the Xfce panel
  3. Summary(ja): Xfce パネル用クリップボード管理プラグイン
  4. Version: 1.1.3
  5. Release: 2%{?_dist_release}
  6. Group: User Interface/Desktops
  7. License: GPLv2+
  8. URL: http://goodies.xfce.org/projects/panel-plugins/%{name}
  9. Source0: http://archive.xfce.org/src/panel-plugins/%{name}/1.1/%{name}-%{version}.tar.bz2
  10. # https://bugzilla.redhat.com/show_bug.cgi?id=552892
  11. # https://bugzilla.redhat.com/show_bug.cgi?id=552895
  12. # fixed with a rebased version of
  13. # http://git.xfce.org/panel-plugins/xfce4-clipman-plugin/commit/?id=d06e35ee62a0477adc84b5d7aeb29e348bb0b813
  14. Patch0: xfce4-clipman-plugin-1.1.3-fix-possible-NULL-values.patch
  15. #
  16. # build with 4.7.x exo
  17. # http://bugzilla.xfce.org/show_bug.cgi?id=6853
  18. #
  19. Patch1: xfce4-clipman-plugin-1.1.3-use-exo.patch
  20. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  21. BuildRequires: libxfcegui4-devel >= 4.4.0
  22. BuildRequires: xfce4-panel-devel >= 4.4.0
  23. BuildRequires: libexo-devel >= 0.3.0
  24. BuildRequires: libglade2-devel >= 2.6.0
  25. BuildRequires: xfconf-devel >= 4.6.0
  26. BuildRequires: unique-devel >= 1.0.0
  27. BuildRequires: gettext, intltool, desktop-file-utils
  28. Requires: xfce4-panel >= 4.4.0
  29. %description
  30. xfce4-clipman is a clipboard history plugin for the Xfce4 panel.
  31. %description -l ja
  32. xfce4-clipman は Xfce パネル用のクリップボード履歴管理プラグインです.
  33. %prep
  34. %setup -q
  35. %patch0 -p1 -b .null-value
  36. %if %{?_dist_release} != "vl5"
  37. %patch1 -p1 -b .exo-build
  38. %endif
  39. %build
  40. %configure --disable-static
  41. make %{?_smp_mflags}
  42. %install
  43. rm -rf $RPM_BUILD_ROOT
  44. make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install-strip
  45. %find_lang %{name}
  46. desktop-file-install \
  47. --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
  48. --add-category=X-Xfce \
  49. --delete-original \
  50. ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
  51. desktop-file-install \
  52. --dir ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart \
  53. --add-category=X-Xfce \
  54. --delete-original \
  55. ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart/%{name}-autostart.desktop
  56. %clean
  57. rm -rf $RPM_BUILD_ROOT
  58. %post
  59. touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
  60. %postun
  61. if [ $1 -eq 0 ] ; then
  62. touch --no-create %{_datadir}/icons/hicolor &>/dev/null
  63. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  64. fi
  65. %posttrans
  66. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  67. %files -f %{name}.lang
  68. %defattr(-,root,root)
  69. %doc AUTHORS COPYING ChangeLog NEWS README TODO
  70. %{_libexecdir}/xfce4/panel-plugins/%{name}
  71. %config %{_sysconfdir}/xdg/autostart/%{name}-autostart.desktop
  72. %config(noreplace) %{_sysconfdir}/xdg/xfce4/panel/xfce4-clipman-actions.xml
  73. %{_bindir}/xfce4-clipman
  74. %{_bindir}/xfce4-clipman-settings
  75. %{_bindir}/xfce4-popup-clipman
  76. %{_datadir}/applications/%{name}.desktop
  77. %{_datadir}/icons/hicolor/*/apps/%{name}.*
  78. %{_datadir}/xfce4/doc/*/images/clipman-*.png
  79. %{_datadir}/xfce4/doc/*/%{name}.html
  80. %{_datadir}/xfce4/panel-plugins/%{name}.desktop
  81. %changelog
  82. * Sun May 22 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.3-2
  83. - do not apply Patch1 on Vine Linux 5
  84. * Sun May 22 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.3-1
  85. - updated to 1.1.3
  86. - added Patch1 from Fedora for building with new libexo
  87. - added BR: unique-devel
  88. * Mon Oct 27 2008 Shu KONNO <owa@bg.wakwak.com> 0.8.0-2vl5
  89. - applied new versioning policy, spec in utf-8
  90. * Sun Oct 14 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.8.0-1vl2
  91. - upstream release
  92. - remove unnecessary Requires and Packager macro
  93. - whole rewrite %%files section
  94. * Sun Jan 23 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.4.1-1vl3
  95. - rebuild with XFce 4.2.0 packages
  96. - changed required version number of xfce4-panel
  97. * Fri Oct 22 2004 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.4.1-1vl2
  98. - rebuild for VineSeed
  99. * Thu Oct 21 2004 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.4.1-1vl1
  100. - initial build for Vine Linux
  101. - spec file from http://download.berlios.de/xfce-goodies/xfce4-clipman-plugin-0.4.0-1suse82.src.rpm
  102. - change Packager
  103. - change spec file name
  104. - fix URL, License
  105. - add BuildRequires: libxfcegui4-devel, gtk2-devel, libxfce4util-devel,
  106. zlib-devel, libxml2-devel, XOrg-devel, atk-devel, glibs-devel, pango-devel
  107. - add Requires: XOrg-libs, atk, gtk2, glib2, pango, libxfcegui4, libxfce4util,
  108. libxml2, zlib