]>
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 |
cf380195 | 3 | Version: 0.5.1 |
08f41844 | 4 | Release: 1 |
8f215d68 JR |
5 | License: GPL v2 |
6 | Group: X11/Applications | |
08f41844 | 7 | Source0: https://archive.xfce.org/src/panel-plugins/xfce4-windowck-plugin/0.5/%{name}-%{version}.tar.bz2 |
cf380195 | 8 | # Source0-md5: 9dc7dfbf53dea83678719ab150f5fb0c |
8f215d68 JR |
9 | URL: http://goodies.xfce.org/projects/panel-plugins/xfce4-windowck-plugin |
10 | BuildRequires: autoconf | |
11 | BuildRequires: automake | |
08f41844 | 12 | BuildRequires: gtk+3-devel >= 3.22.0 |
8f215d68 JR |
13 | BuildRequires: intltool |
14 | BuildRequires: libtool | |
08f41844 | 15 | BuildRequires: libwnck-devel >= 3.22 |
8f215d68 | 16 | BuildRequires: libxfce4ui-devel |
08f41844 | 17 | BuildRequires: xfce-preferred-applications |
5539ef25 JR |
18 | BuildRequires: xfce4-dev-tools >= 4.14.0 |
19 | BuildRequires: xfce4-panel-devel >= 4.14.0 | |
5539ef25 | 20 | Requires: xfce4-panel >= 4.14.0 |
8f215d68 JR |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | %description | |
e1578d61 JR |
24 | Xfce panel plugin which allows to put the maximized window title and |
25 | windows buttons on the panel. | |
26 | ||
27 | It's main features are: | |
28 | ||
29 | - Show the title and buttons of the maximized window on the panel. | |
08f41844 KM |
30 | - Allow window actions on buttons and title clicks (activate, |
31 | (un)maximize, close). | |
e1578d61 JR |
32 | - Allow window action menu on left button click. |
33 | - Title formatting options. | |
34 | - xfwm4/unity theming support for buttons. | |
8f215d68 JR |
35 | |
36 | %prep | |
37 | %setup -q | |
38 | ||
39 | %build | |
8f215d68 JR |
40 | %{__intltoolize} |
41 | %{__libtoolize} | |
42 | %{__aclocal} | |
43 | %{__autoconf} | |
44 | %{__autoheader} | |
45 | %{__automake} | |
46 | %configure \ | |
47 | --disable-static | |
48 | %{__make} | |
49 | ||
50 | %install | |
51 | rm -rf $RPM_BUILD_ROOT | |
52 | ||
53 | %{__make} install \ | |
54 | DESTDIR=$RPM_BUILD_ROOT | |
55 | ||
56 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/xfce4/panel/plugins/*.la | |
57 | ||
08f41844 KM |
58 | # unsupported locale |
59 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{ie,ru_RU} | |
60 | ||
8f215d68 JR |
61 | %find_lang %{name} |
62 | ||
63 | %clean | |
64 | rm -rf $RPM_BUILD_ROOT | |
65 | ||
66 | %post | |
67 | %update_icon_cache hicolor | |
68 | ||
69 | %postun | |
70 | %update_icon_cache hicolor | |
71 | ||
72 | %files -f %{name}.lang | |
73 | %defattr(644,root,root,755) | |
cf380195 | 74 | %doc AUTHORS NEWS README.md |
8f215d68 | 75 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libwckbuttons.so |
08f41844 | 76 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libwckmenu.so |
8f215d68 JR |
77 | %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libwindowck.so |
78 | %{_datadir}/xfce4/panel/plugins/wckbuttons.desktop | |
08f41844 | 79 | %{_datadir}/xfce4/panel/plugins/wckmenu-plugin.desktop |
8f215d68 JR |
80 | %{_datadir}/xfce4/panel/plugins/windowck-plugin.desktop |
81 | %{_iconsdir}/hicolor/*x*/apps/wckbuttons-plugin.png | |
cf380195 | 82 | %{_iconsdir}/hicolor/*x*/apps/wckmenu-plugin.png |
8f215d68 JR |
83 | %{_iconsdir}/hicolor/*x*/apps/windowck-plugin.png |
84 | %{_datadir}/themes/Windowck | |
f061b076 | 85 | %{_datadir}/themes/Windowck-dark |