[6284] | 1 | Name: xfce4-time-out-plugin |
---|
| 2 | Summary: Time-out plugin for the Xfce4 panel |
---|
| 3 | Summary(ja): Xfce パネル用 タイムアウトプラグイン |
---|
[9523] | 4 | Version: 1.0.2 |
---|
| 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 |
---|
[9523] | 14 | BuildRequires: gtk2-devel >= 2.8.0 |
---|
[9173] | 15 | BuildRequires: libxfce4ui-devel >= 4.8.0 |
---|
[6284] | 16 | BuildRequires: libxfce4util-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 {} \; |
---|
[9173] | 46 | chmod +x $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.so |
---|
[6284] | 47 | |
---|
| 48 | %find_lang %{name} |
---|
| 49 | |
---|
| 50 | |
---|
| 51 | %clean |
---|
| 52 | rm -rf $RPM_BUILD_ROOT |
---|
| 53 | |
---|
| 54 | |
---|
| 55 | %post |
---|
| 56 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 57 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 58 | |
---|
| 59 | %postun |
---|
| 60 | if [ $1 -eq 0 ]; then |
---|
| 61 | touch --no-create %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 62 | gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || : |
---|
| 63 | fi |
---|
| 64 | |
---|
| 65 | |
---|
| 66 | %files -f %{name}.lang |
---|
| 67 | %defattr(-,root,root) |
---|
| 68 | %doc AUTHORS COPYING ChangeLog NEWS README |
---|
| 69 | %{_libdir}/xfce4/panel/plugins/libtime-out.so |
---|
| 70 | %{_datadir}/icons/hicolor/*/apps/%{name}.* |
---|
| 71 | %{_datadir}/xfce4/panel/plugins/%{name}.desktop |
---|
| 72 | |
---|
| 73 | %changelog |
---|
[9523] | 74 | * Tue Apr 21 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.2-1 |
---|
| 75 | - new upstream release |
---|
| 76 | |
---|
[9407] | 77 | * Mon Mar 2 2015 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.1-4 |
---|
| 78 | - rebuilt with libxfce4util 4.12.1 |
---|
| 79 | |
---|
[9173] | 80 | * Sun Dec 21 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.1-3 |
---|
| 81 | - modified libtime-out.so permission |
---|
| 82 | |
---|
[8073] | 83 | * Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.1-2 |
---|
| 84 | - rebuild with VineSeed environment |
---|
| 85 | |
---|
[6284] | 86 | * Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.1-1 |
---|
| 87 | - initial build for Vine Linux |
---|
| 88 | |
---|