]> git.pld-linux.org Git - packages/marco.git/blame - mate-window-manager.spec
run autogen in build section
[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
ad92460f
ER
13Source0: http://pub.mate-desktop.org/releases/1.5/%{name}-%{version}.tar.xz
14# https://bugzilla.gnome.org/show_bug.cgi?id=622517
15Patch0: Allow-breaking-out-from-maximization-during-mouse.patch
16# https://bugs.launchpad.net/ubuntu/+source/metacity/+bug/583847
17Patch1: initialise_all_workspace_names.patch
18# upstream patch
19# https://github.com/mate-desktop/mate-window-manager/commit/6404a98fb79e7bb4c3e9c5ca9919e12c946679d7
20Patch2: 0001-fix-startup-rendering-effect-with-composite-enabled.patch
91ab70d8 21URL: http://mate-desktop.org/
ad92460f
ER
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)
91ab70d8
ER
36BuildRequires: tar >= 1:1.22
37BuildRequires: xz
ad92460f
ER
38Requires: glib2 >= 1:2.26.0
39Requires: gsettings-desktop-schemas
8446ed7d 40Suggests: mate-control-center
ad92460f
ER
41Requires(post): /sbin/ldconfig
42Obsoletes: mate-window-manager-libs < 1.4.1-2
43# http://bugzilla.redhat.com/873342
44#Provides: firstboot(windowmanager) = mate-window-manager
45
46#filter_from_requires /^libmarco-private.so/d;
47
48%description
49MATE Desktop window manager
50
51%package devel
52Summary: Development files for mate-window-manager
53Group: Development/Libraries
54Requires: %{name} = %{version}-%{release}
55
56%description devel
57Development files for mate-window-manager
58
59%prep
60%setup -q
61%patch0 -p1
62#patch1 -p1
63%patch2 -p1
ad92460f
ER
64
65%build
08d66458 66NOCONFIGURE=1 ./autogen.sh
ad92460f
ER
67%configure \
68 --disable-static \
69 --disable-scrollkeeper \
70 --with-gnu-ld \
71 --with-gtk=2.0 \
72 --with-x
73
74%{__make} \
75 V=1
76
77%install
78rm -rf $RPM_BUILD_ROOT
79%{__make} install \
80 DESTDIR=$RPM_BUILD_ROOT
81
82find $RPM_BUILD_ROOT -name '*.la' -exec rm -vf {} ';'
83
84desktop-file-install \
85 --remove-category="MATE" \
86 --delete-original \
87 --dir=$RPM_BUILD_ROOT%{_desktopdir} \
88$RPM_BUILD_ROOT%{_desktopdir}/marco.desktop
89
90%find_lang %{name} --all-name
91
92%clean
93rm -rf $RPM_BUILD_ROOT
94
95%post
96/sbin/ldconfig
97%glib_compile_schemas
98
99%postun
100/sbin/ldconfig
101%glib_compile_schemas
102
103%files -f %{name}.lang
104%defattr(644,root,root,755)
105%doc AUTHORS COPYING README
106%attr(755,root,root) %{_bindir}/marco
107%attr(755,root,root) %{_bindir}/marco-message
108%{_desktopdir}/marco.desktop
109%{_datadir}/themes/ClearlooksRe
110%{_datadir}/themes/Dopple-Left
111%{_datadir}/themes/Dopple
112%{_datadir}/themes/DustBlue
113%{_datadir}/themes/Spidey-Left
114%{_datadir}/themes/Spidey
115%{_datadir}/themes/Splint-Left
116%{_datadir}/themes/Splint
117%{_datadir}/themes/WinMe
118%{_datadir}/themes/eOS
119%{_datadir}/marco
120%{_datadir}/mate-control-center/keybindings/50-marco*.xml
121%{_datadir}/mate/help/creating-marco-themes/C/creating-marco-themes.xml
122%{_datadir}/mate/wm-properties
123%{_datadir}/glib-2.0/schemas/org.mate.marco.gschema.xml
124%{_mandir}/man1/marco.1.*
125%{_mandir}/man1/marco-message.1.*
126
127# -libs
128%attr(755,root,root) %{_libdir}/libmarco-private.so.*.*.*
129%ghost %{_libdir}/libmarco-private.so.0
130
131# XXX find proper packages
132%dir %{_datadir}/mate-control-center
133%dir %{_datadir}/mate-control-center/keybindings
134%dir %{_datadir}/mate/help/creating-marco-themes
135%dir %{_datadir}/mate/help/creating-marco-themes/C
136
137%files devel
138%defattr(644,root,root,755)
139%attr(755,root,root) %{_bindir}/marco-theme-viewer
140%attr(755,root,root) %{_bindir}/marco-window-demo
141%{_includedir}/marco-1
142%{_libdir}/libmarco-private.so
143%{_pkgconfigdir}/libmarco-private.pc
144%{_mandir}/man1/marco-theme-viewer.1.*
145%{_mandir}/man1/marco-window-demo.1.*
This page took 0.112715 seconds and 4 git commands to generate.