]> git.pld-linux.org Git - packages/mate-netbook.git/blame - mate-netbook.spec
- more specific URL, macros for glib_compile_schemas
[packages/mate-netbook.git] / mate-netbook.spec
CommitLineData
c5ee8a66
JB
1Summary: Simple window management tool
2Summary(pl.UTF-8): Proste narzędzie do zarządzania oknami
3Name: mate-netbook
985ff9f1 4Version: 1.26.0
5a1c459e 5Release: 1
db874592 6License: GPL v3
c5ee8a66 7Group: X11/Applications
985ff9f1
JP
8Source0: https://pub.mate-desktop.org/releases/1.26/%{name}-%{version}.tar.xz
9# Source0-md5: 9eb98f9009b7b3791da3965130e3e100
0cb9b2c8 10URL: https://wiki.mate-desktop.org/mate-desktop/components/mate-netbook/
c5ee8a66
JB
11BuildRequires: autoconf >= 2.53
12BuildRequires: automake >= 1:1.9
65f45e1e 13BuildRequires: gettext-tools >= 0.19.8
319cdc88
JP
14BuildRequires: glib2-devel >= 1:2.50.0
15BuildRequires: gtk+3-devel >= 3.22
c5ee8a66
JB
16BuildRequires: libfakekey-devel
17BuildRequires: libtool >= 1:1.4.3
9bf1abb8
JP
18BuildRequires: libwnck-devel >= 3.0
19BuildRequires: mate-panel-devel >= 1.17.0
c5ee8a66
JB
20BuildRequires: pkgconfig
21BuildRequires: rpmbuild(find_lang) >= 1.36
0cb9b2c8 22BuildRequires: rpmbuild(macros) >= 1.592
c5ee8a66
JB
23BuildRequires: tar >= 1:1.22
24BuildRequires: xorg-lib-libXtst-devel
25BuildRequires: xz
319cdc88
JP
26Requires(post,postun): glib2 >= 1:2.50.0
27Requires: glib2 >= 1:2.50.0
28Requires: gtk+3 >= 3.22
9bf1abb8 29Requires: mate-panel >= 1.17.0
c5ee8a66
JB
30BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
31
e8dc4f08
JB
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
c5ee8a66
JB
36%description
37A 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
47Proste 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
c5ee8a66
JB
57
58%build
c5ee8a66
JB
59%{__libtoolize}
60%{__aclocal}
61%{__autoconf}
62%{__autoheader}
63%{__automake}
64%configure \
e8dc4f08 65 --libexecdir=%{matepanel_libexecdir} \
9bf1abb8 66 --disable-silent-rules
c5ee8a66
JB
67
68%{__make}
69
70%install
71rm -rf $RPM_BUILD_ROOT
72
73%{__make} install \
74 DESTDIR=$RPM_BUILD_ROOT
75
65f45e1e 76%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{es_ES,frp,ie,jv,ku_IQ,nqo,pms}
c5ee8a66
JB
77
78%find_lang %{name}
79
80%clean
81rm -rf $RPM_BUILD_ROOT
82
83%post
84%glib_compile_schemas
85
86%postun
87%glib_compile_schemas
88
89%files -f %{name}.lang
90%defattr(644,root,root,755)
91%doc AUTHORS ChangeLog NEWS README
92%attr(755,root,root) %{_bindir}/mate-maximus
e8dc4f08 93%attr(755,root,root) %{matepanel_libexecdir}/mate-window-picker-applet
c5ee8a66
JB
94/etc/xdg/autostart/mate-maximus-autostart.desktop
95%{_datadir}/dbus-1/services/org.mate.panel.applet.MateWindowPickerFactory.service
96%{_datadir}/glib-2.0/schemas/org.mate.maximus.gschema.xml
97%{_datadir}/glib-2.0/schemas/org.mate.panel.applet.mate-window-picker-applet.gschema.xml
98%{_datadir}/mate-panel/applets/org.mate.panel.MateWindowPicker.mate-panel-applet
99%{_datadir}/mate-panel/ui/mate-window-picker-applet-menu.xml
0f4ca44a 100%{_mandir}/man1/mate-maximus.1*
This page took 0.119884 seconds and 4 git commands to generate.