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