]>
Commit | Line | Data |
---|---|---|
ed718033 | 1 | Summary: Xfce panel timer plugin |
18aa3601 | 2 | Summary(pl.UTF-8): Wtyczka panelu Xfce odliczająca czas |
ed718033 | 3 | Name: xfce4-timer-plugin |
44a1563e | 4 | Version: 1.7.2 |
3dce9729 | 5 | Release: 1 |
ed718033 JK |
6 | License: GPL |
7 | Group: X11/Applications | |
3dce9729 | 8 | Source0: http://archive.xfce.org/src/panel-plugins/xfce4-timer-plugin/1.7/%{name}-%{version}.tar.bz2 |
44a1563e | 9 | # Source0-md5: 7ef3c9ed6829ce810b26801f5ab6907a |
bc1401d8 MB |
10 | URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-timer-plugin |
11 | BuildRequires: autoconf >= 2.50 | |
12 | BuildRequires: automake | |
13 | BuildRequires: intltool | |
14 | BuildRequires: libtool | |
2255dd12 | 15 | BuildRequires: libxfce4ui-devel |
ed718033 | 16 | BuildRequires: pkgconfig |
3dce9729 JR |
17 | BuildRequires: xfce4-dev-tools >= 4.14.0 |
18 | BuildRequires: xfce4-panel-devel >= 4.14.0 | |
19 | Requires: xfce4-panel >= 4.14.0 | |
ed718033 JK |
20 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
21 | ||
22 | %description | |
23 | This is a simple plugin that lets the user run an alarm at a specified | |
24 | time or at the end of a specified countdown period. | |
25 | ||
c5cf29de JR |
26 | %description -l pl.UTF-8 |
27 | Wtyczka ta pozwala na powiadamianie o zdefiniowanym wcześniej | |
28 | zdarzeniu, bądź po upływie określonego odcinka czasu. | |
ed718033 JK |
29 | |
30 | %prep | |
31 | %setup -q | |
32 | ||
33 | %build | |
bc1401d8 MB |
34 | %{__libtoolize} |
35 | %{__aclocal} | |
36 | %{__autoconf} | |
37 | %{__autoheader} | |
38 | %{__automake} | |
ed718033 JK |
39 | %configure \ |
40 | --disable-static | |
41 | %{__make} | |
42 | ||
43 | %install | |
44 | rm -rf $RPM_BUILD_ROOT | |
45 | ||
46 | %{__make} install \ | |
47 | DESTDIR=$RPM_BUILD_ROOT | |
0745e06f | 48 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/libxfcetimer.la |
44a1563e | 49 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{fa_IR,hye,ie,ur_PK} |
a7b3a7b4 | 50 | |
ed718033 JK |
51 | %find_lang %{name} |
52 | ||
53 | %clean | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
e73281a0 JR |
56 | %post |
57 | %update_icon_cache hicolor | |
58 | ||
59 | %postun | |
60 | %update_icon_cache hicolor | |
61 | ||
ed718033 JK |
62 | %files -f %{name}.lang |
63 | %defattr(644,root,root,755) | |
44a1563e | 64 | %doc AUTHORS ChangeLog README.md TODO |
3dce9729 JR |
65 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libxfcetimer.so |
66 | %{_iconsdir}/hicolor/*x*/apps/xfce4-timer-plugin.png | |
67 | %{_iconsdir}/hicolor/scalable/apps/xfce4-timer-plugin.svg | |
68 | %{_datadir}/xfce4/panel/plugins/xfce4-timer-plugin.desktop |