]> git.pld-linux.org Git - packages/xfce4-windowck-plugin.git/blob - xfce4-windowck-plugin.spec
18f11095a478b78a21cb27889fe8a291ea8ab228
[packages/xfce4-windowck-plugin.git] / xfce4-windowck-plugin.spec
1 Summary:        Xfce panel plugin which allows to put the maximized window title and windows buttons on the panel
2 Name:           xfce4-windowck-plugin
3 Version:        0.3.1
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:  84a454ae925c5956fa87e3956fca149b
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.12.0
16 BuildRequires:  xfce4-panel-devel >= 4.12.0
17 BuildRequires:  xfce-preferred-applications
18 Requires:       xfce4-panel >= 4.12.0
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
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.
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
This page took 0.100322 seconds and 2 git commands to generate.