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

Revision 3939, 4.4 KB checked in by inagaki, 13 years ago (diff)

update: xfce4-clipman-plugin
NEW: xfce4-{quicklauncher, weather, xkb}-plugin

Line 
1Name:           xfce4-clipman-plugin
2Summary:        Clipboard manager plugin for the Xfce panel
3Summary(ja):    Xfce パネル用クリップボード管理プラグイン
4Version:        1.1.3
5Release:        2%{?_dist_release}
6
7Group:          User Interface/Desktops
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
24BuildRoot:      %{_tmppath}/%{name}-%{version}-root
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
33
34%description
35xfce4-clipman is a clipboard history plugin for the Xfce4 panel.
36
37%description -l ja
38xfce4-clipman は Xfce パネル用のクリップボード履歴管理プラグインです.
39
40%prep
41%setup -q
42%patch0 -p1 -b .null-value
43%if %{?_dist_release} != "vl5"
44%patch1 -p1 -b .exo-build
45%endif
46
47%build
48%configure --disable-static
49make %{?_smp_mflags}
50
51%install
52rm -rf $RPM_BUILD_ROOT
53make DESTDIR=$RPM_BUILD_ROOT mandir=%{_mandir} install-strip
54
55%find_lang %{name}
56
57desktop-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
63desktop-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
69%clean
70rm -rf $RPM_BUILD_ROOT
71
72%post
73touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
74
75%postun
76if [ $1 -eq 0 ] ; then
77    touch --no-create %{_datadir}/icons/hicolor &>/dev/null
78    gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
79fi
80
81%posttrans
82gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
83
84
85%files -f %{name}.lang
86%defattr(-,root,root)
87%doc AUTHORS COPYING ChangeLog NEWS README TODO
88%{_libexecdir}/xfce4/panel-plugins/%{name}
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
99
100%changelog
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
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
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
Note: See TracBrowser for help on using the repository browser.