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