]>
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 |
518de58b JR |
4 | Version: 0.6.4 |
5 | Release: 1 | |
ed718033 JK |
6 | License: GPL |
7 | Group: X11/Applications | |
518de58b JR |
8 | Source0: http://archive.xfce.org/src/panel-plugins/xfce4-timer-plugin/0.6/%{name}-%{version}.tar.bz2 |
9 | # Source0-md5: c2f9e113dcda742cd1559129b79f609b | |
2255dd12 | 10 | Patch0: %{name}-libxfce4ui.patch |
bc1401d8 MB |
11 | URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-timer-plugin |
12 | BuildRequires: autoconf >= 2.50 | |
13 | BuildRequires: automake | |
14 | BuildRequires: intltool | |
15 | BuildRequires: libtool | |
2255dd12 | 16 | BuildRequires: libxfce4ui-devel |
ed718033 | 17 | BuildRequires: pkgconfig |
bc1401d8 | 18 | BuildRequires: xfce4-dev-tools >= 4.4.0 |
526be5da JK |
19 | BuildRequires: xfce4-panel-devel >= 4.4.0 |
20 | Requires: xfce4-panel >= 4.4.0 | |
ed718033 JK |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | %description | |
24 | This is a simple plugin that lets the user run an alarm at a specified | |
25 | time or at the end of a specified countdown period. | |
26 | ||
c5cf29de JR |
27 | %description -l pl.UTF-8 |
28 | Wtyczka ta pozwala na powiadamianie o zdefiniowanym wcześniej | |
29 | zdarzeniu, bądź po upływie określonego odcinka czasu. | |
ed718033 JK |
30 | |
31 | %prep | |
32 | %setup -q | |
2255dd12 | 33 | %patch0 -p1 |
ed718033 JK |
34 | |
35 | %build | |
bc1401d8 MB |
36 | %{__intltoolize} |
37 | %{__libtoolize} | |
38 | %{__aclocal} | |
39 | %{__autoconf} | |
40 | %{__autoheader} | |
41 | %{__automake} | |
ed718033 JK |
42 | %configure \ |
43 | --disable-static | |
44 | %{__make} | |
45 | ||
46 | %install | |
47 | rm -rf $RPM_BUILD_ROOT | |
48 | ||
49 | %{__make} install \ | |
50 | DESTDIR=$RPM_BUILD_ROOT | |
51 | ||
eb40ba6f MB |
52 | mv $RPM_BUILD_ROOT%{_datadir}/locale/pt{_PT,} |
53 | ||
ed718033 JK |
54 | %find_lang %{name} |
55 | ||
56 | %clean | |
57 | rm -rf $RPM_BUILD_ROOT | |
58 | ||
59 | %files -f %{name}.lang | |
60 | %defattr(644,root,root,755) | |
bc1401d8 | 61 | %doc AUTHORS ChangeLog README TODO |
ed718033 JK |
62 | %attr(755,root,root) %{_libdir}/xfce4/panel-plugins/xfce4-timer |
63 | %{_datadir}/xfce4/panel-plugins/xfce4-timer.desktop |