]>
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 | |
985ff9f1 | 4 | Version: 1.26.0 |
5a1c459e | 5 | Release: 1 |
db874592 | 6 | License: GPL v3 |
c5ee8a66 | 7 | Group: X11/Applications |
985ff9f1 JP |
8 | Source0: https://pub.mate-desktop.org/releases/1.26/%{name}-%{version}.tar.xz |
9 | # Source0-md5: 9eb98f9009b7b3791da3965130e3e100 | |
c5ee8a66 JB |
10 | URL: http://mate-desktop.org/ |
11 | BuildRequires: autoconf >= 2.53 | |
12 | BuildRequires: automake >= 1:1.9 | |
65f45e1e | 13 | BuildRequires: gettext-tools >= 0.19.8 |
319cdc88 JP |
14 | BuildRequires: glib2-devel >= 1:2.50.0 |
15 | BuildRequires: gtk+3-devel >= 3.22 | |
c5ee8a66 JB |
16 | BuildRequires: libfakekey-devel |
17 | BuildRequires: libtool >= 1:1.4.3 | |
9bf1abb8 JP |
18 | BuildRequires: libwnck-devel >= 3.0 |
19 | BuildRequires: mate-panel-devel >= 1.17.0 | |
c5ee8a66 JB |
20 | BuildRequires: pkgconfig |
21 | BuildRequires: rpmbuild(find_lang) >= 1.36 | |
22 | BuildRequires: tar >= 1:1.22 | |
23 | BuildRequires: xorg-lib-libXtst-devel | |
24 | BuildRequires: xz | |
319cdc88 JP |
25 | Requires(post,postun): glib2 >= 1:2.50.0 |
26 | Requires: glib2 >= 1:2.50.0 | |
27 | Requires: gtk+3 >= 3.22 | |
9bf1abb8 | 28 | Requires: mate-panel >= 1.17.0 |
c5ee8a66 JB |
29 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
30 | ||
e8dc4f08 JB |
31 | # use the same libexecdir as mate-panel |
32 | # (better solution: store mate-panel libexecdir in libmatepanelapplet-*.pc and read it here) | |
33 | %define matepanel_libexecdir %{_libexecdir}/mate-panel | |
34 | ||
c5ee8a66 JB |
35 | %description |
36 | A simple window management tool which: | |
37 | - allows you to set basic rules for a window type, such as maximise | |
38 | or undecorate | |
39 | - allows exceptions to the rules, based on string matching for window | |
40 | name and window class | |
41 | - allows 'reversing' of rules when the user manually changes | |
42 | something: | |
43 | - re-decorates windows on un-maximise | |
44 | ||
45 | %description -l pl.UTF-8 | |
46 | Proste narzędzie do zarządzania oknami, które: | |
47 | - pozwala na ustawianie podstawowych reguł dla typu okna, takich jak | |
48 | maksymalizacja lub usunięcie dekoracji | |
49 | - pozwala na wyjątki od reguł, w oparciu o dopasowywanie nazwy lub | |
50 | klasy okna | |
51 | - pozwala na odwrócenie reguł, kiedy użytkownik coś zmieni: | |
52 | - ponownie włącza dekoracje okien przy wyłączeniu maksymalizacji | |
53 | ||
54 | %prep | |
55 | %setup -q | |
c5ee8a66 JB |
56 | |
57 | %build | |
c5ee8a66 JB |
58 | %{__libtoolize} |
59 | %{__aclocal} | |
60 | %{__autoconf} | |
61 | %{__autoheader} | |
62 | %{__automake} | |
63 | %configure \ | |
e8dc4f08 | 64 | --libexecdir=%{matepanel_libexecdir} \ |
9bf1abb8 | 65 | --disable-silent-rules |
c5ee8a66 JB |
66 | |
67 | %{__make} | |
68 | ||
69 | %install | |
70 | rm -rf $RPM_BUILD_ROOT | |
71 | ||
72 | %{__make} install \ | |
73 | DESTDIR=$RPM_BUILD_ROOT | |
74 | ||
65f45e1e | 75 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{es_ES,frp,ie,jv,ku_IQ,nqo,pms} |
c5ee8a66 JB |
76 | |
77 | %find_lang %{name} | |
78 | ||
79 | %clean | |
80 | rm -rf $RPM_BUILD_ROOT | |
81 | ||
82 | %post | |
83 | %glib_compile_schemas | |
84 | ||
85 | %postun | |
86 | %glib_compile_schemas | |
87 | ||
88 | %files -f %{name}.lang | |
89 | %defattr(644,root,root,755) | |
90 | %doc AUTHORS ChangeLog NEWS README | |
91 | %attr(755,root,root) %{_bindir}/mate-maximus | |
e8dc4f08 | 92 | %attr(755,root,root) %{matepanel_libexecdir}/mate-window-picker-applet |
c5ee8a66 JB |
93 | /etc/xdg/autostart/mate-maximus-autostart.desktop |
94 | %{_datadir}/dbus-1/services/org.mate.panel.applet.MateWindowPickerFactory.service | |
95 | %{_datadir}/glib-2.0/schemas/org.mate.maximus.gschema.xml | |
96 | %{_datadir}/glib-2.0/schemas/org.mate.panel.applet.mate-window-picker-applet.gschema.xml | |
97 | %{_datadir}/mate-panel/applets/org.mate.panel.MateWindowPicker.mate-panel-applet | |
98 | %{_datadir}/mate-panel/ui/mate-window-picker-applet-menu.xml | |
0f4ca44a | 99 | %{_mandir}/man1/mate-maximus.1* |