]> git.pld-linux.org Git - packages/xfce4-windowck-plugin.git/blob - xfce4-windowck-plugin.spec
- up to 0.5.1
[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.5.1
4 Release:        1
5 License:        GPL v2
6 Group:          X11/Applications
7 Source0:        https://archive.xfce.org/src/panel-plugins/xfce4-windowck-plugin/0.5/%{name}-%{version}.tar.bz2
8 # Source0-md5:  9dc7dfbf53dea83678719ab150f5fb0c
9 URL:            http://goodies.xfce.org/projects/panel-plugins/xfce4-windowck-plugin
10 BuildRequires:  autoconf
11 BuildRequires:  automake
12 BuildRequires:  gtk+3-devel >= 3.22.0
13 BuildRequires:  intltool
14 BuildRequires:  libtool
15 BuildRequires:  libwnck-devel >= 3.22
16 BuildRequires:  libxfce4ui-devel
17 BuildRequires:  xfce-preferred-applications
18 BuildRequires:  xfce4-dev-tools >= 4.14.0
19 BuildRequires:  xfce4-panel-devel >= 4.14.0
20 Requires:       xfce4-panel >= 4.14.0
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
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.
30 - Allow window actions on buttons and title clicks (activate,
31   (un)maximize, close).
32 - Allow window action menu on left button click.
33 - Title formatting options.
34 - xfwm4/unity theming support for buttons.
35
36 %prep
37 %setup -q
38
39 %build
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
58 # unsupported locale
59 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{ie,ru_RU}
60
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)
74 %doc AUTHORS NEWS README.md
75 %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libwckbuttons.so
76 %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libwckmenu.so
77 %attr(755,root,root) %{_libdir}/xfce4/panel/plugins/libwindowck.so
78 %{_datadir}/xfce4/panel/plugins/wckbuttons.desktop
79 %{_datadir}/xfce4/panel/plugins/wckmenu-plugin.desktop
80 %{_datadir}/xfce4/panel/plugins/windowck-plugin.desktop
81 %{_iconsdir}/hicolor/*x*/apps/wckbuttons-plugin.png
82 %{_iconsdir}/hicolor/*x*/apps/wckmenu-plugin.png
83 %{_iconsdir}/hicolor/*x*/apps/windowck-plugin.png
84 %{_datadir}/themes/Windowck
85 %{_datadir}/themes/Windowck-dark
This page took 0.094855 seconds and 4 git commands to generate.