source: projects/specs/trunk/x/xfce4-clipman-plugin/xfce4-clipman-plugin-vl.spec @ 3935

Revision 3935, 4.3 KB checked in by inagaki, 13 years ago (diff)

update: xfce4-{battery,clipman,systemload}-plugin
NEW: xfce4-wavelan-plugin

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