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