]> git.pld-linux.org Git - packages/marco.git/blame - mate-window-manager.spec
up to 1.5.5
[packages/marco.git] / mate-window-manager.spec
CommitLineData
ad92460f
ER
1# TODO
2# - subpackages for themes (see metacity.spec)
39cadd2d 3# - find proper packages for %files
ad92460f
ER
4Summary: MATE Desktop window manager
5Name: mate-window-manager
15894280 6Version: 1.5.5
ed06769f 7Release: 1
3f0ec508 8License: LGPL v2+ and GPL v2+
ad92460f 9Group: X11/Window Managers
ad92460f 10Source0: http://pub.mate-desktop.org/releases/1.5/%{name}-%{version}.tar.xz
15894280 11# Source0-md5: f2868ee59c9e564ac7055139df9e918d
ad92460f
ER
12# https://bugzilla.gnome.org/show_bug.cgi?id=622517
13Patch0: Allow-breaking-out-from-maximization-during-mouse.patch
14# https://bugs.launchpad.net/ubuntu/+source/metacity/+bug/583847
15Patch1: initialise_all_workspace_names.patch
3f0ec508 16URL: http://wiki.mate-desktop.org/mate-window-manager
ad92460f 17BuildRequires: desktop-file-utils
3f0ec508
ER
18BuildRequires: gtk+2-devel
19BuildRequires: libcanberra-devel
20BuildRequires: libcanberra-gtk-devel
ad92460f 21BuildRequires: mate-common
3f0ec508
ER
22BuildRequires: mate-doc-utils
23BuildRequires: startup-notification-devel
91ab70d8 24BuildRequires: tar >= 1:1.22
3f0ec508
ER
25BuildRequires: xorg-lib-libICE-devel
26BuildRequires: xorg-lib-libSM-devel
27BuildRequires: xorg-lib-libXdamage-devel
91ab70d8 28BuildRequires: xz
0af0c20f 29Requires: %{name}-libs = %{version}-%{release}
ad92460f
ER
30Requires: glib2 >= 1:2.26.0
31Requires: gsettings-desktop-schemas
8446ed7d 32Suggests: mate-control-center
39cadd2d
ER
33# can use any gtk+2 themes nicely, Adwaita specially
34Suggests: %{name}-themes
ad92460f 35Requires(post): /sbin/ldconfig
779bb836 36Requires: mate-icon-theme
063e08a9 37Requires: mate-settings-daemon
ad92460f
ER
38Obsoletes: mate-window-manager-libs < 1.4.1-2
39# http://bugzilla.redhat.com/873342
40#Provides: firstboot(windowmanager) = mate-window-manager
0af0c20f 41BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
ad92460f
ER
42
43%description
3f0ec508 44MATE Desktop window manager.
ad92460f 45
0af0c20f
ER
46%package libs
47Summary: marco library
48Summary(pl.UTF-8): marco biblioteka
49Group: X11/Libraries
50
51%description libs
52This package contains libraries for MATE window manager.
53
54%description libs -l pl.UTF-8
55Pakiet zawierający biblioteki zarządcy okien MATE.
56
ad92460f
ER
57%package devel
58Summary: Development files for mate-window-manager
59Group: Development/Libraries
0af0c20f 60Requires: %{name}-libs = %{version}-%{release}
ad92460f
ER
61
62%description devel
63Development files for mate-window-manager
64
39cadd2d
ER
65%package themes
66Summary: Themes for Mate Window Manager
67Group: Themes/GTK+
68Requires: %{name} = %{version}-%{release}
69
70%description themes
71Themes for Mate Window Manager.
72
ad92460f
ER
73%prep
74%setup -q
75%patch0 -p1
76#patch1 -p1
ad92460f
ER
77
78%build
08d66458 79NOCONFIGURE=1 ./autogen.sh
ad92460f 80%configure \
3f0ec508 81 MATEDIALOG=%{_bindir}/matedialog \
ad92460f
ER
82 --disable-static \
83 --disable-scrollkeeper \
84 --with-gnu-ld \
85 --with-gtk=2.0 \
86 --with-x
87
88%{__make} \
89 V=1
90
91%install
92rm -rf $RPM_BUILD_ROOT
93%{__make} install \
94 DESTDIR=$RPM_BUILD_ROOT
95
5e1a3c42
ER
96%{__rm} $RPM_BUILD_ROOT%{_libdir}/libmarco-private.la
97
98# mate < 1.5 did not exist in pld, avoid dependency on mate-conf
99%{__rm} $RPM_BUILD_ROOT%{_datadir}/MateConf/gsettings/marco.convert
ad92460f
ER
100
101desktop-file-install \
102 --remove-category="MATE" \
103 --delete-original \
104 --dir=$RPM_BUILD_ROOT%{_desktopdir} \
105$RPM_BUILD_ROOT%{_desktopdir}/marco.desktop
106
107%find_lang %{name} --all-name
108
109%clean
110rm -rf $RPM_BUILD_ROOT
111
112%post
113/sbin/ldconfig
114%glib_compile_schemas
115
116%postun
117/sbin/ldconfig
118%glib_compile_schemas
119
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
39cadd2d
ER
126%{_datadir}/marco
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
39cadd2d
ER
131%{_mandir}/man1/marco.1.*
132%{_mandir}/man1/marco-message.1.*
133
5e1a3c42
ER
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
139
39cadd2d
ER
140%files themes
141%defattr(644,root,root,755)
ad92460f
ER
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
ad92460f 152
0af0c20f
ER
153%files libs
154%defattr(644,root,root,755)
155%attr(755,root,root) %{_libdir}/libmarco-private.so.*.*.*
156%ghost %{_libdir}/libmarco-private.so.0
157
ad92460f
ER
158%files devel
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.*
This page took 0.088329 seconds and 4 git commands to generate.