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