]>
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.8.3 | |
5 | Release: 1 | |
6 | License: LGPL v2+ | |
7 | Group: X11/Applications | |
8 | Source0: http://archive.xfce.org/src/panel-plugins/xfce4-datetime-plugin/0.8/%{name}-%{version}.tar.bz2 | |
9 | # Source0-md5: 861ad062e70fc27508f0af9c10fe177f | |
10 | URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-datetime-plugin | |
11 | BuildRequires: autoconf >= 2.50 | |
12 | BuildRequires: automake >= 1:1.8 | |
13 | BuildRequires: gtk+3-devel >= 3.22 | |
14 | BuildRequires: intltool | |
15 | BuildRequires: libtool >= 2:2.2.6 | |
16 | BuildRequires: libxfce4ui-devel >= 4.14.0 | |
17 | BuildRequires: libxfce4util-devel >= 4.14.0 | |
18 | BuildRequires: xfce4-dev-tools >= 4.14.0 | |
19 | BuildRequires: xfce4-panel-devel >= 4.14.0 | |
20 | Requires: gtk+3 >= 3.22 | |
21 | Requires: libxfce4ui >= 4.14.0 | |
22 | Requires: libxfce4util >= 4.14.0 | |
23 | Requires: xfce4-panel >= 4.14.0 | |
24 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
25 | ||
26 | %description | |
27 | An additional clock for the Xfce panel which also shows the date, with | |
28 | adjustable font. | |
29 | ||
30 | %description -l pl.UTF-8 | |
31 | Wtyczka dla panelu Xfce wyświetlająca datę i czas, wyposażona w | |
32 | kalendarz. | |
33 | ||
34 | %prep | |
35 | %setup -q | |
36 | ||
37 | %build | |
38 | %{__intltoolize} | |
39 | %{__libtoolize} | |
40 | %{__aclocal} | |
41 | %{__autoconf} | |
42 | %{__autoheader} | |
43 | %{__automake} | |
44 | %configure \ | |
45 | --disable-static | |
46 | %{__make} | |
47 | ||
48 | %install | |
49 | rm -rf $RPM_BUILD_ROOT | |
50 | ||
51 | %{__make} install \ | |
52 | DESTDIR=$RPM_BUILD_ROOT | |
53 | ||
54 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.la | |
55 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{fa_IR,hye,ie,ur_PK} | |
56 | %{__mv} $RPM_BUILD_ROOT%{_localedir}/{hy_AM,hy} | |
57 | ||
58 | %find_lang %{name} | |
59 | ||
60 | %clean | |
61 | rm -rf $RPM_BUILD_ROOT | |
62 | ||
63 | %files -f %{name}.lang | |
64 | %defattr(644,root,root,755) | |
65 | %doc AUTHORS ChangeLog | |
66 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libdatetime.so | |
67 | %{_datadir}/xfce4/panel/plugins/datetime.desktop |