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