]>
Commit | Line | Data |
---|---|---|
8f215d68 JR |
1 | Summary: A date and time plugin for the Xfce panel |
2 | Name: xfce4-windowck-plugin | |
3 | Version: 0.3.0 | |
d8db9f10 | 4 | Release: 2 |
8f215d68 JR |
5 | License: GPL v2 |
6 | Group: X11/Applications | |
7 | Source0: https://github.com/cedl38/xfce4-windowck-plugin/archive/v%{version}.tar.gz?/%{name}-%{version}.tar.gz | |
8 | # Source0-md5: 88e0dea73ed5d6597af86432fcfb4f1c | |
9 | URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-windowck-plugin | |
10 | BuildRequires: autoconf | |
11 | BuildRequires: automake | |
12 | BuildRequires: intltool | |
13 | BuildRequires: libtool | |
14 | BuildRequires: libxfce4ui-devel | |
15 | BuildRequires: xfce4-dev-tools >= 4.11.0 | |
16 | BuildRequires: xfce4-panel-devel >= 4.11.0 | |
d8db9f10 | 17 | BuildRequires: xfce-preferred-applications |
8f215d68 JR |
18 | Requires: xfce4-panel >= 4.11.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 | %prep | |
26 | %setup -q | |
27 | ||
28 | %build | |
29 | ./autogen.sh | |
30 | ||
31 | %{__intltoolize} | |
32 | %{__libtoolize} | |
33 | %{__aclocal} | |
34 | %{__autoconf} | |
35 | %{__autoheader} | |
36 | %{__automake} | |
37 | %configure \ | |
38 | --disable-static | |
39 | %{__make} | |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
43 | ||
44 | %{__make} install \ | |
45 | DESTDIR=$RPM_BUILD_ROOT | |
46 | ||
47 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.la | |
48 | ||
49 | %find_lang %{name} | |
50 | ||
51 | %clean | |
52 | rm -rf $RPM_BUILD_ROOT | |
53 | ||
54 | %post | |
55 | %update_icon_cache hicolor | |
56 | ||
57 | %postun | |
58 | %update_icon_cache hicolor | |
59 | ||
60 | %files -f %{name}.lang | |
61 | %defattr(644,root,root,755) | |
62 | %doc AUTHORS NEWS README TODO | |
63 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libwckbuttons.so | |
64 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libwindowck.so | |
65 | %{_datadir}/xfce4/panel/plugins/wckbuttons.desktop | |
66 | %{_datadir}/xfce4/panel/plugins/windowck-plugin.desktop | |
67 | %{_iconsdir}/hicolor/*x*/apps/wckbuttons-plugin.png | |
68 | %{_iconsdir}/hicolor/*x*/apps/windowck-plugin.png | |
69 | %{_datadir}/themes/Windowck |