2 # - subpackages for themes (see metacity.spec)
3 # - find proper packages for %files
5 Summary: MATE Desktop window manager
6 Summary(pl.UTF-8): Zarządca okien środowiska MATE Desktop
10 License: LGPL v2+ and GPL v2+
11 Group: X11/Window Managers
12 Source0: http://pub.mate-desktop.org/releases/1.20/%{name}-%{version}.tar.xz
13 # Source0-md5: 067196f55d910c5be4e6fcfc004179cd
14 # https://bugzilla.gnome.org/show_bug.cgi?id=622517
15 Patch0: Allow-breaking-out-from-maximization-during-mouse.patch
16 # https://bugs.launchpad.net/ubuntu/+source/metacity/+bug/583847
17 Patch1: initialise_all_workspace_names.patch
18 URL: http://wiki.mate-desktop.org/mate-window-manager
19 BuildRequires: autoconf >= 2.50
20 BuildRequires: automake
21 BuildRequires: desktop-file-utils
22 BuildRequires: gdk-pixbuf2-devel >= 2.0
23 BuildRequires: gettext-tools >= 0.10.40
24 BuildRequires: glib2-devel >= 1:2.50.0
25 BuildRequires: gtk+3-devel >= 3.22
26 BuildRequires: intltool >= 0.50.1
27 BuildRequires: libcanberra-gtk3-devel
28 BuildRequires: libgtop-devel >= 2.0
29 BuildRequires: mate-common
30 BuildRequires: mate-desktop-devel >= 1.9.3
31 BuildRequires: pango-devel >= 1:1.2.0
32 BuildRequires: rpmbuild(find_lang) >= 1.36
33 BuildRequires: startup-notification-devel >= 0.7
34 BuildRequires: tar >= 1:1.22
35 BuildRequires: xorg-lib-libICE-devel
36 BuildRequires: xorg-lib-libSM-devel
37 BuildRequires: xorg-lib-libX11-devel
38 BuildRequires: xorg-lib-libXcomposite-devel >= 0.3
39 BuildRequires: xorg-lib-libXcursor-devel
40 BuildRequires: xorg-lib-libXext-devel
41 BuildRequires: xorg-lib-libXdamage-devel
42 BuildRequires: xorg-lib-libXfixes-devel
43 BuildRequires: xorg-lib-libXinerama-devel
44 BuildRequires: xorg-lib-libXpresent-devel
45 BuildRequires: xorg-lib-libXrandr-devel
46 BuildRequires: xorg-lib-libXrender-devel
48 BuildRequires: yelp-tools
49 Requires: %{name}-libs = %{version}-%{release}
50 Requires: glib2 >= 1:2.50.0
51 Requires: gsettings-desktop-schemas
52 Requires: gtk+3 >= 3.22
53 Requires: mate-icon-theme
54 Requires: mate-settings-daemon
56 Suggests: mate-control-center
57 # can use any gtk+2 themes nicely, Adwaita specially
58 Suggests: %{name}-themes
59 Obsoletes: mate-window-manager
60 Obsoletes: mate-window-manager-libs < 1.4.1-2
61 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
64 MATE Desktop window manager. MATE Marco is a fork of GNOME Metacity.
66 %description -l pl.UTF-8
67 Zarządca okien środowiska MATE Desktop. MATE Marco to odgałęzienie
68 pakietu GNOME Metacity.
71 Summary: Marco (MATE window manager) library
72 Summary(pl.UTF-8): Biblioteka Macro (zarządcy okien MATE)
74 Requires: glib2 >= 1:2.36.0
75 Requires: gtk+3 >= 3.14
76 Requires: mate-desktop-libs >= 1.9.3
77 Requires: pango >= 1:1.2.0
78 Requires: startup-notification >= 0.7
79 Requires: xorg-lib-libXcomposite >= 0.3
80 Obsoletes: mate-window-manager-libs >= 1.4.1-2
83 This package contains the shared library for Marco, the MATE window
86 %description libs -l pl.UTF-8
87 Pakiet zawierający bibliotekę współdzieloną Marco (zarządcy okien
91 Summary: Development files for Marco (Mate window manager)
92 Summary(pl.UTF-8): Pliki programistyczne Marco (zarządcy okien MATE)
93 Group: Development/Libraries
94 Requires: %{name}-libs = %{version}-%{release}
95 Requires: glib2-devel >= 1:2.36.0
96 Requires: gtk+3-devel >= 3.14
97 Requires: mate-desktop-devel >= 1.9.3
98 Obsoletes: mate-window-manager-devel
101 Development files for Marco (Mate window manager).
103 %description devel -l pl.UTF-8
104 Pliki programistyczne Marco (zarządcy okien MATE).
107 Summary: Themes for MATE Window Manager
108 Summary(pl.UTF-8): Motywy dla zarządcy okien MATE
110 Requires: %{name} = %{version}-%{release}
111 Obsoletes: mate-window-manager-themes
114 Themes for MATE Window Manager.
116 %description themes -l pl.UTF-8
117 Motywy dla zarządcy okien MATE
131 ZENITY=%{_bindir}/zenity \
132 --disable-scrollkeeper \
133 --disable-silent-rules \
141 rm -rf $RPM_BUILD_ROOT
143 DESTDIR=$RPM_BUILD_ROOT
145 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libmarco-private.la
147 %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{frp,ku_IQ,jv}
149 desktop-file-install \
150 --remove-category="MATE" \
152 --dir=$RPM_BUILD_ROOT%{_desktopdir} \
153 $RPM_BUILD_ROOT%{_desktopdir}/marco.desktop
155 %find_lang %{name} --all-name --with-mate
158 rm -rf $RPM_BUILD_ROOT
161 %glib_compile_schemas
164 %glib_compile_schemas
166 %post libs -p /sbin/ldconfig
167 %postun libs -p /sbin/ldconfig
169 %files -f %{name}.lang
170 %defattr(644,root,root,755)
171 %doc AUTHORS ChangeLog NEWS README
172 %attr(755,root,root) %{_bindir}/marco
173 %attr(755,root,root) %{_bindir}/marco-message
175 %{_datadir}/mate-control-center/keybindings/50-marco*.xml
176 %dir %{_datadir}/mate/wm-properties
177 %{_datadir}/mate/wm-properties/marco-wm.desktop
178 %{_datadir}/glib-2.0/schemas/org.mate.marco.gschema.xml
179 %{_desktopdir}/marco.desktop
180 %{_mandir}/man1/marco.1*
181 %{_mandir}/man1/marco-message.1*
183 # TODO: find better packages
184 %dir %{_datadir}/mate-control-center
185 %dir %{_datadir}/mate-control-center/keybindings
188 %defattr(644,root,root,755)
189 %attr(755,root,root) %{_libdir}/libmarco-private.so.*.*.*
190 %attr(755,root,root) %ghost %{_libdir}/libmarco-private.so.1
193 %defattr(644,root,root,755)
194 %attr(755,root,root) %{_bindir}/marco-theme-viewer
195 %attr(755,root,root) %{_bindir}/marco-window-demo
196 %attr(755,root,root) %{_libdir}/libmarco-private.so
197 %{_includedir}/marco-1
198 %{_pkgconfigdir}/libmarco-private.pc
199 %{_mandir}/man1/marco-theme-viewer.1*
200 %{_mandir}/man1/marco-window-demo.1*
203 %defattr(644,root,root,755)
204 %{_datadir}/themes/ClearlooksRe
205 %{_datadir}/themes/Dopple-Left
206 %{_datadir}/themes/Dopple
207 %{_datadir}/themes/DustBlue
208 %{_datadir}/themes/Spidey-Left
209 %{_datadir}/themes/Spidey
210 %{_datadir}/themes/Splint-Left
211 %{_datadir}/themes/Splint
212 %{_datadir}/themes/WinMe
213 %{_datadir}/themes/eOS