]>
Commit | Line | Data |
---|---|---|
e1578d61 | 1 | Summary: Xfce panel plugin which allows to put the maximized window title and windows buttons on the panel |
8f215d68 | 2 | Name: xfce4-windowck-plugin |
f061b076 | 3 | Version: 0.4.4 |
e1578d61 | 4 | Release: 1 |
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 | |
f061b076 | 8 | # Source0-md5: 6ea068db172e9a399db6889d3ca73358 |
8f215d68 JR |
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 | |
e1578d61 JR |
15 | BuildRequires: xfce4-dev-tools >= 4.12.0 |
16 | BuildRequires: xfce4-panel-devel >= 4.12.0 | |
d8db9f10 | 17 | BuildRequires: xfce-preferred-applications |
e1578d61 | 18 | Requires: xfce4-panel >= 4.12.0 |
8f215d68 JR |
19 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
20 | ||
21 | %description | |
e1578d61 JR |
22 | Xfce panel plugin which allows to put the maximized window title and |
23 | windows buttons on the panel. | |
24 | ||
25 | It's main features are: | |
26 | ||
27 | - Show the title and buttons of the maximized window on the panel. | |
28 | - Allow window actions on buttons and title clicks (activate, (un)maximize, close). | |
29 | - Allow window action menu on left button click. | |
30 | - Title formatting options. | |
31 | - xfwm4/unity theming support for buttons. | |
8f215d68 JR |
32 | |
33 | %prep | |
34 | %setup -q | |
35 | ||
36 | %build | |
37 | ./autogen.sh | |
38 | ||
39 | %{__intltoolize} | |
40 | %{__libtoolize} | |
41 | %{__aclocal} | |
42 | %{__autoconf} | |
43 | %{__autoheader} | |
44 | %{__automake} | |
45 | %configure \ | |
46 | --disable-static | |
47 | %{__make} | |
48 | ||
49 | %install | |
50 | rm -rf $RPM_BUILD_ROOT | |
51 | ||
52 | %{__make} install \ | |
53 | DESTDIR=$RPM_BUILD_ROOT | |
54 | ||
55 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.la | |
56 | ||
57 | %find_lang %{name} | |
58 | ||
59 | %clean | |
60 | rm -rf $RPM_BUILD_ROOT | |
61 | ||
62 | %post | |
63 | %update_icon_cache hicolor | |
64 | ||
65 | %postun | |
66 | %update_icon_cache hicolor | |
67 | ||
68 | %files -f %{name}.lang | |
69 | %defattr(644,root,root,755) | |
70 | %doc AUTHORS NEWS README TODO | |
71 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libwckbuttons.so | |
72 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libwindowck.so | |
73 | %{_datadir}/xfce4/panel/plugins/wckbuttons.desktop | |
74 | %{_datadir}/xfce4/panel/plugins/windowck-plugin.desktop | |
75 | %{_iconsdir}/hicolor/*x*/apps/wckbuttons-plugin.png | |
76 | %{_iconsdir}/hicolor/*x*/apps/windowck-plugin.png | |
77 | %{_datadir}/themes/Windowck | |
f061b076 | 78 | %{_datadir}/themes/Windowck-dark |