2 # - subpackages for themes (see metacity.spec)
3 # - find proper packages for %files
4 Summary: MATE Desktop window manager
5 Name: mate-window-manager
8 License: LGPL v2+ and GPL v2+
9 Group: X11/Window Managers
10 Source0: http://pub.mate-desktop.org/releases/1.5/%{name}-%{version}.tar.xz
11 # Source0-md5: b3ce71f9db8563db1571f8ed80a543e3
12 # https://bugzilla.gnome.org/show_bug.cgi?id=622517
13 Patch0: Allow-breaking-out-from-maximization-during-mouse.patch
14 # https://bugs.launchpad.net/ubuntu/+source/metacity/+bug/583847
15 Patch1: initialise_all_workspace_names.patch
16 URL: http://wiki.mate-desktop.org/mate-window-manager
17 BuildRequires: desktop-file-utils
18 BuildRequires: gsettings-desktop-schemas-devel
19 BuildRequires: gtk+2-devel
20 BuildRequires: libcanberra-devel
21 BuildRequires: libcanberra-gtk-devel
22 BuildRequires: libsoup-devel
23 BuildRequires: mate-common
24 BuildRequires: mate-doc-utils
25 BuildRequires: startup-notification-devel
26 BuildRequires: tar >= 1:1.22
27 BuildRequires: xorg-lib-libICE-devel
28 BuildRequires: xorg-lib-libSM-devel
29 BuildRequires: xorg-lib-libXdamage-devel
31 Requires: %{name}-libs = %{version}-%{release}
32 Requires: glib2 >= 1:2.26.0
33 Requires: gsettings-desktop-schemas
34 Suggests: mate-control-center
35 # can use any gtk+2 themes nicely, Adwaita specially
36 Suggests: %{name}-themes
37 Requires(post): /sbin/ldconfig
38 Obsoletes: mate-window-manager-libs < 1.4.1-2
39 # http://bugzilla.redhat.com/873342
40 #Provides: firstboot(windowmanager) = mate-window-manager
41 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
44 MATE Desktop window manager.
47 Summary: marco library
48 Summary(pl.UTF-8): marco biblioteka
52 This package contains libraries for MATE window manager.
54 %description libs -l pl.UTF-8
55 Pakiet zawierający biblioteki zarządcy okien MATE.
58 Summary: Development files for mate-window-manager
59 Group: Development/Libraries
60 Requires: %{name}-libs = %{version}-%{release}
63 Development files for mate-window-manager
66 Summary: Themes for Mate Window Manager
68 Requires: %{name} = %{version}-%{release}
71 Themes for Mate Window Manager.
79 NOCONFIGURE=1 ./autogen.sh
81 MATEDIALOG=%{_bindir}/matedialog \
83 --disable-scrollkeeper \
92 rm -rf $RPM_BUILD_ROOT
94 DESTDIR=$RPM_BUILD_ROOT
96 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libmarco-private.la
98 # mate < 1.5 did not exist in pld, avoid dependency on mate-conf
99 %{__rm} $RPM_BUILD_ROOT%{_datadir}/MateConf/gsettings/marco.convert
101 desktop-file-install \
102 --remove-category="MATE" \
104 --dir=$RPM_BUILD_ROOT%{_desktopdir} \
105 $RPM_BUILD_ROOT%{_desktopdir}/marco.desktop
107 %find_lang %{name} --all-name
110 rm -rf $RPM_BUILD_ROOT
114 %glib_compile_schemas
118 %glib_compile_schemas
120 %files -f %{name}.lang
121 %defattr(644,root,root,755)
122 %doc AUTHORS COPYING README
123 %attr(755,root,root) %{_bindir}/marco
124 %attr(755,root,root) %{_bindir}/marco-message
125 %{_desktopdir}/marco.desktop
127 %{_datadir}/mate-control-center/keybindings/50-marco*.xml
128 %{_datadir}/mate/help/creating-marco-themes/C/creating-marco-themes.xml
129 %{_datadir}/mate/wm-properties
130 %{_datadir}/glib-2.0/schemas/org.mate.marco.gschema.xml
131 %{_mandir}/man1/marco.1.*
132 %{_mandir}/man1/marco-message.1.*
134 # XXX find proper packages
135 %dir %{_datadir}/mate-control-center
136 %dir %{_datadir}/mate-control-center/keybindings
137 %dir %{_datadir}/mate/help/creating-marco-themes
138 %dir %{_datadir}/mate/help/creating-marco-themes/C
141 %defattr(644,root,root,755)
142 %{_datadir}/themes/ClearlooksRe
143 %{_datadir}/themes/Dopple-Left
144 %{_datadir}/themes/Dopple
145 %{_datadir}/themes/DustBlue
146 %{_datadir}/themes/Spidey-Left
147 %{_datadir}/themes/Spidey
148 %{_datadir}/themes/Splint-Left
149 %{_datadir}/themes/Splint
150 %{_datadir}/themes/WinMe
151 %{_datadir}/themes/eOS
154 %defattr(644,root,root,755)
155 %attr(755,root,root) %{_libdir}/libmarco-private.so.*.*.*
156 %ghost %{_libdir}/libmarco-private.so.0
159 %defattr(644,root,root,755)
160 %attr(755,root,root) %{_bindir}/marco-theme-viewer
161 %attr(755,root,root) %{_bindir}/marco-window-demo
162 %{_includedir}/marco-1
163 %{_libdir}/libmarco-private.so
164 %{_pkgconfigdir}/libmarco-private.pc
165 %{_mandir}/man1/marco-theme-viewer.1.*
166 %{_mandir}/man1/marco-window-demo.1.*