]> git.pld-linux.org Git - packages/marco.git/blame - mate-window-manager.spec
marco crashes if mate-control-center is not installed
[packages/marco.git] / mate-window-manager.spec
CommitLineData
ad92460f
ER
1# TODO
2# - subpackages for themes (see metacity.spec)
3# - -libs subpackage
8446ed7d
ER
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
ad92460f
ER
7Summary: MATE Desktop window manager
8Name: mate-window-manager
9Version: 1.5.2
10Release: 0.4
11License: LGPLv2+ and GPLv2+
12Group: X11/Window Managers
13URL: http://mate-desktop.org/
14Source0: http://pub.mate-desktop.org/releases/1.5/%{name}-%{version}.tar.xz
15# https://bugzilla.gnome.org/show_bug.cgi?id=622517
16Patch0: Allow-breaking-out-from-maximization-during-mouse.patch
17# https://bugs.launchpad.net/ubuntu/+source/metacity/+bug/583847
18Patch1: initialise_all_workspace_names.patch
19# upstream patch
20# https://github.com/mate-desktop/mate-window-manager/commit/6404a98fb79e7bb4c3e9c5ca9919e12c946679d7
21Patch2: 0001-fix-startup-rendering-effect-with-composite-enabled.patch
22BuildRequires: desktop-file-utils
23BuildRequires: mate-common
24BuildRequires: mate-dialogs
25BuildRequires: pkgconfig(MateCORBA-2.0)
26BuildRequires: pkgconfig(gsettings-desktop-schemas)
27BuildRequires: pkgconfig(gtk+-2.0)
28BuildRequires: pkgconfig(ice)
29BuildRequires: pkgconfig(libcanberra)
30BuildRequires: pkgconfig(libcanberra-gtk)
31BuildRequires: pkgconfig(libsoup-2.4)
32BuildRequires: pkgconfig(libstartup-notification-1.0)
33BuildRequires: pkgconfig(mate-doc-utils)
34BuildRequires: pkgconfig(sm)
35BuildRequires: pkgconfig(xdamage)
36Requires: glib2 >= 1:2.26.0
37Requires: gsettings-desktop-schemas
8446ed7d 38Suggests: mate-control-center
ad92460f
ER
39Requires(post): /sbin/ldconfig
40Obsoletes: mate-window-manager-libs < 1.4.1-2
41# http://bugzilla.redhat.com/873342
42#Provides: firstboot(windowmanager) = mate-window-manager
43
44#filter_from_requires /^libmarco-private.so/d;
45
46%description
47MATE Desktop window manager
48
49%package devel
50Summary: Development files for mate-window-manager
51Group: Development/Libraries
52Requires: %{name} = %{version}-%{release}
53
54%description devel
55Development files for mate-window-manager
56
57%prep
58%setup -q
59%patch0 -p1
60#patch1 -p1
61%patch2 -p1
62NOCONFIGURE=1 ./autogen.sh
63
64%build
65%configure \
66 --disable-static \
67 --disable-scrollkeeper \
68 --with-gnu-ld \
69 --with-gtk=2.0 \
70 --with-x
71
72%{__make} \
73 V=1
74
75%install
76rm -rf $RPM_BUILD_ROOT
77%{__make} install \
78 DESTDIR=$RPM_BUILD_ROOT
79
80find $RPM_BUILD_ROOT -name '*.la' -exec rm -vf {} ';'
81
82desktop-file-install \
83 --remove-category="MATE" \
84 --delete-original \
85 --dir=$RPM_BUILD_ROOT%{_desktopdir} \
86$RPM_BUILD_ROOT%{_desktopdir}/marco.desktop
87
88%find_lang %{name} --all-name
89
90%clean
91rm -rf $RPM_BUILD_ROOT
92
93%post
94/sbin/ldconfig
95%glib_compile_schemas
96
97%postun
98/sbin/ldconfig
99%glib_compile_schemas
100
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
117%{_datadir}/marco
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.*
124
125# -libs
126%attr(755,root,root) %{_libdir}/libmarco-private.so.*.*.*
127%ghost %{_libdir}/libmarco-private.so.0
128
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
134
135%files devel
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.*
This page took 0.114106 seconds and 4 git commands to generate.