]> git.pld-linux.org Git - packages/xfce4-windowck-plugin.git/blob - xfce4-windowck-plugin.spec
- new
[packages/xfce4-windowck-plugin.git] / xfce4-windowck-plugin.spec
1 Summary:        A date and time plugin for the Xfce panel
2 Name:           xfce4-windowck-plugin
3 Version:        0.3.0
4 Release:        1
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
17 Requires:       xfce4-panel >= 4.11.0
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 An additional clock for the Xfce panel which also shows the date, with
22 adjustable font.
23
24 %prep
25 %setup -q
26
27 %build
28 ./autogen.sh
29
30 %{__intltoolize}
31 %{__libtoolize}
32 %{__aclocal}
33 %{__autoconf}
34 %{__autoheader}
35 %{__automake}
36 %configure \
37         --disable-static
38 %{__make}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42
43 %{__make} install \
44         DESTDIR=$RPM_BUILD_ROOT
45
46 %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.la
47
48 %find_lang %{name}
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %post
54 %update_icon_cache hicolor
55
56 %postun
57 %update_icon_cache hicolor
58
59 %files -f %{name}.lang
60 %defattr(644,root,root,755)
61 %doc AUTHORS NEWS README TODO
62 %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libwckbuttons.so
63 %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libwindowck.so
64 %{_datadir}/xfce4/panel/plugins/wckbuttons.desktop
65 %{_datadir}/xfce4/panel/plugins/windowck-plugin.desktop
66 %{_iconsdir}/hicolor/*x*/apps/wckbuttons-plugin.png
67 %{_iconsdir}/hicolor/*x*/apps/windowck-plugin.png
68 %{_datadir}/themes/Windowck
This page took 0.587712 seconds and 3 git commands to generate.