]>
Commit | Line | Data |
---|---|---|
c5ee8a66 JB |
1 | Summary: Simple window management tool |
2 | Summary(pl.UTF-8): Proste narzędzie do zarządzania oknami | |
3 | Name: mate-netbook | |
d82642f4 | 4 | Version: 1.8.0 |
c5ee8a66 | 5 | Release: 1 |
db874592 | 6 | License: GPL v3 |
c5ee8a66 | 7 | Group: X11/Applications |
d82642f4 JP |
8 | Source0: http://pub.mate-desktop.org/releases/1.8/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 416f125710065e2f97f69d717d30c19a | |
c5ee8a66 JB |
10 | URL: http://mate-desktop.org/ |
11 | BuildRequires: autoconf >= 2.53 | |
12 | BuildRequires: automake >= 1:1.9 | |
13 | BuildRequires: gettext-devel >= 0.10.40 | |
14 | BuildRequires: glib2-devel >= 2.0 | |
15 | BuildRequires: gtk+2-devel >= 2.0 | |
16 | BuildRequires: intltool >= 0.34 | |
17 | BuildRequires: libfakekey-devel | |
18 | BuildRequires: libtool >= 1:1.4.3 | |
19 | BuildRequires: libunique-devel >= 1.0 | |
20 | BuildRequires: libwnck2-devel >= 1.0 | |
21 | BuildRequires: mate-panel-devel | |
22 | BuildRequires: pkgconfig | |
23 | BuildRequires: rpmbuild(find_lang) >= 1.36 | |
24 | BuildRequires: tar >= 1:1.22 | |
25 | BuildRequires: xorg-lib-libXtst-devel | |
26 | BuildRequires: xz | |
27 | Requires(post,postun): glib2 >= 2.0 | |
28 | Requires: mate-panel | |
29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
30 | ||
31 | %description | |
32 | A simple window management tool which: | |
33 | - allows you to set basic rules for a window type, such as maximise | |
34 | or undecorate | |
35 | - allows exceptions to the rules, based on string matching for window | |
36 | name and window class | |
37 | - allows 'reversing' of rules when the user manually changes | |
38 | something: | |
39 | - re-decorates windows on un-maximise | |
40 | ||
41 | %description -l pl.UTF-8 | |
42 | Proste narzędzie do zarządzania oknami, które: | |
43 | - pozwala na ustawianie podstawowych reguł dla typu okna, takich jak | |
44 | maksymalizacja lub usunięcie dekoracji | |
45 | - pozwala na wyjątki od reguł, w oparciu o dopasowywanie nazwy lub | |
46 | klasy okna | |
47 | - pozwala na odwrócenie reguł, kiedy użytkownik coś zmieni: | |
48 | - ponownie włącza dekoracje okien przy wyłączeniu maksymalizacji | |
49 | ||
50 | %prep | |
51 | %setup -q | |
c5ee8a66 JB |
52 | |
53 | %build | |
54 | %{__intltoolize} | |
55 | %{__libtoolize} | |
56 | %{__aclocal} | |
57 | %{__autoconf} | |
58 | %{__autoheader} | |
59 | %{__automake} | |
60 | %configure \ | |
61 | --disable-silent-rules | |
62 | ||
63 | %{__make} | |
64 | ||
65 | %install | |
66 | rm -rf $RPM_BUILD_ROOT | |
67 | ||
68 | %{__make} install \ | |
69 | DESTDIR=$RPM_BUILD_ROOT | |
70 | ||
71 | # mate < 1.5 did not exist in PLD, avoid dependency on mate-conf | |
72 | %{__rm} $RPM_BUILD_ROOT%{_datadir}/MateConf/gsettings/mate-maximus.convert | |
73 | ||
d82642f4 JP |
74 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/cmn |
75 | ||
c5ee8a66 JB |
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 |