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