]>
Commit | Line | Data |
---|---|---|
ad92460f ER |
1 | # TODO |
2 | # - subpackages for themes (see metacity.spec) | |
39cadd2d | 3 | # - find proper packages for %files |
ccc00ddb | 4 | # |
ad92460f | 5 | Summary: MATE Desktop window manager |
ccc00ddb | 6 | Summary(pl.UTF-8): Zarządca okien środowiska MATE Desktop |
3a49286f | 7 | Name: marco |
048ad9a4 | 8 | Version: 1.28.1 |
6a18685c | 9 | Release: 1 |
3f0ec508 | 10 | License: LGPL v2+ and GPL v2+ |
ad92460f | 11 | Group: X11/Window Managers |
048ad9a4 JB |
12 | Source0: https://pub.mate-desktop.org/releases/1.28/%{name}-%{version}.tar.xz |
13 | # Source0-md5: 1d627834570fb84b0145b2715ed4c46c | |
fbea9997 | 14 | URL: https://wiki.mate-desktop.org/mate-desktop/components/marco/ |
048ad9a4 | 15 | BuildRequires: autoconf >= 2.58 |
3a49286f | 16 | BuildRequires: automake |
ad92460f | 17 | BuildRequires: desktop-file-utils |
ccc00ddb | 18 | BuildRequires: gdk-pixbuf2-devel >= 2.0 |
5925b081 | 19 | BuildRequires: gettext-tools >= 0.19.8 |
0e0e6d68 | 20 | BuildRequires: glib2-devel >= 1:2.68.0 |
88e83f18 | 21 | BuildRequires: gtk+3-devel >= 3.22.0 |
b59e85c1 | 22 | BuildRequires: libcanberra-gtk3-devel |
736d2274 | 23 | BuildRequires: libgtop-devel >= 2.0 |
ad92460f | 24 | BuildRequires: mate-common |
048ad9a4 | 25 | BuildRequires: mate-desktop-devel >= 1.27.1 |
ccc00ddb | 26 | BuildRequires: pango-devel >= 1:1.2.0 |
5925b081 | 27 | BuildRequires: pkgconfig |
e0444e6a | 28 | BuildRequires: rpmbuild(find_lang) >= 1.36 |
fbea9997 | 29 | BuildRequires: rpmbuild(macros) >= 1.592 |
ccc00ddb | 30 | BuildRequires: startup-notification-devel >= 0.7 |
91ab70d8 | 31 | BuildRequires: tar >= 1:1.22 |
3f0ec508 ER |
32 | BuildRequires: xorg-lib-libICE-devel |
33 | BuildRequires: xorg-lib-libSM-devel | |
ccc00ddb | 34 | BuildRequires: xorg-lib-libX11-devel |
ddfdb2b8 | 35 | BuildRequires: xorg-lib-libXcomposite-devel >= 0.3 |
ccc00ddb | 36 | BuildRequires: xorg-lib-libXcursor-devel |
3f0ec508 | 37 | BuildRequires: xorg-lib-libXdamage-devel |
5925b081 | 38 | BuildRequires: xorg-lib-libXext-devel |
736d2274 | 39 | BuildRequires: xorg-lib-libXfixes-devel |
ccc00ddb | 40 | BuildRequires: xorg-lib-libXinerama-devel |
f71908f5 | 41 | BuildRequires: xorg-lib-libXpresent-devel |
ccc00ddb JB |
42 | BuildRequires: xorg-lib-libXrandr-devel |
43 | BuildRequires: xorg-lib-libXrender-devel | |
048ad9a4 | 44 | BuildRequires: xorg-lib-libXres-devel >= 1.2.0 |
91ab70d8 | 45 | BuildRequires: xz |
5ac9c40b | 46 | BuildRequires: yelp-tools |
0af0c20f | 47 | Requires: %{name}-libs = %{version}-%{release} |
0e0e6d68 | 48 | Requires: glib2 >= 1:2.68.0 |
ad92460f | 49 | Requires: gsettings-desktop-schemas |
88e83f18 | 50 | Requires: gtk+3 >= 3.22.0 |
ccc00ddb JB |
51 | Requires: mate-icon-theme |
52 | Requires: mate-settings-daemon | |
cfe3620b | 53 | Requires: zenity |
8446ed7d | 54 | Suggests: mate-control-center |
39cadd2d ER |
55 | # can use any gtk+2 themes nicely, Adwaita specially |
56 | Suggests: %{name}-themes | |
fbea9997 | 57 | Obsoletes: mate-window-manager < 1.8.0 |
0af0c20f | 58 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
ad92460f ER |
59 | |
60 | %description | |
ccc00ddb JB |
61 | MATE Desktop window manager. MATE Marco is a fork of GNOME Metacity. |
62 | ||
63 | %description -l pl.UTF-8 | |
64 | Zarządca okien środowiska MATE Desktop. MATE Marco to odgałęzienie | |
65 | pakietu GNOME Metacity. | |
ad92460f | 66 | |
0af0c20f | 67 | %package libs |
ccc00ddb JB |
68 | Summary: Marco (MATE window manager) library |
69 | Summary(pl.UTF-8): Biblioteka Macro (zarządcy okien MATE) | |
0af0c20f | 70 | Group: X11/Libraries |
0e0e6d68 | 71 | Requires: glib2 >= 1:2.68.0 |
88e83f18 | 72 | Requires: gtk+3 >= 3.22.0 |
048ad9a4 | 73 | Requires: mate-desktop-libs >= 1.27.1 |
ccc00ddb JB |
74 | Requires: pango >= 1:1.2.0 |
75 | Requires: startup-notification >= 0.7 | |
ddfdb2b8 | 76 | Requires: xorg-lib-libXcomposite >= 0.3 |
048ad9a4 | 77 | Requires: xorg-lib-libXres >= 1.2.0 |
fbea9997 | 78 | Obsoletes: mate-window-manager-libs < 1.8.0 |
0af0c20f ER |
79 | |
80 | %description libs | |
ccc00ddb JB |
81 | This package contains the shared library for Marco, the MATE window |
82 | manager. | |
0af0c20f ER |
83 | |
84 | %description libs -l pl.UTF-8 | |
ccc00ddb JB |
85 | Pakiet zawierający bibliotekę współdzieloną Marco (zarządcy okien |
86 | MATE). | |
0af0c20f | 87 | |
ad92460f | 88 | %package devel |
ccc00ddb JB |
89 | Summary: Development files for Marco (Mate window manager) |
90 | Summary(pl.UTF-8): Pliki programistyczne Marco (zarządcy okien MATE) | |
ad92460f | 91 | Group: Development/Libraries |
0af0c20f | 92 | Requires: %{name}-libs = %{version}-%{release} |
0e0e6d68 | 93 | Requires: glib2-devel >= 1:2.68.0 |
88e83f18 | 94 | Requires: gtk+3-devel >= 3.22.0 |
048ad9a4 | 95 | Requires: mate-desktop-devel >= 1.27.1 |
fbea9997 | 96 | Obsoletes: mate-window-manager-devel < 1.8.0 |
ad92460f ER |
97 | |
98 | %description devel | |
ccc00ddb JB |
99 | Development files for Marco (Mate window manager). |
100 | ||
101 | %description devel -l pl.UTF-8 | |
102 | Pliki programistyczne Marco (zarządcy okien MATE). | |
ad92460f | 103 | |
39cadd2d | 104 | %package themes |
ccc00ddb JB |
105 | Summary: Themes for MATE Window Manager |
106 | Summary(pl.UTF-8): Motywy dla zarządcy okien MATE | |
39cadd2d ER |
107 | Group: Themes/GTK+ |
108 | Requires: %{name} = %{version}-%{release} | |
fbea9997 | 109 | Obsoletes: mate-window-manager-themes < 1.8.0 |
39cadd2d ER |
110 | |
111 | %description themes | |
ccc00ddb JB |
112 | Themes for MATE Window Manager. |
113 | ||
114 | %description themes -l pl.UTF-8 | |
115 | Motywy dla zarządcy okien MATE | |
39cadd2d | 116 | |
ad92460f ER |
117 | %prep |
118 | %setup -q | |
ad92460f ER |
119 | |
120 | %build | |
3a49286f JP |
121 | %{__libtoolize} |
122 | %{__aclocal} -I m4 | |
123 | %{__autoconf} | |
124 | %{__autoheader} | |
125 | %{__automake} | |
ad92460f | 126 | %configure \ |
e7311a42 | 127 | ZENITY=%{_bindir}/zenity \ |
ccc00ddb | 128 | --disable-scrollkeeper \ |
e0444e6a | 129 | --disable-silent-rules \ |
ad92460f | 130 | --disable-static \ |
ad92460f | 131 | --with-gnu-ld \ |
ad92460f ER |
132 | --with-x |
133 | ||
e0444e6a | 134 | %{__make} |
ad92460f ER |
135 | |
136 | %install | |
137 | rm -rf $RPM_BUILD_ROOT | |
fbea9997 | 138 | |
ad92460f ER |
139 | %{__make} install \ |
140 | DESTDIR=$RPM_BUILD_ROOT | |
141 | ||
5e1a3c42 ER |
142 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libmarco-private.la |
143 | ||
88e83f18 | 144 | # ku_IQ is outdated version of ku; the rest not supported by glibc |
eff63c29 | 145 | %{__rm} -r $RPM_BUILD_ROOT%{_localedir}/{frp,ie,jv,ku_IQ} |
358f0f21 | 146 | |
ad92460f ER |
147 | desktop-file-install \ |
148 | --remove-category="MATE" \ | |
149 | --delete-original \ | |
ccc00ddb JB |
150 | --dir=$RPM_BUILD_ROOT%{_desktopdir} \ |
151 | $RPM_BUILD_ROOT%{_desktopdir}/marco.desktop | |
ad92460f | 152 | |
e0444e6a | 153 | %find_lang %{name} --all-name --with-mate |
ad92460f ER |
154 | |
155 | %clean | |
156 | rm -rf $RPM_BUILD_ROOT | |
157 | ||
158 | %post | |
ad92460f ER |
159 | %glib_compile_schemas |
160 | ||
161 | %postun | |
ad92460f ER |
162 | %glib_compile_schemas |
163 | ||
ccc00ddb JB |
164 | %post libs -p /sbin/ldconfig |
165 | %postun libs -p /sbin/ldconfig | |
166 | ||
ad92460f ER |
167 | %files -f %{name}.lang |
168 | %defattr(644,root,root,755) | |
ccc00ddb | 169 | %doc AUTHORS ChangeLog NEWS README |
ad92460f ER |
170 | %attr(755,root,root) %{_bindir}/marco |
171 | %attr(755,root,root) %{_bindir}/marco-message | |
3a49286f | 172 | %{_datadir}/marco |
39cadd2d | 173 | %{_datadir}/mate-control-center/keybindings/50-marco*.xml |
ccc00ddb JB |
174 | %dir %{_datadir}/mate/wm-properties |
175 | %{_datadir}/mate/wm-properties/marco-wm.desktop | |
39cadd2d | 176 | %{_datadir}/glib-2.0/schemas/org.mate.marco.gschema.xml |
ccc00ddb JB |
177 | %{_desktopdir}/marco.desktop |
178 | %{_mandir}/man1/marco.1* | |
179 | %{_mandir}/man1/marco-message.1* | |
39cadd2d | 180 | |
ccc00ddb | 181 | # TODO: find better packages |
5e1a3c42 ER |
182 | %dir %{_datadir}/mate-control-center |
183 | %dir %{_datadir}/mate-control-center/keybindings | |
5e1a3c42 | 184 | |
ccc00ddb JB |
185 | %files libs |
186 | %defattr(644,root,root,755) | |
187 | %attr(755,root,root) %{_libdir}/libmarco-private.so.*.*.* | |
eff63c29 | 188 | %attr(755,root,root) %ghost %{_libdir}/libmarco-private.so.2 |
ccc00ddb JB |
189 | |
190 | %files devel | |
191 | %defattr(644,root,root,755) | |
192 | %attr(755,root,root) %{_bindir}/marco-theme-viewer | |
193 | %attr(755,root,root) %{_bindir}/marco-window-demo | |
194 | %attr(755,root,root) %{_libdir}/libmarco-private.so | |
195 | %{_includedir}/marco-1 | |
196 | %{_pkgconfigdir}/libmarco-private.pc | |
197 | %{_mandir}/man1/marco-theme-viewer.1* | |
198 | %{_mandir}/man1/marco-window-demo.1* | |
199 | ||
39cadd2d ER |
200 | %files themes |
201 | %defattr(644,root,root,755) | |
5925b081 | 202 | %{_datadir}/themes/Atlanta |
ad92460f ER |
203 | %{_datadir}/themes/ClearlooksRe |
204 | %{_datadir}/themes/Dopple-Left | |
205 | %{_datadir}/themes/Dopple | |
206 | %{_datadir}/themes/DustBlue | |
5925b081 JP |
207 | %{_datadir}/themes/Esco |
208 | %{_datadir}/themes/Gorilla | |
209 | %{_datadir}/themes/Motif | |
210 | %{_datadir}/themes/Raleigh | |
ad92460f ER |
211 | %{_datadir}/themes/Spidey-Left |
212 | %{_datadir}/themes/Spidey | |
213 | %{_datadir}/themes/Splint-Left | |
214 | %{_datadir}/themes/Splint | |
215 | %{_datadir}/themes/WinMe | |
216 | %{_datadir}/themes/eOS |