xfce4-clipman-plugin-vl.spec 4.7 KB

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