source: projects/specs/trunk/x/xfce4-fsguard-plugin/xfce4-fsguard-plugin-vl.spec @ 8073

Revision 8073, 2.0 KB checked in by Takemikaduchi, 10 years ago (diff)

new upstream release or rebuild

Line 
1Name:           xfce4-fsguard-plugin
2Summary:        Free space checker plugin for the Xfce4 panel
3Summary(ja):    Xfce パネル用 空き容量チェッカプラグイン
4Version:        1.0.0
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.0/%{name}-%{version}.tar.bz2
12
13BuildRoot:      %{_tmppath}/%{name}-%{version}-root
14
15BuildRequires:  libxfce4util-devel >= 4.4.0
16BuildRequires:  libxfce4ui-devel >= 4.4.0
17BuildRequires:  libxfcegui4-devel >= 4.4.0
18BuildRequires:  xfce4-panel-devel >= 4.4.0
19
20Vendor:         Project Vine
21Distribution:   Vine Linux
22Packager:       Takemikaduchi
23
24
25%description
26The FSGuard panel plugin checks free space on a chosen mount point
27frequently and displays a message when a limit is reached.  There are
28two limits: a warning limit where only the icon changes, and an urgent
29limit that advise the user with a message.  The icon button can be
30clicked to open the chosen mount point.
31
32
33%prep
34%setup -q
35
36%build
37%configure --disable-static
38make %{?_smp_mflags}
39
40%install
41rm -rf $RPM_BUILD_ROOT
42make install DESTDIR=$RPM_BUILD_ROOT
43
44find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
45
46%find_lang %{name}
47
48
49%clean
50rm -rf $RPM_BUILD_ROOT
51
52
53%post
54touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
55gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
56
57%postun
58if [ $1 -eq 0 ]; then
59    touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
60    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
61fi
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
Note: See TracBrowser for help on using the repository browser.