1 | Name: xfce4-fsguard-plugin |
---|
2 | Summary: Free space checker plugin for the Xfce4 panel |
---|
3 | Summary(ja): Xfce パネル用 空き容量チェッカプラグイン |
---|
4 | Version: 1.0.0 |
---|
5 | Release: 2%{?_dist_release} |
---|
6 | |
---|
7 | Group: User Interface/Desktops |
---|
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.0/%{name}-%{version}.tar.bz2 |
---|
12 | |
---|
13 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
14 | |
---|
15 | BuildRequires: libxfce4util-devel >= 4.4.0 |
---|
16 | BuildRequires: libxfce4ui-devel >= 4.4.0 |
---|
17 | BuildRequires: libxfcegui4-devel >= 4.4.0 |
---|
18 | BuildRequires: xfce4-panel-devel >= 4.4.0 |
---|
19 | |
---|
20 | Vendor: Project Vine |
---|
21 | Distribution: Vine Linux |
---|
22 | Packager: Takemikaduchi |
---|
23 | |
---|
24 | |
---|
25 | %description |
---|
26 | The FSGuard panel plugin checks free space on a chosen mount point |
---|
27 | frequently and displays a message when a limit is reached. There are |
---|
28 | two limits: a warning limit where only the icon changes, and an urgent |
---|
29 | limit that advise the user with a message. The icon button can be |
---|
30 | clicked to open the chosen mount point. |
---|
31 | |
---|
32 | |
---|
33 | %prep |
---|
34 | %setup -q |
---|
35 | |
---|
36 | %build |
---|
37 | %configure --disable-static |
---|
38 | make %{?_smp_mflags} |
---|
39 | |
---|
40 | %install |
---|
41 | rm -rf $RPM_BUILD_ROOT |
---|
42 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
43 | |
---|
44 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
45 | |
---|
46 | %find_lang %{name} |
---|
47 | |
---|
48 | |
---|
49 | %clean |
---|
50 | rm -rf $RPM_BUILD_ROOT |
---|
51 | |
---|
52 | |
---|
53 | %post |
---|
54 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
55 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
56 | |
---|
57 | %postun |
---|
58 | if [ $1 -eq 0 ]; then |
---|
59 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
60 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
61 | fi |
---|
62 | |
---|
63 | |
---|
64 | %files -f %{name}.lang |
---|
65 | %defattr(-,root,root) |
---|
66 | %doc AUTHORS COPYING ChangeLog NEWS README |
---|
67 | %{_libexecdir}/xfce4/panel-plugins/xfce4-fsguard-plugin |
---|
68 | %{_datadir}/icons/hicolor/*/apps/* |
---|
69 | %{_datadir}/xfce4/panel-plugins/fsguard.desktop |
---|
70 | |
---|
71 | %changelog |
---|
72 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.0-2 |
---|
73 | - rebuild with VineSeed environment |
---|
74 | |
---|
75 | * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.0-1 |
---|
76 | - initial build for Vine Linux |
---|
77 | |
---|