source: projects/specs/trunk/x/xfce4-time-out-plugin/xfce4-time-out-plugin-vl.spec @ 9173

Revision 9173, 2.2 KB checked in by inagaki, 9 years ago (diff)

2014-12-21 Ryoichi INAGAKI <ryo1@…>

  • xfce4 plugins: updated
  • xfce4-panel, xfce4-power-manager, xfdesktop: updated


Line 
1Name:           xfce4-time-out-plugin
2Summary:        Time-out plugin for the Xfce4 panel
3Summary(ja):    Xfce パネル用 タイムアウトプラグイン
4Version:        1.0.1
5Release:        3%{?_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:  libxfce4ui-devel >= 4.8.0
16BuildRequires:  libxfce4util-devel >= 4.8.0
17BuildRequires:  xfce4-panel-devel >= 4.8.0
18
19Vendor:         Project Vine
20Distribution:   Vine Linux
21Packager:       Takemikaduchi
22
23
24%description
25xfce4-time-out-plugin is a plugin for the Xfce panel. It's a
26comfortable tool for taking a break from computer work every now
27and then. You can define a working interval and whenever time
28of this interval has passed your screen is locked for a configurable
29amount of time - which gives you enough time to grab a cup of
30coffee, smoke a cigarette or even do something healthy like eating,
31exercising, cleaning up or whatever.
32
33
34%prep
35%setup -q
36
37%build
38%configure --disable-static
39make %{?_smp_mflags}
40
41%install
42rm -rf $RPM_BUILD_ROOT
43make install DESTDIR=$RPM_BUILD_ROOT
44
45find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
46chmod +x $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.so
47
48%find_lang %{name}
49
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54
55%post
56touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
57gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
58
59%postun
60if [ $1 -eq 0 ]; then
61    touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
62    gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
63fi
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
74* Sun Dec 21 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.0.1-3
75- modified libtime-out.so permission
76
77* Sun Dec 29 2013 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.1-2
78- rebuild with VineSeed environment
79
80* Thu Jun 07 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.0.1-1
81- initial build for Vine Linux
82
Note: See TracBrowser for help on using the repository browser.