]>
Commit | Line | Data |
---|---|---|
1 | Summary: Time Out plugin for the Xfce panel | |
2 | Summary(pl.UTF-8): Wtyczka upływu czasu dla panelu Xfce | |
3 | Name: xfce4-time-out-plugin | |
4 | Version: 1.1.3 | |
5 | Release: 1 | |
6 | License: GPL v2 | |
7 | Group: X11/Applications | |
8 | Source0: http://archive.xfce.org/src/panel-plugins/xfce4-time-out-plugin/1.1/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: 2fef9fbcc9791de30bcceecfde92d4c3 | |
10 | URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-time-out-plugin | |
11 | BuildRequires: autoconf >= 2.50 | |
12 | BuildRequires: automake >= 1:1.8 | |
13 | BuildRequires: glib2-devel >= 2.50.0 | |
14 | BuildRequires: gtk+3-devel >= 3.22.0 | |
15 | BuildRequires: intltool | |
16 | BuildRequires: libxfce4ui-devel | |
17 | BuildRequires: pkgconfig | |
18 | BuildRequires: rpmbuild(macros) >= 1.601 | |
19 | BuildRequires: xfce4-dev-tools >= 4.12.0 | |
20 | BuildRequires: xfce4-panel-devel >= 4.12.0 | |
21 | Requires: gtk-update-icon-cache | |
22 | Requires: hicolor-icon-theme | |
23 | Requires: xfce4-panel >= 4.12.0 | |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
27 | Time Out plugin makes it possible to take periodical breaks from the | |
28 | computer every X minutes. During breaks it locks your screen. It | |
29 | optionally allows you to postpone breaks for a certain time. | |
30 | ||
31 | %description -l pl.UTF-8 | |
32 | Wtyczka Time Out umożliwia robienie regularnych przerw od komputera co | |
33 | każde X minut. W czasie przerw blokuje ekran. Opcjonalnie pozwala | |
34 | odłożyć przerwy na określony czas. | |
35 | ||
36 | %prep | |
37 | %setup -q | |
38 | ||
39 | %build | |
40 | %configure | |
41 | %{__make} | |
42 | ||
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %{__make} install \ | |
47 | DESTDIR=$RPM_BUILD_ROOT | |
48 | ||
49 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.la | |
50 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/{hye,ie,ur_PK} | |
51 | %{__mv} $RPM_BUILD_ROOT%{_datadir}/locale/{hy_AM,hy} | |
52 | ||
53 | %find_lang %{name} | |
54 | ||
55 | %clean | |
56 | rm -rf $RPM_BUILD_ROOT | |
57 | ||
58 | %post | |
59 | %update_icon_cache hicolor | |
60 | ||
61 | %postun | |
62 | %update_icon_cache hicolor | |
63 | ||
64 | %files -f %{name}.lang | |
65 | %defattr(644,root,root,755) | |
66 | %doc AUTHORS ChangeLog NEWS README.md | |
67 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libtime-out.so | |
68 | %{_iconsdir}/hicolor/48x48/apps/*.png | |
69 | %{_iconsdir}/hicolor/scalable/apps/*.svg | |
70 | %{_datadir}/xfce4/panel/plugins/xfce4-time-out-plugin.desktop |