]>
Commit | Line | Data |
---|---|---|
1 | Summary: A date and time plugin for the Xfce panel | |
2 | Summary(pl.UTF-8): Wtyczka panelu Xfce pokazująca datę i czas | |
3 | Name: xfce4-datetime-plugin | |
4 | Version: 0.6.2 | |
5 | Release: 2 | |
6 | License: GPL v2 | |
7 | Group: X11/Applications | |
8 | Source0: http://archive.xfce.org/src/panel-plugins/xfce4-datetime-plugin/0.6/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: fe604a251eadbc5b0f2b4737b85d92c8 | |
10 | URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-datetime-plugin | |
11 | BuildRequires: autoconf | |
12 | BuildRequires: automake | |
13 | BuildRequires: intltool | |
14 | BuildRequires: libtool | |
15 | BuildRequires: libxfce4ui-devel | |
16 | BuildRequires: xfce4-dev-tools >= 4.4.0 | |
17 | BuildRequires: xfce4-panel-devel >= 4.4.0 | |
18 | Requires: xfce4-panel >= 4.4.0 | |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
20 | ||
21 | %description | |
22 | An additional clock for the Xfce panel which also shows the date, with | |
23 | adjustable font. | |
24 | ||
25 | %description -l pl.UTF-8 | |
26 | Wtyczka dla panelu Xfce wyświetlająca datę i czas, wyposażona w | |
27 | kalendarz. | |
28 | ||
29 | %prep | |
30 | %setup -q | |
31 | ||
32 | %build | |
33 | %{__intltoolize} | |
34 | %{__libtoolize} | |
35 | %{__aclocal} | |
36 | %{__autoconf} | |
37 | %{__autoheader} | |
38 | %{__automake} | |
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 | |
48 | ||
49 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.la | |
50 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/ur_PK | |
51 | ||
52 | %find_lang %{name} | |
53 | ||
54 | %clean | |
55 | rm -rf $RPM_BUILD_ROOT | |
56 | ||
57 | %files -f %{name}.lang | |
58 | %defattr(644,root,root,755) | |
59 | %doc AUTHORS ChangeLog README | |
60 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libdatetime.so | |
61 | %{_datadir}/xfce4/panel/plugins/datetime.desktop |