2 # - subpackages for themes (see metacity.spec)
4 #rpm -Uhv mate-window-manager-devel-1.5.2-0.4.i686.rpm
5 # libmarco-private.so.0 is needed by mate-window-manager-devel-1.5.2-0.4.i686
6 # mate-window-manager = 1.5.2-0.4 is needed by mate-window-manager-devel-1.5.2-0.4.i686
7 Summary: MATE Desktop window manager
8 Name: mate-window-manager
11 License: LGPLv2+ and GPLv2+
12 Group: X11/Window Managers
13 URL: http://mate-desktop.org/
14 Source0: http://pub.mate-desktop.org/releases/1.5/%{name}-%{version}.tar.xz
15 # https://bugzilla.gnome.org/show_bug.cgi?id=622517
16 Patch0: Allow-breaking-out-from-maximization-during-mouse.patch
17 # https://bugs.launchpad.net/ubuntu/+source/metacity/+bug/583847
18 Patch1: initialise_all_workspace_names.patch
20 # https://github.com/mate-desktop/mate-window-manager/commit/6404a98fb79e7bb4c3e9c5ca9919e12c946679d7
21 Patch2: 0001-fix-startup-rendering-effect-with-composite-enabled.patch
22 BuildRequires: desktop-file-utils
23 BuildRequires: mate-common
24 BuildRequires: mate-dialogs
25 BuildRequires: pkgconfig(MateCORBA-2.0)
26 BuildRequires: pkgconfig(gsettings-desktop-schemas)
27 BuildRequires: pkgconfig(gtk+-2.0)
28 BuildRequires: pkgconfig(ice)
29 BuildRequires: pkgconfig(libcanberra)
30 BuildRequires: pkgconfig(libcanberra-gtk)
31 BuildRequires: pkgconfig(libsoup-2.4)
32 BuildRequires: pkgconfig(libstartup-notification-1.0)
33 BuildRequires: pkgconfig(mate-doc-utils)
34 BuildRequires: pkgconfig(sm)
35 BuildRequires: pkgconfig(xdamage)
36 Requires: glib2 >= 1:2.26.0
37 Requires: gsettings-desktop-schemas
38 Suggests: mate-control-center
39 Requires(post): /sbin/ldconfig
40 Obsoletes: mate-window-manager-libs < 1.4.1-2
41 # http://bugzilla.redhat.com/873342
42 #Provides: firstboot(windowmanager) = mate-window-manager
44 #filter_from_requires /^libmarco-private.so/d;
47 MATE Desktop window manager
50 Summary: Development files for mate-window-manager
51 Group: Development/Libraries
52 Requires: %{name} = %{version}-%{release}
55 Development files for mate-window-manager
62 NOCONFIGURE=1 ./autogen.sh
67 --disable-scrollkeeper \
76 rm -rf $RPM_BUILD_ROOT
78 DESTDIR=$RPM_BUILD_ROOT
80 find $RPM_BUILD_ROOT -name '*.la' -exec rm -vf {} ';'
82 desktop-file-install \
83 --remove-category="MATE" \
85 --dir=$RPM_BUILD_ROOT%{_desktopdir} \
86 $RPM_BUILD_ROOT%{_desktopdir}/marco.desktop
88 %find_lang %{name} --all-name
91 rm -rf $RPM_BUILD_ROOT
101 %files -f %{name}.lang
102 %defattr(644,root,root,755)
103 %doc AUTHORS COPYING README
104 %attr(755,root,root) %{_bindir}/marco
105 %attr(755,root,root) %{_bindir}/marco-message
106 %{_desktopdir}/marco.desktop
107 %{_datadir}/themes/ClearlooksRe
108 %{_datadir}/themes/Dopple-Left
109 %{_datadir}/themes/Dopple
110 %{_datadir}/themes/DustBlue
111 %{_datadir}/themes/Spidey-Left
112 %{_datadir}/themes/Spidey
113 %{_datadir}/themes/Splint-Left
114 %{_datadir}/themes/Splint
115 %{_datadir}/themes/WinMe
116 %{_datadir}/themes/eOS
118 %{_datadir}/mate-control-center/keybindings/50-marco*.xml
119 %{_datadir}/mate/help/creating-marco-themes/C/creating-marco-themes.xml
120 %{_datadir}/mate/wm-properties
121 %{_datadir}/glib-2.0/schemas/org.mate.marco.gschema.xml
122 %{_mandir}/man1/marco.1.*
123 %{_mandir}/man1/marco-message.1.*
126 %attr(755,root,root) %{_libdir}/libmarco-private.so.*.*.*
127 %ghost %{_libdir}/libmarco-private.so.0
129 # XXX find proper packages
130 %dir %{_datadir}/mate-control-center
131 %dir %{_datadir}/mate-control-center/keybindings
132 %dir %{_datadir}/mate/help/creating-marco-themes
133 %dir %{_datadir}/mate/help/creating-marco-themes/C
136 %defattr(644,root,root,755)
137 %attr(755,root,root) %{_bindir}/marco-theme-viewer
138 %attr(755,root,root) %{_bindir}/marco-window-demo
139 %{_includedir}/marco-1
140 %{_libdir}/libmarco-private.so
141 %{_pkgconfigdir}/libmarco-private.pc
142 %{_mandir}/man1/marco-theme-viewer.1.*
143 %{_mandir}/man1/marco-window-demo.1.*