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