]>
Commit | Line | Data |
---|---|---|
7eb37361 | 1 | # TODO |
4d0be99b | 2 | # - integrate with geninitrd |
ce7477b6 | 3 | # - pldize recent update (r1.18) |
73566194 JR |
4 | # |
5 | # Conditional build: | |
612b1f77 | 6 | %bcond_without drm # disable building with DRM renderer support |
1a851e30 | 7 | |
74f487bf | 8 | Summary: Graphical Boot Animation and Logger |
95b39a2c | 9 | Summary(pl.UTF-8): Graficzna animacja i logowanie startu systemu |
74f487bf | 10 | Name: plymouth |
d28fae29 | 11 | Version: 0.9.2 |
17e34e42 | 12 | Release: 2 |
74f487bf PZ |
13 | License: GPL v2+ |
14 | Group: Base | |
ee1af6f8 | 15 | Source0: http://www.freedesktop.org/software/plymouth/releases/%{name}-%{version}.tar.bz2 |
d28fae29 | 16 | # Source0-md5: ff420994deb7ea203df678df92e7ab7d |
4f13623f PZ |
17 | Source1: %{name}-logo.png |
18 | # Source1-md5: 6b38a868585adfd3a96a4ad16973c1f8 | |
3ff323a5 | 19 | Source2: %{name}.tmpfiles |
a234bf88 | 20 | Source4: boot-duration |
a234bf88 | 21 | Source6: %{name}-update-initrd |
0b628c8e | 22 | Patch0: text-colors.patch |
612b1f77 | 23 | Patch1: %{name}-restore-suspend.patch |
7eb37361 | 24 | URL: http://www.freedesktop.org/wiki/Software/Plymouth |
ce4c3eb1 JB |
25 | BuildRequires: autoconf >= 2.50 |
26 | BuildRequires: automake >= 1:1.11 | |
74f487bf | 27 | BuildRequires: cairo-devel |
d28fae29 | 28 | BuildRequires: gtk+3-devel >= 3.14.0 |
612b1f77 | 29 | %{?with_drm:BuildRequires: libdrm-devel} |
0b628c8e | 30 | BuildRequires: libpng-devel >= 2:1.2.16 |
af391cce | 31 | BuildRequires: libtool >= 2:2 |
7eb37361 | 32 | BuildRequires: pango-devel >= 1:1.21.0 |
09775552 | 33 | BuildRequires: pkgconfig |
d28fae29 | 34 | BuildRequires: systemd-units |
612b1f77 | 35 | BuildRequires: udev-devel |
af391cce | 36 | BuildRequires: xorg-lib-libpciaccess-devel |
a234bf88 | 37 | Requires: %{name}-graphics-libs = %{version}-%{release} |
95b39a2c | 38 | Requires(post): %{name}-scripts = %{version}-%{release} |
c925bae7 | 39 | Requires: /etc/os-release |
ac730aad | 40 | Requires: systemd-units |
eab8ea45 | 41 | Obsoletes: plymouth-gdm-hooks |
a234bf88 | 42 | Obsoletes: plymouth-utils |
ac730aad | 43 | Obsoletes: systemd-plymouth |
74f487bf PZ |
44 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
45 | ||
46 | %description | |
47 | Plymouth provides an attractive graphical boot animation in place of | |
48 | the text messages that normally get shown. Text messages are instead | |
49 | redirected to a log file for viewing after boot. | |
50 | ||
95b39a2c JB |
51 | %description -l pl.UTF-8 |
52 | Plymouth zapewnia atrakcyjną animację w trakcie startu systemu zamiast | |
53 | zwykle wyświetlanych komunikatów tekstowych. Komunikaty tekstowe | |
54 | zamiast tego są przekierowywane do logu, który można obejrzeć po | |
55 | uruchomieniu systemu. | |
56 | ||
8f26705c JB |
57 | %package core-libs |
58 | Summary: Plymouth core libraries | |
59 | Summary(pl.UTF-8): Podstawowe biblioteki Plymouth | |
95b39a2c | 60 | Group: Libraries |
8f26705c | 61 | Conflicts: plymouth-libs < 0.8.4-0.20120319.1 |
74f487bf | 62 | |
8f26705c JB |
63 | %description core-libs |
64 | This package contains the libply and libply-splash-core libraries used | |
74f487bf PZ |
65 | by Plymouth. |
66 | ||
8f26705c JB |
67 | %description core-libs -l pl.UTF-8 |
68 | Ten pakiet zawiera biblioteki libply i libply-splash-core | |
69 | wykorzystywane przez Plymouth. | |
70 | ||
71 | %package graphics-libs | |
72 | Summary: Plymouth graphics libraries | |
73 | Summary(pl.UTF-8): Biblioteki graficzne Plymouth | |
74 | Group: Development/Libraries | |
75 | Requires: %{name}-core-libs = %{version}-%{release} | |
d28fae29 | 76 | Requires: gtk+3 >= 3.14.0 |
8f26705c JB |
77 | Provides: %{name}-graphics-libs = %{version}-%{release} |
78 | Obsoletes: plymouth-libs < %{version}-%{release} | |
79 | Conflicts: plymouth-libs < 0.8.4-0.20120319.1 | |
80 | ||
81 | %description graphics-libs | |
82 | This package contains the libply-splash-graphics library used by | |
83 | graphical Plymouth splashes. | |
84 | ||
85 | %description graphics-libs -l pl.UTF-8 | |
86 | Ten pakiet zawiera bibliotekę libply-splash-graphics wykorzystywaną | |
87 | przez graficzne ekrany Plymouth. | |
95b39a2c | 88 | |
74f487bf | 89 | %package devel |
95b39a2c JB |
90 | Summary: Header files for writing Plymouth splash plugins |
91 | Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia wtyczek graficznych Plymouth | |
74f487bf | 92 | Group: Development/Libraries |
a234bf88 | 93 | Requires: %{name}-graphics-libs = %{version}-%{release} |
74f487bf PZ |
94 | |
95 | %description devel | |
95b39a2c JB |
96 | This package contains the header files for libply and libplybootsplash |
97 | libraries needed to develop 3rd party splash plugins for Plymouth. | |
98 | ||
99 | %description devel -l pl.UTF-8 | |
100 | Ten pakiet zawiera pliki nagłówkowe bibliotek libply i | |
101 | libplybootsplash, potrzebne do tworzenia wtyczek graficznych Plymouth. | |
74f487bf | 102 | |
0be1f6b6 JR |
103 | %package static |
104 | Summary: Static libraries for writing Plymouth splash plugins | |
105 | Summary(pl.UTF-8): Statyczne biblioteki do tworzenia wtyczek graficznych Plymouth | |
106 | Group: Development/Libraries | |
107 | Requires: %{name}-devel = %{version}-%{release} | |
108 | ||
109 | %description static | |
110 | This package contains the static libraries used to develop 3rd party | |
111 | splash plugins for Plymouth. | |
112 | ||
113 | %description static -l pl.UTF-8 | |
114 | Ten pakiet zawiera statyczne biblioteki, przydatne do tworzenia | |
115 | wtyczek graficznych Plymouth. | |
116 | ||
74f487bf PZ |
117 | %package scripts |
118 | Summary: Plymouth related scripts | |
95b39a2c | 119 | Summary(pl.UTF-8): Skrypty pomocnicze do Plymouth |
74f487bf | 120 | Group: Applications/System |
95b39a2c | 121 | Requires: %{name} = %{version}-%{release} |
a234bf88 ER |
122 | Requires: coreutils |
123 | Requires: cpio | |
124 | #Requires: dracut | |
125 | Requires: findutils | |
126 | Requires: gzip | |
74f487bf PZ |
127 | |
128 | %description scripts | |
129 | This package contains scripts that help integrate Plymouth with the | |
130 | system. | |
131 | ||
95b39a2c JB |
132 | %description scripts -l pl.UTF-8 |
133 | Ten pakiet zawiera skrypty pomagające zintegrować Plymouth z systemem. | |
134 | ||
8f26705c JB |
135 | %package plugin-fade-throbber |
136 | Summary: Plymouth "Fade-Throbber" plugin | |
137 | Summary(pl.UTF-8): Wtyczka Plymouth "Fade-Throbber" | |
138 | Group: Base | |
139 | Requires: %{name}-graphics-libs = %{version}-%{release} | |
140 | ||
141 | %description plugin-fade-throbber | |
142 | This package contains the "Fade-Throbber" boot splash plugin for | |
143 | Plymouth. It features a centered image that fades in and out while | |
144 | other images pulsate around during system boot up. | |
145 | ||
146 | %description plugin-fade-throbber -l pl.UTF-8 | |
147 | Ten pakiet zawiera wtyczkę ekranu startowego Plymouth "Fade-Throbber". | |
148 | Cechuje się ona środkowym obrazkiem, który płynnie pojawia się i | |
149 | wygasa, podczas gdy inne obrazki pulsują w trakcie startu systemu. | |
150 | ||
a234bf88 ER |
151 | %package plugin-label |
152 | Summary: Plymouth label plugin | |
8f26705c | 153 | Summary(pl.UTF-8): Wtyczka Plymouth z etykietami |
a234bf88 ER |
154 | Group: Base |
155 | Requires: %{name}-graphics-libs = %{version}-%{release} | |
156 | ||
157 | %description plugin-label | |
158 | This package contains the label control plugin for Plymouth. It | |
159 | provides the ability to render text on graphical boot splashes using | |
160 | pango and cairo. | |
161 | ||
8f26705c JB |
162 | %description plugin-label -l pl.UTF-8 |
163 | Ten pakiet zawiera wtyczkę Plymouth sterującą etykietami. Daje ona | |
164 | możliwość renderowania tekstu na graficznych ekranach startowych przy | |
165 | użyciu bibliotek pango i cairo. | |
a234bf88 | 166 | |
8f26705c JB |
167 | %package plugin-script |
168 | Summary: Plymouth "script" plugin | |
169 | Summary(pl.UTF-8): Wtyczka Plymouth "script" | |
a234bf88 ER |
170 | Group: Base |
171 | Requires: %{name}-graphics-libs = %{version}-%{release} | |
a234bf88 | 172 | |
8f26705c JB |
173 | %description plugin-script |
174 | This package contains the "script" boot splash plugin for Plymouth. It | |
175 | features an extensible, scriptable boot splash language that | |
176 | simplifies the process of designing custom boot splash themes. | |
a234bf88 | 177 | |
8f26705c JB |
178 | %description plugin-script -l pl.UTF-8 |
179 | Ten pakiet zawiera wtyczkę ekranu startowego Plymouth "script". | |
180 | Odznacza się ona rozszerzalnym, skryptowym językiem ekranu startowego, | |
181 | upraszczającym proces projektowania własnych motywów ekranów | |
182 | startowych. | |
a234bf88 ER |
183 | |
184 | %package plugin-space-flares | |
185 | Summary: Plymouth "space-flares" plugin | |
8f26705c | 186 | Summary(pl.UTF-8): Wtyczka Plymouth "space-flares" |
a234bf88 ER |
187 | Group: Base |
188 | Requires: %{name}-graphics-libs = %{version}-%{release} | |
189 | Requires: %{name}-plugin-label = %{version}-%{release} | |
190 | ||
191 | %description plugin-space-flares | |
192 | This package contains the "space-flares" boot splash plugin for | |
193 | Plymouth. It features a corner image with animated flares. | |
194 | ||
8f26705c JB |
195 | %description plugin-space-flares -l pl.UTF-8 |
196 | Ten pakiet zawiera wtyczkę ekranu startowego Plymouth "space-flares". | |
197 | Odznacza się ona umieszczonym w rogu obrazkiem z animowanymi | |
198 | promieniami. | |
a234bf88 ER |
199 | |
200 | %package plugin-two-step | |
201 | Summary: Plymouth "two-step" plugin | |
8f26705c | 202 | Summary(pl.UTF-8): Wtyczka Plymouth "two-step" |
a234bf88 ER |
203 | Group: Base |
204 | Requires: %{name}-graphics-libs = %{version}-%{release} | |
205 | Requires: %{name}-plugin-label = %{version}-%{release} | |
206 | ||
207 | %description plugin-two-step | |
208 | This package contains the "two-step" boot splash plugin for Plymouth. | |
209 | It features a two phased boot process that starts with a progressing | |
210 | animation synced to boot time and finishes with a short, fast one-shot | |
211 | animation. | |
212 | ||
8f26705c JB |
213 | %description plugin-two-step -l pl.UTF-8 |
214 | Ten pakeit zawiera wtyczkę ekranu startowego Plymouth "two-step". | |
215 | Odznacza się ona dwuetapowym procesem startu, rozpoczynającym się | |
216 | postępującą animacją synchronizowaną z czasem uruchamiania, a kończy | |
217 | krótką, jednorazową animacją. | |
218 | ||
219 | %package plugin-throbgress | |
220 | Summary: Plymouth "Throbgress" plugin | |
221 | Summary(pl.UTF-8): Wtyczka Plymouth "Throbgress" | |
222 | Group: Base | |
223 | Requires: %{name}-graphics-libs = %{version}-%{release} | |
224 | Requires: %{name}-plugin-label = %{version}-%{release} | |
225 | ||
226 | %description plugin-throbgress | |
227 | This package contains the "throbgress" boot splash plugin for | |
228 | Plymouth. It features a centered logo and animated spinner that spins | |
229 | repeatedly while a progress bar advances at the bottom of the screen. | |
230 | ||
231 | %description plugin-throbgress -l pl.UTF-8 | |
232 | Ten pakiet zawiera wtyczkę ekranu startowego "Throbgress" do Plymouth. | |
233 | Cechuje się ona umieszczonym pośrodku logiem oraz animowanym kręcącym | |
234 | się kółkiem, podczas gdy pasek postępu przesuwa się na dole ekranu. | |
235 | ||
236 | %package system-theme | |
237 | Summary: Plymouth default theme | |
238 | Summary(pl.UTF-8): Domyślny motyw Plymouth | |
239 | Group: Base | |
240 | Requires: %{name}(system-theme) = %{version}-%{release} | |
241 | Provides: %{name}-system-plugin = %{version}-%{release} | |
242 | Obsoletes: plymouth-system-plugin < %{version}-%{release} | |
8f26705c JB |
243 | |
244 | %description system-theme | |
245 | This metapackage tracks the current distribution default theme. | |
246 | ||
247 | %description system-theme -l pl.UTF-8 | |
248 | Ten metapakiet śledzi domyślny motyw dystrybucji. | |
249 | ||
612b1f77 JR |
250 | %package theme-glow |
251 | Summary: Plymouth "Glow" theme | |
252 | Summary(pl.UTF-8): Motyw Plymouth "Glow" | |
a234bf88 ER |
253 | Group: Base |
254 | Requires: %{name}-plugin-two-step = %{version}-%{release} | |
255 | Requires(post): %{name}-scripts = %{version}-%{release} | |
256 | Provides: %{name}(system-theme) = %{version}-%{release} | |
612b1f77 | 257 | Obsoletes: plymouth-theme-charge |
a234bf88 | 258 | |
612b1f77 JR |
259 | %description theme-glow |
260 | This package contains the "Glow" boot splash theme for Plymouth. | |
261 | Corporate theme with pie chart boot progress followed by a glowing | |
262 | emerging logo. | |
a234bf88 | 263 | |
612b1f77 JR |
264 | %description theme-glow -l pl.UTF-8 |
265 | Ten pakiet zawiera motyw ekranu startowego Plymouth "Glow". | |
8f26705c JB |
266 | |
267 | %package theme-fade-in | |
268 | Summary: Plymouth "Fade-In" theme | |
269 | Summary(pl.UTF-8): Motyw Plymouth "Fade in" | |
a234bf88 | 270 | Group: Base |
8f26705c JB |
271 | Requires(post): %{name}-scripts = %{version}-%{release} |
272 | Requires: %{name}-plugin-fade-throbber = %{version}-%{release} | |
273 | Obsoletes: plymouth-plugin-fade-in | |
a234bf88 | 274 | |
8f26705c JB |
275 | %description theme-fade-in |
276 | This package contains the "Fade-In" boot splash theme for Plymouth. It | |
277 | features a centered logo that fades in and out while stars twinkle | |
278 | around the logo during system boot up. | |
279 | ||
280 | %description theme-fade-in -l pl.UTF-8 | |
281 | Ten pakiet zawiera motyw ekranu startowego Plymouth "Fade-In". | |
282 | Odznacza się on umieszczonym pośrodku logiem, które w trakcie startu | |
283 | systemu płynnie pojawia się i wygasa, podczas gdy wokół loga migoczą | |
284 | gwiazdy. | |
a234bf88 ER |
285 | |
286 | %package theme-script | |
8f26705c JB |
287 | Summary: Plymouth "Script" theme |
288 | Summary(pl.UTF-8): Motyw Plymouth "Script" | |
a234bf88 | 289 | Group: Base |
8f26705c | 290 | Requires(post): %{name}-scripts = %{version}-%{release} |
a234bf88 | 291 | Requires: %{name}-plugin-script = %{version}-%{release} |
a234bf88 ER |
292 | |
293 | %description theme-script | |
294 | This package contains the "script" boot splash theme for Plymouth. It | |
295 | it is a simple example theme the uses the "script" plugin. | |
296 | ||
8f26705c JB |
297 | %description theme-script -l pl.UTF-8 |
298 | Ten pakiet zawiera motyw ekranu startowego Plymouth "Script". Jest to | |
299 | prosty przykład wykorzystujący wtyczkę "script". | |
300 | ||
301 | %package theme-solar | |
302 | Summary: Plymouth "Solar" theme | |
303 | Summary(pl.UTF-8): Motyw Plymouth "Solar" | |
304 | Group: Base | |
305 | Requires(post): %{name}-scripts = %{version}-%{release} | |
306 | Requires: %{name}-plugin-space-flares = %{version}-%{release} | |
307 | Obsoletes: plymouth-plugin-solar | |
308 | ||
309 | %description theme-solar | |
310 | This package contains the "Solar" boot splash theme for Plymouth. It | |
311 | features a blue flamed sun with animated solar flares. | |
312 | ||
313 | %description theme-solar -l pl.UTF-8 | |
314 | Ten pakiet zawiera motyw ekranu startowego Plymouth "Solar". Odznacza | |
315 | się on słońcem w niebieskich płomieniach z animowanymi promieniami | |
316 | słonecznymi. | |
317 | ||
318 | %package theme-spinfinity | |
319 | Summary: Plymouth "Spinfinity" theme | |
320 | Summary(pl.UTF-8): Motyw Plymouth "Spinfinity" | |
321 | Group: Base | |
322 | Requires(post): %{name}-scripts = %{version}-%{release} | |
323 | Requires: %{name}-plugin-throbgress = %{version}-%{release} | |
324 | Obsoletes: plymouth-plugin-spinfinity | |
325 | ||
326 | %description theme-spinfinity | |
327 | This package contains the "Spinfinity" boot splash theme for Plymouth. | |
328 | It features a centered logo and animated spinner that spins in the | |
329 | shape of an infinity sign. | |
330 | ||
331 | %description theme-spinfinity -l pl.UTF-8 | |
332 | Ten pakiet zawiera motyw ekranu startowego Plymouth "Spinfinity". | |
333 | Odznacza się on umieszczonym pośrodku logiem i animowanym kółkiem | |
334 | kręcącym się po kształcie znaku nieskończoności. | |
335 | ||
a234bf88 ER |
336 | %package theme-spinner |
337 | Summary: Plymouth "Spinner" theme | |
8f26705c | 338 | Summary(pl.UTF-8): Motyw Plymouth "Spinner" |
a234bf88 | 339 | Group: Base |
a234bf88 | 340 | Requires(post): %{name}-scripts = %{version}-%{release} |
8f26705c | 341 | Requires: %{name}-plugin-two-step = %{version}-%{release} |
a234bf88 ER |
342 | |
343 | %description theme-spinner | |
344 | This package contains the "spinner" boot splash theme for Plymouth. It | |
345 | features a small spinner on a dark background. | |
346 | ||
8f26705c JB |
347 | %description theme-spinner -l pl.UTF-8 |
348 | Ten pakiet zawiera motyw ekranu startowego Plymouth "Spinner". | |
349 | Odznacza się on małym kółkiem kręcącym się na ciemnym tle. | |
350 | ||
74f487bf PZ |
351 | %prep |
352 | %setup -q | |
ee1af6f8 | 353 | %patch0 -p1 |
1a851e30 | 354 | %patch1 -p1 |
a234bf88 | 355 | |
0e83ad6d | 356 | # Change the default theme |
958a742b | 357 | %{__sed} -i -e 's/Theme=.*/Theme=tribar/ig' -e 's/ShowDelay=.*//ig' src/plymouthd.defaults |
0e83ad6d | 358 | |
74f487bf | 359 | %build |
af391cce | 360 | %{__libtoolize} |
612b1f77 JR |
361 | %{__aclocal} |
362 | %{__autoconf} | |
363 | %{__autoheader} | |
364 | %{__automake} | |
74f487bf | 365 | %configure \ |
612b1f77 JR |
366 | UDEVADM=/sbin/udevadm \ |
367 | SYSTEMD_ASK_PASSWORD_AGENT=/bin/systemd-tty-ask-password-agent \ | |
17e34e42 | 368 | --enable-static \ |
612b1f77 | 369 | %{__enable_disable drm drm} \ |
95b39a2c | 370 | --disable-silent-rules \ |
612b1f77 | 371 | --enable-documentation \ |
a7161eec | 372 | --disable-gdm-transition \ |
95b39a2c JB |
373 | --enable-systemd-integration \ |
374 | --enable-tracing \ | |
ef9b3715 | 375 | --without-rhgb-compat-link \ |
c925bae7 JR |
376 | --with-background-start-color-stop=0x009431 \ |
377 | --with-background-end-color-stop=0x006300 \ | |
378 | --with-background-color=0x00c663 \ | |
95b39a2c | 379 | --with-logo=%{_pixmapsdir}/plymouth-logo.png \ |
c925bae7 | 380 | --with-release-file=/etc/os-release \ |
74f487bf PZ |
381 | --with-system-root-install |
382 | ||
383 | %{__make} | |
384 | ||
385 | %install | |
386 | rm -rf $RPM_BUILD_ROOT | |
61d42f3e | 387 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_libdir},%{_pixmapsdir},%{systemdtmpfilesdir}} |
ac730aad | 388 | |
74f487bf PZ |
389 | %{__make} install \ |
390 | DESTDIR=$RPM_BUILD_ROOT | |
391 | ||
61d42f3e JR |
392 | ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libply.so.*.*.*) $RPM_BUILD_ROOT%{_libdir}/libply.so |
393 | ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libply-splash-core.so.*.*.*) $RPM_BUILD_ROOT%{_libdir}/libply-splash-core.so | |
394 | %{__rm} $RPM_BUILD_ROOT/%{_lib}/libply{,-splash-core}.so | |
395 | ||
a234bf88 ER |
396 | install -d $RPM_BUILD_ROOT%{_localstatedir}/lib/plymouth |
397 | cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/plymouth/default-boot-duration | |
398 | > $RPM_BUILD_ROOT%{_localstatedir}/lib/plymouth/boot-duration | |
399 | ||
612b1f77 | 400 | # Override plymouth-update-initrd to work with dracut or mkinitrd |
a234bf88 ER |
401 | cp -p %{SOURCE6} $RPM_BUILD_ROOT%{_libdir}/plymouth/plymouth-update-initrd |
402 | ||
61d42f3e | 403 | %{__rm} $RPM_BUILD_ROOT{/%{_lib},%{_libdir}}/*.la \ |
17e34e42 JR |
404 | $RPM_BUILD_ROOT%{_libdir}/plymouth/*.{a,la} \ |
405 | $RPM_BUILD_ROOT%{_libdir}/plymouth/renderers/*.{a,la} | |
406 | ||
407 | %{__mv} $RPM_BUILD_ROOT/%{_lib}/{libply,libply-splash-core}.a $RPM_BUILD_ROOT/%{_libdir} | |
74f487bf PZ |
408 | |
409 | install -d $RPM_BUILD_ROOT%{_localstatedir}/lib/plymouth | |
eab8ea45 | 410 | |
a234bf88 ER |
411 | cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}/plymouth-logo.png |
412 | cp -p %{SOURCE2} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf | |
74f487bf PZ |
413 | |
414 | %clean | |
415 | rm -rf $RPM_BUILD_ROOT | |
416 | ||
9e3b126a JR |
417 | %post |
418 | %systemd_reload | |
419 | ||
74f487bf PZ |
420 | %postun |
421 | if [ $1 -eq 0 ]; then | |
7eb37361 | 422 | rm -f %{_libdir}/plymouth/default.so |
74f487bf | 423 | fi |
9e3b126a | 424 | %systemd_reload |
74f487bf | 425 | |
a234bf88 ER |
426 | %post core-libs -p /sbin/ldconfig |
427 | %postun core-libs -p /sbin/ldconfig | |
428 | %post graphics-libs -p /sbin/ldconfig | |
429 | %postun graphics-libs -p /sbin/ldconfig | |
74f487bf | 430 | |
74f487bf PZ |
431 | %files |
432 | %defattr(644,root,root,755) | |
95b39a2c | 433 | %doc AUTHORS README TODO |
b7ea056a | 434 | %dir %{_sysconfdir}/plymouth |
7eb37361 ER |
435 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/plymouth/plymouthd.conf |
436 | %{_mandir}/man8/plymouth.8* | |
61d42f3e JR |
437 | %attr(755,root,root) /bin/plymouth |
438 | %attr(755,root,root) /sbin/plymouthd | |
4d0be99b | 439 | %attr(755,root,root) %{_libdir}/plymouth/details.so |
4d0be99b | 440 | %attr(755,root,root) %{_libdir}/plymouth/text.so |
612b1f77 | 441 | %attr(755,root,root) %{_libdir}/plymouth/tribar.so |
a234bf88 ER |
442 | %attr(755,root,root) %{_libdir}/plymouth/renderers/drm.so |
443 | %attr(755,root,root) %{_libdir}/plymouth/renderers/frame-buffer.so | |
8f26705c JB |
444 | %dir %{_datadir}/plymouth |
445 | %dir %{_datadir}/plymouth/themes | |
446 | %dir %{_datadir}/plymouth/themes/details | |
447 | %dir %{_datadir}/plymouth/themes/text | |
612b1f77 | 448 | %dir %{_datadir}/plymouth/themes/tribar |
8f26705c JB |
449 | %{_datadir}/plymouth/plymouthd.defaults |
450 | %{_datadir}/plymouth/default-boot-duration | |
a234bf88 ER |
451 | %{_datadir}/plymouth/themes/details/details.plymouth |
452 | %{_datadir}/plymouth/themes/text/text.plymouth | |
612b1f77 | 453 | %{_datadir}/plymouth/themes/tribar/tribar.plymouth |
8f26705c | 454 | %{_pixmapsdir}/plymouth-logo.png |
a234bf88 | 455 | %{systemdtmpfilesdir}/%{name}.conf |
8f26705c JB |
456 | %dir %{_localstatedir}/lib/plymouth |
457 | %ghost %{_localstatedir}/lib/plymouth/boot-duration | |
74f487bf PZ |
458 | %{_localstatedir}/run/plymouth |
459 | %{_localstatedir}/spool/plymouth | |
612b1f77 JR |
460 | %{_mandir}/man1/plymouth.1* |
461 | %{_mandir}/man8/plymouthd.8* | |
ac730aad JR |
462 | |
463 | %{systemdunitdir}/plymouth-halt.service | |
464 | %{systemdunitdir}/plymouth-kexec.service | |
465 | %{systemdunitdir}/plymouth-poweroff.service | |
466 | %{systemdunitdir}/plymouth-quit-wait.service | |
467 | %{systemdunitdir}/plymouth-quit.service | |
468 | %{systemdunitdir}/plymouth-read-write.service | |
469 | %{systemdunitdir}/plymouth-reboot.service | |
470 | %{systemdunitdir}/plymouth-start.service | |
0fe451a5 | 471 | %{systemdunitdir}/plymouth-switch-root.service |
ac730aad JR |
472 | %{systemdunitdir}/systemd-ask-password-plymouth.path |
473 | %{systemdunitdir}/systemd-ask-password-plymouth.service | |
474 | %{systemdunitdir}/halt.target.wants/plymouth-halt.service | |
7f89b38c | 475 | %dir %{systemdunitdir}/initrd-switch-root.target.wants |
0fe451a5 | 476 | %{systemdunitdir}/initrd-switch-root.target.wants/plymouth-switch-root.service |
612b1f77 | 477 | %{systemdunitdir}/initrd-switch-root.target.wants/plymouth-start.service |
ac730aad JR |
478 | %{systemdunitdir}/kexec.target.wants/plymouth-kexec.service |
479 | %{systemdunitdir}/multi-user.target.wants/plymouth-quit.service | |
480 | %{systemdunitdir}/multi-user.target.wants/plymouth-quit-wait.service | |
481 | %{systemdunitdir}/poweroff.target.wants/plymouth-poweroff.service | |
482 | %{systemdunitdir}/reboot.target.wants/plymouth-reboot.service | |
483 | %{systemdunitdir}/sysinit.target.wants/plymouth-read-write.service | |
484 | %{systemdunitdir}/sysinit.target.wants/plymouth-start.service | |
74f487bf | 485 | |
a234bf88 | 486 | %files core-libs |
74f487bf | 487 | %defattr(644,root,root,755) |
61d42f3e | 488 | %attr(755,root,root) /%{_lib}/libply.so.*.*.* |
d28fae29 | 489 | %attr(755,root,root) %ghost /%{_lib}/libply.so.4 |
61d42f3e | 490 | %attr(755,root,root) /%{_lib}/libply-splash-core.so.*.*.* |
d28fae29 | 491 | %attr(755,root,root) %ghost /%{_lib}/libply-splash-core.so.4 |
7eb37361 | 492 | %attr(755,root,root) %{_libdir}/libply-boot-client.so.*.*.* |
d28fae29 | 493 | %attr(755,root,root) %ghost %{_libdir}/libply-boot-client.so.4 |
a234bf88 | 494 | %dir %{_libdir}/plymouth |
8f26705c | 495 | %dir %{_libdir}/plymouth/renderers |
a234bf88 ER |
496 | |
497 | %files graphics-libs | |
498 | %defattr(644,root,root,755) | |
7eb37361 | 499 | %attr(755,root,root) %{_libdir}/libply-splash-graphics.so.*.*.* |
d28fae29 | 500 | %attr(755,root,root) %ghost %{_libdir}/libply-splash-graphics.so.4 |
7eb37361 | 501 | %attr(755,root,root) %{_libdir}/plymouth/renderers/x11.so |
74f487bf | 502 | |
95b39a2c JB |
503 | %files devel |
504 | %defattr(644,root,root,755) | |
61d42f3e | 505 | %attr(755,root,root) %{_libdir}/libply.so |
95b39a2c | 506 | %attr(755,root,root) %{_libdir}/libply-boot-client.so |
61d42f3e | 507 | %attr(755,root,root) %{_libdir}/libply-splash-core.so |
95b39a2c JB |
508 | %attr(755,root,root) %{_libdir}/libply-splash-graphics.so |
509 | %{_includedir}/plymouth-1 | |
510 | %{_pkgconfigdir}/ply-boot-client.pc | |
511 | %{_pkgconfigdir}/ply-splash-core.pc | |
512 | %{_pkgconfigdir}/ply-splash-graphics.pc | |
513 | ||
17e34e42 JR |
514 | %files static |
515 | %defattr(644,root,root,755) | |
516 | %attr(755,root,root) %{_libdir}/libply.a | |
517 | %attr(755,root,root) %{_libdir}/libply-boot-client.a | |
518 | %attr(755,root,root) %{_libdir}/libply-splash-core.a | |
519 | %attr(755,root,root) %{_libdir}/libply-splash-graphics.a | |
520 | ||
74f487bf PZ |
521 | %files scripts |
522 | %defattr(644,root,root,755) | |
a234bf88 ER |
523 | %attr(755,root,root) %{_sbindir}/plymouth-set-default-theme |
524 | %attr(755,root,root) %{_libdir}/plymouth/plymouth-generate-initrd | |
525 | %attr(755,root,root) %{_libdir}/plymouth/plymouth-populate-initrd | |
526 | %attr(755,root,root) %{_libdir}/plymouth/plymouth-update-initrd | |
612b1f77 | 527 | %{_mandir}/man1/plymouth-set-default-theme.1* |
a234bf88 | 528 | |
8f26705c JB |
529 | %files plugin-fade-throbber |
530 | %defattr(644,root,root,755) | |
531 | %attr(755,root,root) %{_libdir}/plymouth/fade-throbber.so | |
532 | ||
a234bf88 ER |
533 | %files plugin-label |
534 | %defattr(644,root,root,755) | |
535 | %attr(755,root,root) %{_libdir}/plymouth/label.so | |
536 | ||
8f26705c | 537 | %files plugin-script |
a234bf88 | 538 | %defattr(644,root,root,755) |
8f26705c JB |
539 | %attr(755,root,root) %{_libdir}/plymouth/script.so |
540 | ||
541 | %files plugin-space-flares | |
542 | %defattr(644,root,root,755) | |
543 | %attr(755,root,root) %{_libdir}/plymouth/space-flares.so | |
544 | ||
545 | %files plugin-throbgress | |
546 | %defattr(644,root,root,755) | |
547 | %attr(755,root,root) %{_libdir}/plymouth/throbgress.so | |
548 | ||
549 | %files plugin-two-step | |
550 | %defattr(644,root,root,755) | |
551 | %attr(755,root,root) %{_libdir}/plymouth/two-step.so | |
552 | ||
553 | %files system-theme | |
554 | %defattr(644,root,root,755) | |
555 | ||
612b1f77 | 556 | %files theme-glow |
8f26705c | 557 | %defattr(644,root,root,755) |
612b1f77 JR |
558 | %dir %{_datadir}/plymouth/themes/glow |
559 | %{_datadir}/plymouth/themes/glow/*.png | |
560 | %{_datadir}/plymouth/themes/glow/glow.plymouth | |
a234bf88 ER |
561 | |
562 | %files theme-fade-in | |
563 | %defattr(644,root,root,755) | |
564 | %dir %{_datadir}/plymouth/themes/fade-in | |
565 | %{_datadir}/plymouth/themes/fade-in/bullet.png | |
566 | %{_datadir}/plymouth/themes/fade-in/entry.png | |
567 | %{_datadir}/plymouth/themes/fade-in/lock.png | |
568 | %{_datadir}/plymouth/themes/fade-in/star.png | |
569 | %{_datadir}/plymouth/themes/fade-in/fade-in.plymouth | |
570 | ||
571 | %files theme-spinner | |
572 | %defattr(644,root,root,755) | |
573 | %dir %{_datadir}/plymouth/themes/spinner | |
574 | %{_datadir}/plymouth/themes/spinner/*.png | |
575 | %{_datadir}/plymouth/themes/spinner/spinner.plymouth | |
576 | ||
a234bf88 ER |
577 | %files theme-spinfinity |
578 | %defattr(644,root,root,755) | |
579 | %dir %{_datadir}/plymouth/themes/spinfinity | |
580 | %{_datadir}/plymouth/themes/spinfinity/box.png | |
581 | %{_datadir}/plymouth/themes/spinfinity/bullet.png | |
582 | %{_datadir}/plymouth/themes/spinfinity/entry.png | |
583 | %{_datadir}/plymouth/themes/spinfinity/lock.png | |
584 | %{_datadir}/plymouth/themes/spinfinity/throbber-[0-3][0-9].png | |
585 | %{_datadir}/plymouth/themes/spinfinity/spinfinity.plymouth | |
586 | ||
a234bf88 ER |
587 | %files theme-solar |
588 | %defattr(644,root,root,755) | |
589 | %dir %{_datadir}/plymouth/themes/solar | |
590 | %{_datadir}/plymouth/themes/solar/*.png | |
591 | %{_datadir}/plymouth/themes/solar/solar.plymouth | |
592 | ||
a234bf88 ER |
593 | %files theme-script |
594 | %defattr(644,root,root,755) | |
595 | %dir %{_datadir}/plymouth/themes/script | |
596 | %{_datadir}/plymouth/themes/script/*.png | |
597 | %{_datadir}/plymouth/themes/script/script.script | |
598 | %{_datadir}/plymouth/themes/script/script.plymouth |