[6284] | 1 | Name: xfce4-time-out-plugin |
---|
| 2 | Summary: Time-out plugin for the Xfce4 panel |
---|
| 3 | Summary(ja): Xfce パネル用 タイムアウトプラグイン |
---|
| 4 | Version: 1.0.1 |
---|
| 5 | Release: 1%{?_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.8.0 |
---|
| 16 | BuildRequires: libxfce4ui-devel >= 4.8.0 |
---|
| 17 | BuildRequires: xfce4-panel-devel >= 4.8.0 |
---|
| 18 | |
---|
| 19 | Vendor: Project Vine |
---|
| 20 | Distribution: Vine Linux |
---|
| 21 | Packager: Takemikaduchi |
---|
| 22 | |
---|
| 23 | |
---|
| 24 | %description |
---|
| 25 | xfce4-time-out-plugin is a plugin for the Xfce panel. It's a |
---|
| 26 | comfortable tool for taking a break from computer work every now |
---|
| 27 | and then. You can define a working interval and whenever time |
---|
| 28 | of this interval has passed your screen is locked for a configurable |
---|
| 29 | amount of time - which gives you enough time to grab a cup of |
---|
| 30 | coffee, smoke a cigarette or even do something healthy like eating, |
---|
| 31 | exercising, cleaning up or whatever. |
---|
| 32 | |
---|
| 33 | |
---|
| 34 | %prep |
---|
| 35 | %setup -q |
---|
| 36 | |
---|
| 37 | %build |
---|
| 38 | %configure --disable-static |
---|
| 39 | make %{?_smp_mflags} |
---|
| 40 | |
---|
| 41 | %install |
---|
| 42 | rm -rf $RPM_BUILD_ROOT |
---|
| 43 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
| 44 | |
---|
| 45 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
| 46 | |
---|
| 47 | %find_lang %{name} |
---|
| 48 | |
---|
| 49 | |
---|
| 50 | %clean |
---|
| 51 | rm -rf $RPM_BUILD_ROOT |
---|
| 52 | |
---|
| 53 | |
---|
| 54 | %post |
---|
| 55 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 56 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 57 | |
---|
| 58 | %postun |
---|
| 59 | if [ $1 -eq 0 ]; then |
---|
| 60 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 61 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 62 | fi |
---|
| 63 | |
---|
| 64 | |
---|
| 65 | %files -f %{name}.lang |
---|
| 66 | %defattr(-,root,root) |
---|
| 67 | %doc AUTHORS COPYING ChangeLog NEWS README |
---|
| 68 | %{_libdir}/xfce4/panel/plugins/libtime-out.so |
---|
| 69 | %{_datadir}/icons/hicolor/*/apps/%{name}.* |
---|
| 70 | %{_datadir}/xfce4/panel/plugins/%{name}.desktop |
---|
| 71 | |
---|
| 72 | %changelog |
---|
| 73 | * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.1-1 |
---|
| 74 | - initial build for Vine Linux |
---|
| 75 | |
---|