]>
Commit | Line | Data |
---|---|---|
ad92460f ER |
1 | # TODO |
2 | # - subpackages for themes (see metacity.spec) | |
ad92460f ER |
3 | Summary: MATE Desktop window manager |
4 | Name: mate-window-manager | |
3f0ec508 | 5 | Version: 1.5.3 |
0af0c20f | 6 | Release: 0.5 |
3f0ec508 | 7 | License: LGPL v2+ and GPL v2+ |
ad92460f | 8 | Group: X11/Window Managers |
ad92460f | 9 | Source0: 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 |
12 | Patch0: Allow-breaking-out-from-maximization-during-mouse.patch | |
13 | # https://bugs.launchpad.net/ubuntu/+source/metacity/+bug/583847 | |
14 | Patch1: initialise_all_workspace_names.patch | |
3f0ec508 | 15 | URL: http://wiki.mate-desktop.org/mate-window-manager |
ad92460f | 16 | BuildRequires: desktop-file-utils |
3f0ec508 ER |
17 | BuildRequires: gsettings-desktop-schemas-devel |
18 | BuildRequires: gtk+2-devel | |
19 | BuildRequires: libcanberra-devel | |
20 | BuildRequires: libcanberra-gtk-devel | |
21 | BuildRequires: libsoup-devel | |
ad92460f | 22 | BuildRequires: mate-common |
3f0ec508 ER |
23 | BuildRequires: mate-doc-utils |
24 | BuildRequires: startup-notification-devel | |
91ab70d8 | 25 | BuildRequires: tar >= 1:1.22 |
3f0ec508 ER |
26 | BuildRequires: xorg-lib-libICE-devel |
27 | BuildRequires: xorg-lib-libSM-devel | |
28 | BuildRequires: xorg-lib-libXdamage-devel | |
91ab70d8 | 29 | BuildRequires: xz |
0af0c20f | 30 | Requires: %{name}-libs = %{version}-%{release} |
ad92460f ER |
31 | Requires: glib2 >= 1:2.26.0 |
32 | Requires: gsettings-desktop-schemas | |
8446ed7d | 33 | Suggests: mate-control-center |
ad92460f ER |
34 | Requires(post): /sbin/ldconfig |
35 | Obsoletes: mate-window-manager-libs < 1.4.1-2 | |
36 | # http://bugzilla.redhat.com/873342 | |
37 | #Provides: firstboot(windowmanager) = mate-window-manager | |
0af0c20f | 38 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
ad92460f ER |
39 | |
40 | %description | |
3f0ec508 | 41 | MATE Desktop window manager. |
ad92460f | 42 | |
0af0c20f ER |
43 | %package libs |
44 | Summary: marco library | |
45 | Summary(pl.UTF-8): marco biblioteka | |
46 | Group: X11/Libraries | |
47 | ||
48 | %description libs | |
49 | This package contains libraries for MATE window manager. | |
50 | ||
51 | %description libs -l pl.UTF-8 | |
52 | Pakiet zawierający biblioteki zarządcy okien MATE. | |
53 | ||
ad92460f ER |
54 | %package devel |
55 | Summary: Development files for mate-window-manager | |
56 | Group: Development/Libraries | |
0af0c20f | 57 | Requires: %{name}-libs = %{version}-%{release} |
ad92460f ER |
58 | |
59 | %description devel | |
60 | Development files for mate-window-manager | |
61 | ||
62 | %prep | |
63 | %setup -q | |
64 | %patch0 -p1 | |
65 | #patch1 -p1 | |
ad92460f ER |
66 | |
67 | %build | |
08d66458 | 68 | NOCONFIGURE=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 | |
81 | rm -rf $RPM_BUILD_ROOT | |
82 | %{__make} install \ | |
83 | DESTDIR=$RPM_BUILD_ROOT | |
84 | ||
85 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -vf {} ';' | |
86 | ||
87 | desktop-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 | |
96 | rm -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.* |