xfce4-clipman-plugin-vl.spec 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  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: 1%{?_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. %patch1 -p1 -b .exo-build
  37. %build
  38. %configure --disable-static
  39. make %{?_smp_mflags}
  40. %install
  41. rm -rf $RPM_BUILD_ROOT
  42. make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install-strip
  43. %find_lang %{name}
  44. desktop-file-install \
  45. --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
  46. --add-category=X-Xfce \
  47. --delete-original \
  48. ${RPM_BUILD_ROOT}%{_datadir}/applications/%{name}.desktop
  49. desktop-file-install \
  50. --dir ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart \
  51. --add-category=X-Xfce \
  52. --delete-original \
  53. ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart/%{name}-autostart.desktop
  54. %clean
  55. rm -rf $RPM_BUILD_ROOT
  56. %post
  57. touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
  58. %postun
  59. if [ $1 -eq 0 ] ; then
  60. touch --no-create %{_datadir}/icons/hicolor &>/dev/null
  61. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  62. fi
  63. %posttrans
  64. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  65. %files -f %{name}.lang
  66. %defattr(-,root,root)
  67. %doc AUTHORS COPYING ChangeLog NEWS README TODO
  68. %{_libexecdir}/xfce4/panel-plugins/%{name}
  69. %config %{_sysconfdir}/xdg/autostart/%{name}-autostart.desktop
  70. %config(noreplace) %{_sysconfdir}/xdg/xfce4/panel/xfce4-clipman-actions.xml
  71. %{_bindir}/xfce4-clipman
  72. %{_bindir}/xfce4-clipman-settings
  73. %{_bindir}/xfce4-popup-clipman
  74. %{_datadir}/applications/%{name}.desktop
  75. %{_datadir}/icons/hicolor/*/apps/%{name}.*
  76. %{_datadir}/xfce4/doc/*/images/clipman-*.png
  77. %{_datadir}/xfce4/doc/*/%{name}.html
  78. %{_datadir}/xfce4/panel-plugins/%{name}.desktop
  79. %changelog
  80. * Sun May 22 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.3-1
  81. - updated to 1.1.3
  82. - added Patch1 from Fedora for building with new libexo
  83. - added BR: unique-devel
  84. * Mon Oct 27 2008 Shu KONNO <owa@bg.wakwak.com> 0.8.0-2vl5
  85. - applied new versioning policy, spec in utf-8
  86. * Sun Oct 14 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.8.0-1vl2
  87. - upstream release
  88. - remove unnecessary Requires and Packager macro
  89. - whole rewrite %%files section
  90. * Sun Jan 23 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.4.1-1vl3
  91. - rebuild with XFce 4.2.0 packages
  92. - changed required version number of xfce4-panel
  93. * Fri Oct 22 2004 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.4.1-1vl2
  94. - rebuild for VineSeed
  95. * Thu Oct 21 2004 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.4.1-1vl1
  96. - initial build for Vine Linux
  97. - spec file from http://download.berlios.de/xfce-goodies/xfce4-clipman-plugin-0.4.0-1suse82.src.rpm
  98. - change Packager
  99. - change spec file name
  100. - fix URL, License
  101. - add BuildRequires: libxfcegui4-devel, gtk2-devel, libxfce4util-devel,
  102. zlib-devel, libxml2-devel, XOrg-devel, atk-devel, glibs-devel, pango-devel
  103. - add Requires: XOrg-libs, atk, gtk2, glib2, pango, libxfcegui4, libxfce4util,
  104. libxml2, zlib