]>
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 |
1543fa75 | 4 | Version: 1.0.0 |
f65fa011 | 5 | Release: 2 |
560f6fbd MB |
6 | License: GPL v2 |
7 | Group: X11/Applications | |
1543fa75 MB |
8 | Source0: http://archive.xfce.org/src/panel-plugins/xfce4-time-out-plugin/1.0/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: ef50a3fd45c169943acc8af93604d9fd | |
f65fa011 | 10 | Patch0: %{name}-ui.patch |
560f6fbd MB |
11 | URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-time-out-plugin |
12 | BuildRequires: autoconf >= 2.50 | |
13 | BuildRequires: automake >= 1:1.8 | |
b5ef411a | 14 | BuildRequires: gtk+2-devel >= 2:2.8.0 |
560f6fbd | 15 | BuildRequires: intltool |
f65fa011 | 16 | BuildRequires: libxfce4ui-devel |
b5ef411a | 17 | BuildRequires: pkgconfig |
1543fa75 | 18 | BuildRequires: rpmbuild(macros) >= 1.601 |
560f6fbd MB |
19 | BuildRequires: xfce4-dev-tools >= 4.4.0 |
20 | BuildRequires: xfce4-panel-devel >= 4.4.0 | |
1543fa75 MB |
21 | Requires: gtk-update-icon-cache |
22 | Requires: hicolor-icon-theme | |
560f6fbd MB |
23 | Requires: xfce4-panel >= 4.4.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 | ||
ce778e2b JB |
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 | ||
560f6fbd MB |
36 | %prep |
37 | %setup -q | |
f65fa011 | 38 | %patch0 -p1 |
560f6fbd MB |
39 | |
40 | %build | |
41 | %{__intltoolize} | |
42 | %{__aclocal} | |
43 | %{__autoconf} | |
44 | %{__autoheader} | |
45 | %{__automake} | |
46 | %configure | |
47 | %{__make} | |
48 | ||
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %{__make} install \ | |
53 | DESTDIR=$RPM_BUILD_ROOT | |
54 | ||
1543fa75 MB |
55 | %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/ur_PK |
56 | ||
560f6fbd MB |
57 | %find_lang %{name} |
58 | ||
59 | %clean | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %post | |
63 | %update_icon_cache hicolor | |
64 | ||
65 | %postun | |
66 | %update_icon_cache hicolor | |
67 | ||
68 | %files -f %{name}.lang | |
69 | %defattr(644,root,root,755) | |
1543fa75 | 70 | %doc AUTHORS ChangeLog NEWS README THANKS |
560f6fbd MB |
71 | %attr(755,root,root) %{_libdir}/xfce4/panel-plugins/xfce4-time-out-plugin |
72 | %{_iconsdir}/hicolor/48x48/apps/*.png | |
73 | %{_iconsdir}/hicolor/scalable/apps/*.svg | |
74 | %{_datadir}/xfce4/panel-plugins/xfce4-time-out-plugin.desktop |