]> git.pld-linux.org Git - packages/marco.git/blame - mate-window-manager.spec
up to 1.5.3
[packages/marco.git] / mate-window-manager.spec
CommitLineData
ad92460f
ER
1# TODO
2# - subpackages for themes (see metacity.spec)
ad92460f
ER
3Summary: MATE Desktop window manager
4Name: mate-window-manager
3f0ec508 5Version: 1.5.3
0af0c20f 6Release: 0.5
3f0ec508 7License: LGPL v2+ and GPL v2+
ad92460f 8Group: X11/Window Managers
ad92460f 9Source0: http://pub.mate-desktop.org/releases/1.5/%{name}-%{version}.tar.xz
3f0ec508 10# Source0-md5: b3ce71f9db8563db1571f8ed80a543e3
ad92460f
ER
11# https://bugzilla.gnome.org/show_bug.cgi?id=622517
12Patch0: Allow-breaking-out-from-maximization-during-mouse.patch
13# https://bugs.launchpad.net/ubuntu/+source/metacity/+bug/583847
14Patch1: initialise_all_workspace_names.patch
3f0ec508 15URL: http://wiki.mate-desktop.org/mate-window-manager
ad92460f 16BuildRequires: desktop-file-utils
3f0ec508
ER
17BuildRequires: gsettings-desktop-schemas-devel
18BuildRequires: gtk+2-devel
19BuildRequires: libcanberra-devel
20BuildRequires: libcanberra-gtk-devel
21BuildRequires: libsoup-devel
ad92460f 22BuildRequires: mate-common
3f0ec508
ER
23BuildRequires: mate-doc-utils
24BuildRequires: startup-notification-devel
91ab70d8 25BuildRequires: tar >= 1:1.22
3f0ec508
ER
26BuildRequires: xorg-lib-libICE-devel
27BuildRequires: xorg-lib-libSM-devel
28BuildRequires: xorg-lib-libXdamage-devel
91ab70d8 29BuildRequires: xz
0af0c20f 30Requires: %{name}-libs = %{version}-%{release}
ad92460f
ER
31Requires: glib2 >= 1:2.26.0
32Requires: gsettings-desktop-schemas
8446ed7d 33Suggests: mate-control-center
ad92460f
ER
34Requires(post): /sbin/ldconfig
35Obsoletes: mate-window-manager-libs < 1.4.1-2
36# http://bugzilla.redhat.com/873342
37#Provides: firstboot(windowmanager) = mate-window-manager
0af0c20f 38BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
ad92460f
ER
39
40%description
3f0ec508 41MATE Desktop window manager.
ad92460f 42
0af0c20f
ER
43%package libs
44Summary: marco library
45Summary(pl.UTF-8): marco biblioteka
46Group: X11/Libraries
47
48%description libs
49This package contains libraries for MATE window manager.
50
51%description libs -l pl.UTF-8
52Pakiet zawierający biblioteki zarządcy okien MATE.
53
ad92460f
ER
54%package devel
55Summary: Development files for mate-window-manager
56Group: Development/Libraries
0af0c20f 57Requires: %{name}-libs = %{version}-%{release}
ad92460f
ER
58
59%description devel
60Development files for mate-window-manager
61
62%prep
63%setup -q
64%patch0 -p1
65#patch1 -p1
ad92460f
ER
66
67%build
08d66458 68NOCONFIGURE=1 ./autogen.sh
ad92460f 69%configure \
3f0ec508 70 MATEDIALOG=%{_bindir}/matedialog \
ad92460f
ER
71 --disable-static \
72 --disable-scrollkeeper \
73 --with-gnu-ld \
74 --with-gtk=2.0 \
75 --with-x
76
77%{__make} \
78 V=1
79
80%install
81rm -rf $RPM_BUILD_ROOT
82%{__make} install \
83 DESTDIR=$RPM_BUILD_ROOT
84
85find $RPM_BUILD_ROOT -name '*.la' -exec rm -vf {} ';'
86
87desktop-file-install \
88 --remove-category="MATE" \
89 --delete-original \
90 --dir=$RPM_BUILD_ROOT%{_desktopdir} \
91$RPM_BUILD_ROOT%{_desktopdir}/marco.desktop
92
93%find_lang %{name} --all-name
94
95%clean
96rm -rf $RPM_BUILD_ROOT
97
98%post
99/sbin/ldconfig
100%glib_compile_schemas
101
102%postun
103/sbin/ldconfig
104%glib_compile_schemas
105
106%files -f %{name}.lang
107%defattr(644,root,root,755)
108%doc AUTHORS COPYING README
109%attr(755,root,root) %{_bindir}/marco
110%attr(755,root,root) %{_bindir}/marco-message
111%{_desktopdir}/marco.desktop
112%{_datadir}/themes/ClearlooksRe
113%{_datadir}/themes/Dopple-Left
114%{_datadir}/themes/Dopple
115%{_datadir}/themes/DustBlue
116%{_datadir}/themes/Spidey-Left
117%{_datadir}/themes/Spidey
118%{_datadir}/themes/Splint-Left
119%{_datadir}/themes/Splint
120%{_datadir}/themes/WinMe
121%{_datadir}/themes/eOS
122%{_datadir}/marco
123%{_datadir}/mate-control-center/keybindings/50-marco*.xml
124%{_datadir}/mate/help/creating-marco-themes/C/creating-marco-themes.xml
125%{_datadir}/mate/wm-properties
126%{_datadir}/glib-2.0/schemas/org.mate.marco.gschema.xml
3f0ec508 127%{_datadir}/MateConf/gsettings/marco.convert
ad92460f
ER
128%{_mandir}/man1/marco.1.*
129%{_mandir}/man1/marco-message.1.*
130
ad92460f
ER
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
0af0c20f
ER
137%files libs
138%defattr(644,root,root,755)
139%attr(755,root,root) %{_libdir}/libmarco-private.so.*.*.*
140%ghost %{_libdir}/libmarco-private.so.0
141
ad92460f
ER
142%files devel
143%defattr(644,root,root,755)
144%attr(755,root,root) %{_bindir}/marco-theme-viewer
145%attr(755,root,root) %{_bindir}/marco-window-demo
146%{_includedir}/marco-1
147%{_libdir}/libmarco-private.so
148%{_pkgconfigdir}/libmarco-private.pc
149%{_mandir}/man1/marco-theme-viewer.1.*
150%{_mandir}/man1/marco-window-demo.1.*
This page took 0.092464 seconds and 4 git commands to generate.