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