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.2.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.2/%{name}-%{version}.tar.bz2
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: gtk2-devel >= 2.14
  12. BuildRequires: libxfce4util-devel >= 4.8.0
  13. BuildRequires: libxfce4ui-devel >= 4.8.0
  14. BuildRequires: xfce4-panel-devel >= 4.8.0
  15. BuildRequires: libexo-devel >= 0.6.0
  16. BuildRequires: xfconf-devel >= 4.8.0
  17. BuildRequires: xorg-x11-proto-devel
  18. BuildRequires: libXtst-devel
  19. BuildRequires: unique-devel
  20. BuildRequires: gettext, intltool, desktop-file-utils
  21. Requires: xfce4-panel >= 4.4.0
  22. %description
  23. xfce4-clipman is a clipboard history plugin for the Xfce4 panel.
  24. %description -l ja
  25. xfce4-clipman は Xfce パネル用のクリップボード履歴管理プラグインです.
  26. %prep
  27. %setup -q
  28. %build
  29. %configure --disable-static
  30. make %{?_smp_mflags}
  31. %install
  32. rm -rf $RPM_BUILD_ROOT
  33. make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install-strip
  34. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  35. %find_lang %{name}
  36. desktop-file-install \
  37. --dir ${RPM_BUILD_ROOT}%{_datadir}/applications \
  38. --add-category=X-Xfce \
  39. --delete-original \
  40. ${RPM_BUILD_ROOT}%{_datadir}/applications/xfce4-clipman.desktop
  41. desktop-file-install \
  42. --dir ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart \
  43. --add-category=X-Xfce \
  44. --delete-original \
  45. ${RPM_BUILD_ROOT}%{_sysconfdir}/xdg/autostart/%{name}-autostart.desktop
  46. %clean
  47. rm -rf $RPM_BUILD_ROOT
  48. %post
  49. touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
  50. %postun
  51. if [ $1 -eq 0 ] ; then
  52. touch --no-create %{_datadir}/icons/hicolor &>/dev/null
  53. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  54. fi
  55. %posttrans
  56. gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
  57. %files -f %{name}.lang
  58. %defattr(-,root,root)
  59. %doc AUTHORS COPYING ChangeLog NEWS README TODO
  60. %config %{_sysconfdir}/xdg/autostart/%{name}-autostart.desktop
  61. %config(noreplace) %{_sysconfdir}/xdg/xfce4/panel/xfce4-clipman-actions.xml
  62. %{_bindir}/xfce4-clipman
  63. %{_bindir}/xfce4-clipman-settings
  64. %{_bindir}/xfce4-popup-clipman
  65. %{_libdir}/xfce4/panel/plugins/libclipman.so
  66. %{_datadir}/applications/xfce4-clipman.desktop
  67. %{_datadir}/icons/hicolor/*/apps/%{name}.*
  68. %{_datadir}/xfce4/panel/plugins/%{name}.desktop
  69. %{_docdir}/%{name}/html
  70. %changelog
  71. * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.2.3-1
  72. - new upstream release
  73. - remove BuildRequires: libxfcegui4-devel, libglade2-devel
  74. - add BuildRequires: gtk2-devel, libxfce4util-devel, libxfce4ui-devel, xorg-x11-proto-devel, libXtst-devel
  75. - remove old patches
  76. * Sun May 22 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.3-2
  77. - do not apply Patch1 on Vine Linux 5
  78. * Sun May 22 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.1.3-1
  79. - updated to 1.1.3
  80. - added Patch1 from Fedora for building with new libexo
  81. - added BR: unique-devel
  82. * Mon Oct 27 2008 Shu KONNO <owa@bg.wakwak.com> 0.8.0-2vl5
  83. - applied new versioning policy, spec in utf-8
  84. * Sun Oct 14 2007 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.8.0-1vl2
  85. - upstream release
  86. - remove unnecessary Requires and Packager macro
  87. - whole rewrite %%files section
  88. * Sun Jan 23 2005 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.4.1-1vl3
  89. - rebuild with XFce 4.2.0 packages
  90. - changed required version number of xfce4-panel
  91. * Fri Oct 22 2004 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.4.1-1vl2
  92. - rebuild for VineSeed
  93. * Thu Oct 21 2004 KANEKO Seiji <giraffe@m2.pbc.ne.jp> 0.4.1-1vl1
  94. - initial build for Vine Linux
  95. - spec file from http://download.berlios.de/xfce-goodies/xfce4-clipman-plugin-0.4.0-1suse82.src.rpm
  96. - change Packager
  97. - change spec file name
  98. - fix URL, License
  99. - add BuildRequires: libxfcegui4-devel, gtk2-devel, libxfce4util-devel,
  100. zlib-devel, libxml2-devel, XOrg-devel, atk-devel, glibs-devel, pango-devel
  101. - add Requires: XOrg-libs, atk, gtk2, glib2, pango, libxfcegui4, libxfce4util,
  102. libxml2, zlib