]> git.pld-linux.org Git - packages/xfce4-time-out-plugin.git/blob - xfce4-time-out-plugin.spec
9821b5fa7797bc8add595bba5c29b3ce9380751e
[packages/xfce4-time-out-plugin.git] / xfce4-time-out-plugin.spec
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.1
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:  3087b3248e427822613e5583784b0ac0
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:  gtk+2-devel >= 2:2.24.0
14 BuildRequires:  intltool
15 BuildRequires:  libxfce4ui-devel
16 BuildRequires:  pkgconfig
17 BuildRequires:  rpmbuild(macros) >= 1.601
18 BuildRequires:  xfce4-dev-tools >= 4.12.0
19 BuildRequires:  xfce4-panel-devel >= 4.12.0
20 Requires:       gtk-update-icon-cache
21 Requires:       hicolor-icon-theme
22 Requires:       xfce4-panel >= 4.12.0
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
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
35 %prep
36 %setup -q
37
38 %build
39 %configure
40 %{__make}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.la
49 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/hye
50 %{__rm} -r $RPM_BUILD_ROOT%{_datadir}/locale/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 THANKS
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
This page took 0.032358 seconds and 2 git commands to generate.