]> git.pld-linux.org Git - packages/mate-netbook.git/blame - mate-netbook.spec
up to 1.12.0
[packages/mate-netbook.git] / mate-netbook.spec
CommitLineData
65489c23
JB
1#
2# Conditional build:
3%bcond_with gtk3 # use GTK+ 3.x instead of 2.x
4
c5ee8a66
JB
5Summary: Simple window management tool
6Summary(pl.UTF-8): Proste narzędzie do zarządzania oknami
7Name: mate-netbook
1932573a 8Version: 1.12.0
04f921a4 9Release: 1
db874592 10License: GPL v3
c5ee8a66 11Group: X11/Applications
1932573a
JP
12Source0: http://pub.mate-desktop.org/releases/1.12/%{name}-%{version}.tar.xz
13# Source0-md5: 6f0defebd87cda3db94b3d16f699c574
c5ee8a66
JB
14URL: http://mate-desktop.org/
15BuildRequires: autoconf >= 2.53
16BuildRequires: automake >= 1:1.9
645e1132 17BuildRequires: gettext-tools >= 0.10.40
91c046d1 18BuildRequires: glib2-devel >= 1:2.36.0
65489c23
JB
19%{!?with_gtk3:BuildRequires: gtk+2-devel >= 2.0}
20%{?with_gtk3:BuildRequires: gtk+3-devel >= 3.0}
1932573a 21BuildRequires: intltool >= 0.50.1
c5ee8a66
JB
22BuildRequires: libfakekey-devel
23BuildRequires: libtool >= 1:1.4.3
65489c23
JB
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}
91c046d1 28BuildRequires: mate-desktop-devel >= 1.9.0
c5ee8a66
JB
29BuildRequires: mate-panel-devel
30BuildRequires: pkgconfig
31BuildRequires: rpmbuild(find_lang) >= 1.36
32BuildRequires: tar >= 1:1.22
33BuildRequires: xorg-lib-libXtst-devel
34BuildRequires: xz
91c046d1
JB
35Requires(post,postun): glib2 >= 1:2.36.0
36Requires: glib2 >= 1:2.36.0
37Requires: mate-desktop-libs >= 1.9.0
c5ee8a66
JB
38Requires: mate-panel
39BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
40
41%description
42A 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
52Proste 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
c5ee8a66
JB
62
63%build
64%{__intltoolize}
65%{__libtoolize}
66%{__aclocal}
67%{__autoconf}
68%{__autoheader}
69%{__automake}
70%configure \
65489c23
JB
71 --disable-silent-rules \
72 %{?with_gtk3:--with-gtk=3.0}
c5ee8a66
JB
73
74%{__make}
75
76%install
77rm -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
88rm -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
0f4ca44a 107%{_mandir}/man1/mate-maximus.1*
This page took 0.116677 seconds and 4 git commands to generate.