]> git.pld-linux.org Git - packages/mate-netbook.git/blob - mate-netbook.spec
52f9301672f45314c86d56a90f50f9d27fa1eaf4
[packages/mate-netbook.git] / mate-netbook.spec
1 Summary:        Simple window management tool
2 Summary(pl.UTF-8):      Proste narzędzie do zarządzania oknami
3 Name:           mate-netbook
4 Version:        1.6.0
5 Release:        1
6 License:        GPL v3
7 Group:          X11/Applications
8 Source0:        http://pub.mate-desktop.org/releases/1.6/%{name}-%{version}.tar.xz
9 # Source0-md5:  26cfc4e44f7cda7153b8ecb7d21d6a4c
10 Patch0:         %{name}-use-libwnck.patch
11 URL:            http://mate-desktop.org/
12 BuildRequires:  autoconf >= 2.53
13 BuildRequires:  automake >= 1:1.9
14 BuildRequires:  gettext-devel >= 0.10.40
15 BuildRequires:  glib2-devel >= 2.0
16 BuildRequires:  gtk+2-devel >= 2.0
17 BuildRequires:  intltool >= 0.34
18 BuildRequires:  libfakekey-devel
19 BuildRequires:  libtool >= 1:1.4.3
20 BuildRequires:  libunique-devel >= 1.0
21 BuildRequires:  libwnck2-devel >= 1.0
22 BuildRequires:  mate-panel-devel
23 BuildRequires:  pkgconfig
24 BuildRequires:  rpmbuild(find_lang) >= 1.36
25 BuildRequires:  tar >= 1:1.22
26 BuildRequires:  xorg-lib-libXtst-devel
27 BuildRequires:  xz
28 Requires(post,postun):  glib2 >= 2.0
29 Requires:       mate-panel
30 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
32 %description
33 A simple window management tool which:
34 - allows you to set basic rules for a window type, such as maximise
35   or undecorate
36 - allows exceptions to the rules, based on string matching for window
37   name and window class
38 - allows 'reversing' of rules when the user manually changes
39   something:
40   - re-decorates windows on un-maximise
41
42 %description -l pl.UTF-8
43 Proste narzędzie do zarządzania oknami, które:
44 - pozwala na ustawianie podstawowych reguł dla typu okna, takich jak
45   maksymalizacja lub usunięcie dekoracji
46 - pozwala na wyjątki od reguł, w oparciu o dopasowywanie nazwy lub
47   klasy okna
48 - pozwala na odwrócenie reguł, kiedy użytkownik coś zmieni:
49   - ponownie włącza dekoracje okien przy wyłączeniu maksymalizacji
50
51 %prep
52 %setup -q
53 %patch0 -p1
54
55 %build
56 %{__intltoolize}
57 %{__libtoolize}
58 %{__aclocal}
59 %{__autoconf}
60 %{__autoheader}
61 %{__automake}
62 %configure \
63         --disable-silent-rules
64
65 %{__make}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69
70 %{__make} install \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 # mate < 1.5 did not exist in PLD, avoid dependency on mate-conf
74 %{__rm} $RPM_BUILD_ROOT%{_datadir}/MateConf/gsettings/mate-maximus.convert
75
76 %find_lang %{name}
77
78 %clean
79 rm -rf $RPM_BUILD_ROOT
80
81 %post
82 %glib_compile_schemas
83
84 %postun
85 %glib_compile_schemas
86
87 %files -f %{name}.lang
88 %defattr(644,root,root,755)
89 %doc AUTHORS ChangeLog NEWS README
90 %attr(755,root,root) %{_bindir}/mate-maximus
91 %attr(755,root,root) %{_libexecdir}/mate-window-picker-applet
92 /etc/xdg/autostart/mate-maximus-autostart.desktop
93 %{_datadir}/dbus-1/services/org.mate.panel.applet.MateWindowPickerFactory.service
94 %{_datadir}/glib-2.0/schemas/org.mate.maximus.gschema.xml
95 %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.mate-window-picker-applet.gschema.xml
96 %{_datadir}/mate-panel/applets/org.mate.panel.MateWindowPicker.mate-panel-applet
97 %{_datadir}/mate-panel/ui/mate-window-picker-applet-menu.xml
This page took 0.047097 seconds and 2 git commands to generate.