source: projects/specs/trunk/x/xfce4-battery-plugin/xfce4-battery-plugin-vl.spec @ 9407

Revision 9407, 2.8 KB checked in by inagaki, 9 years ago (diff)

2015-03-03 Ryoichi INAGAKI <ryo1@…>

  • Xfce panel plugins: rebuilt with libxfce4util 4.12.1

added whiskermenu-plugin


Line 
1Name: xfce4-battery-plugin
2Summary: Battery monitor for the Xfce panel
3Summary(ja): Xfce パネル用 バッテリー監視プラグイン
4Version: 1.0.5
5Release: 2%{?_dist_release}
6
7Group: User Interface/Desktops
8License: GPLv2+ and LGPLv2+
9URL: http://goodies.xfce.org/projects/panel-plugins/%{name}
10
11Source0: http://archive.xfce.org/src/panel-plugins/%{name}/1.0/%{name}-%{version}.tar.bz2
12
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14BuildRequires: glib2-devel >= 2.24.0
15BuildRequires: gtk2-devel >= 2.20.0
16BuildRequires: libxfce4ui-devel >= 4.8.0
17BuildRequires: libxfce4util-devel >= 4.8.0
18BuildRequires: xfce4-panel-devel >= 4.8.0
19BuildRequires: gettext
20BuildRequires: perl-XML-Parser
21Requires: xfce4-panel >= 4.8.0
22Requires(posttrans): gtk2
23Requires(postun): gtk2
24
25Vendor: Project Vine
26Distribution: Vine Linux
27
28%description
29A battery monitor panel plugin for Xfce4, written by Nick Penwarden and
30Edscott Wilson Garcia, compatible with APM and ACPI, for Linux and *BSD.
31
32%description -l ja
33Nick Penwarden と Edscott Wilson Garcia が書いた Xfce4 用のバッテリー監視パネルプラグインです。Linux と *BSD の APM と ACPI で動作します。
34
35%prep
36%setup -q
37
38%build
39%configure --disable-static
40make
41
42%install
43rm -rf $RPM_BUILD_ROOT
44make install DESTDIR=$RPM_BUILD_ROOT
45
46find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
47chmod +x $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.so
48
49%find_lang %{name}
50
51%post
52touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
53
54%posttrans
55gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
56
57%postun
58if [ $1 -eq 0 ] ; then
59    touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
60    gtk-update-icon-cache --quiet %{_datadir}/icons/hicolor || :
61fi
62
63%clean
64rm -rf $RPM_BUILD_ROOT
65
66%files -f %{name}.lang
67%defattr(-,root,root)
68%doc AUTHORS COPYING COPYING.LIB ChangeLog README
69%{_libdir}/xfce4/panel/plugins/libbattery.so
70%{_datadir}/icons/hicolor/*/*/*
71%{_datadir}/xfce4/panel/plugins/battery.desktop
72
73%changelog
74* Mon Mar  2 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.5-2
75- rebuilt with libxfce4util 4.12.1
76
77* Sun Dec 21 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.5-1
78- new upstream release
79
80* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.4-2
81- rebuild with VineSeed environment
82
83* Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.4-1
84- new upstream release
85- remove BuildRequires: libxfcegui4-devel
86- add BuildRequires: libxfce4ui-devel
87
88* Sun May 22 2011 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.0.0-1
89- updated to 1.0.0
90
91* Mon Jan 24 2005 UECHI Yasumasa <uechi@potaway.net> 0.2.0-0vl4
92- build against Xfce 4.2
93
94* Sat Aug 21 2004 UECHI Yasumasa <uechi@potaway.net> 0.2.0-0vl2
95- build for VineSeedPlus
96
97* Sat Aug 21 2004 UECHI Yasumasa <uechi@potaway.net> 0.2.0-0vl1
98- build for VinePlus 3.0
99
Note: See TracBrowser for help on using the repository browser.