]>
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 | |
9e86d936 | 8 | %define git_commit 1e36e303e08ba425fecbcff4dde22c8ee936638c |
68b32eae | 9 | %define git_shortcommit 1e36e30 |
74f487bf | 10 | Summary: Graphical Boot Animation and Logger |
95b39a2c | 11 | Summary(pl.UTF-8): Graficzna animacja i logowanie startu systemu |
74f487bf | 12 | Name: plymouth |
2ca01e08 | 13 | Version: 0.9.4 |
07265c55 | 14 | Release: 1.%{git_shortcommit}.1 |
74f487bf PZ |
15 | License: GPL v2+ |
16 | Group: Base | |
9e86d936 JR |
17 | #Source0: https://www.freedesktop.org/software/plymouth/releases/%{name}-%{version}.tar.xz |
18 | Source0: https://gitlab.freedesktop.org/plymouth/plymouth/-/archive/%{git_commit}/%{name}-%{git_shortcommit}.tar.gz | |
19 | # Source0-md5: ee21da7c27f7cc462f514360e38c83c7 | |
4f13623f PZ |
20 | Source1: %{name}-logo.png |
21 | # Source1-md5: 6b38a868585adfd3a96a4ad16973c1f8 | |
3ff323a5 | 22 | Source2: %{name}.tmpfiles |
a234bf88 | 23 | Source4: boot-duration |
a234bf88 | 24 | Source6: %{name}-update-initrd |
0b628c8e | 25 | Patch0: text-colors.patch |
612b1f77 | 26 | Patch1: %{name}-restore-suspend.patch |
34c408a1 | 27 | URL: https://www.freedesktop.org/wiki/Software/Plymouth |
ce4c3eb1 JB |
28 | BuildRequires: autoconf >= 2.50 |
29 | BuildRequires: automake >= 1:1.11 | |
74f487bf | 30 | BuildRequires: cairo-devel |
601ea71e JB |
31 | BuildRequires: docbook-dtd42-xml |
32 | BuildRequires: docbook-style-xsl-nons | |
d28fae29 | 33 | BuildRequires: gtk+3-devel >= 3.14.0 |
612b1f77 | 34 | %{?with_drm:BuildRequires: libdrm-devel} |
0b628c8e | 35 | BuildRequires: libpng-devel >= 2:1.2.16 |
af391cce | 36 | BuildRequires: libtool >= 2:2 |
601ea71e | 37 | BuildRequires: libxslt-progs |
7eb37361 | 38 | BuildRequires: pango-devel >= 1:1.21.0 |
09775552 | 39 | BuildRequires: pkgconfig |
d28fae29 | 40 | BuildRequires: systemd-units |
612b1f77 | 41 | BuildRequires: udev-devel |
af391cce | 42 | BuildRequires: xorg-lib-libpciaccess-devel |
a234bf88 | 43 | Requires: %{name}-graphics-libs = %{version}-%{release} |
95b39a2c | 44 | Requires(post): %{name}-scripts = %{version}-%{release} |
c925bae7 | 45 | Requires: /etc/os-release |
ac730aad | 46 | Requires: systemd-units |
eab8ea45 | 47 | Obsoletes: plymouth-gdm-hooks |
9e86d936 | 48 | Obsoletes: plymouth-plugin-throbgress |
a234bf88 | 49 | Obsoletes: plymouth-utils |
ac730aad | 50 | Obsoletes: systemd-plymouth |
74f487bf PZ |
51 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
52 | ||
53 | %description | |
54 | Plymouth provides an attractive graphical boot animation in place of | |
55 | the text messages that normally get shown. Text messages are instead | |
56 | redirected to a log file for viewing after boot. | |
57 | ||
95b39a2c JB |
58 | %description -l pl.UTF-8 |
59 | Plymouth zapewnia atrakcyjną animację w trakcie startu systemu zamiast | |
60 | zwykle wyświetlanych komunikatów tekstowych. Komunikaty tekstowe | |
61 | zamiast tego są przekierowywane do logu, który można obejrzeć po | |
62 | uruchomieniu systemu. | |
63 | ||
8f26705c JB |
64 | %package core-libs |
65 | Summary: Plymouth core libraries | |
66 | Summary(pl.UTF-8): Podstawowe biblioteki Plymouth | |
95b39a2c | 67 | Group: Libraries |
8f26705c | 68 | Conflicts: plymouth-libs < 0.8.4-0.20120319.1 |
74f487bf | 69 | |
8f26705c JB |
70 | %description core-libs |
71 | This package contains the libply and libply-splash-core libraries used | |
74f487bf PZ |
72 | by Plymouth. |
73 | ||
8f26705c JB |
74 | %description core-libs -l pl.UTF-8 |
75 | Ten pakiet zawiera biblioteki libply i libply-splash-core | |
76 | wykorzystywane przez Plymouth. | |
77 | ||
78 | %package graphics-libs | |
79 | Summary: Plymouth graphics libraries | |
80 | Summary(pl.UTF-8): Biblioteki graficzne Plymouth | |
81 | Group: Development/Libraries | |
82 | Requires: %{name}-core-libs = %{version}-%{release} | |
d28fae29 | 83 | Requires: gtk+3 >= 3.14.0 |
8f26705c JB |
84 | Provides: %{name}-graphics-libs = %{version}-%{release} |
85 | Obsoletes: plymouth-libs < %{version}-%{release} | |
86 | Conflicts: plymouth-libs < 0.8.4-0.20120319.1 | |
87 | ||
88 | %description graphics-libs | |
89 | This package contains the libply-splash-graphics library used by | |
90 | graphical Plymouth splashes. | |
91 | ||
92 | %description graphics-libs -l pl.UTF-8 | |
93 | Ten pakiet zawiera bibliotekę libply-splash-graphics wykorzystywaną | |
94 | przez graficzne ekrany Plymouth. | |
95b39a2c | 95 | |
74f487bf | 96 | %package devel |
95b39a2c JB |
97 | Summary: Header files for writing Plymouth splash plugins |
98 | Summary(pl.UTF-8): Pliki nagłówkowe do tworzenia wtyczek graficznych Plymouth | |
74f487bf | 99 | Group: Development/Libraries |
a234bf88 | 100 | Requires: %{name}-graphics-libs = %{version}-%{release} |
74f487bf PZ |
101 | |
102 | %description devel | |
95b39a2c JB |
103 | This package contains the header files for libply and libplybootsplash |
104 | libraries needed to develop 3rd party splash plugins for Plymouth. | |
105 | ||
106 | %description devel -l pl.UTF-8 | |
107 | Ten pakiet zawiera pliki nagłówkowe bibliotek libply i | |
108 | libplybootsplash, potrzebne do tworzenia wtyczek graficznych Plymouth. | |
74f487bf | 109 | |
0be1f6b6 JR |
110 | %package static |
111 | Summary: Static libraries for writing Plymouth splash plugins | |
112 | Summary(pl.UTF-8): Statyczne biblioteki do tworzenia wtyczek graficznych Plymouth | |
113 | Group: Development/Libraries | |
114 | Requires: %{name}-devel = %{version}-%{release} | |
115 | ||
116 | %description static | |
117 | This package contains the static libraries used to develop 3rd party | |
118 | splash plugins for Plymouth. | |
119 | ||
120 | %description static -l pl.UTF-8 | |
121 | Ten pakiet zawiera statyczne biblioteki, przydatne do tworzenia | |
122 | wtyczek graficznych Plymouth. | |
123 | ||
74f487bf PZ |
124 | %package scripts |
125 | Summary: Plymouth related scripts | |
95b39a2c | 126 | Summary(pl.UTF-8): Skrypty pomocnicze do Plymouth |
74f487bf | 127 | Group: Applications/System |
95b39a2c | 128 | Requires: %{name} = %{version}-%{release} |
a234bf88 ER |
129 | Requires: coreutils |
130 | Requires: cpio | |
131 | #Requires: dracut | |
132 | Requires: findutils | |
133 | Requires: gzip | |
74f487bf PZ |
134 | |
135 | %description scripts | |
136 | This package contains scripts that help integrate Plymouth with the | |
137 | system. | |
138 | ||
95b39a2c JB |
139 | %description scripts -l pl.UTF-8 |
140 | Ten pakiet zawiera skrypty pomagające zintegrować Plymouth z systemem. | |
141 | ||
8f26705c JB |
142 | %package plugin-fade-throbber |
143 | Summary: Plymouth "Fade-Throbber" plugin | |
144 | Summary(pl.UTF-8): Wtyczka Plymouth "Fade-Throbber" | |
145 | Group: Base | |
146 | Requires: %{name}-graphics-libs = %{version}-%{release} | |
147 | ||
148 | %description plugin-fade-throbber | |
149 | This package contains the "Fade-Throbber" boot splash plugin for | |
150 | Plymouth. It features a centered image that fades in and out while | |
151 | other images pulsate around during system boot up. | |
152 | ||
153 | %description plugin-fade-throbber -l pl.UTF-8 | |
154 | Ten pakiet zawiera wtyczkę ekranu startowego Plymouth "Fade-Throbber". | |
155 | Cechuje się ona środkowym obrazkiem, który płynnie pojawia się i | |
156 | wygasa, podczas gdy inne obrazki pulsują w trakcie startu systemu. | |
157 | ||
a234bf88 ER |
158 | %package plugin-label |
159 | Summary: Plymouth label plugin | |
8f26705c | 160 | Summary(pl.UTF-8): Wtyczka Plymouth z etykietami |
a234bf88 ER |
161 | Group: Base |
162 | Requires: %{name}-graphics-libs = %{version}-%{release} | |
163 | ||
164 | %description plugin-label | |
165 | This package contains the label control plugin for Plymouth. It | |
166 | provides the ability to render text on graphical boot splashes using | |
167 | pango and cairo. | |
168 | ||
8f26705c JB |
169 | %description plugin-label -l pl.UTF-8 |
170 | Ten pakiet zawiera wtyczkę Plymouth sterującą etykietami. Daje ona | |
171 | możliwość renderowania tekstu na graficznych ekranach startowych przy | |
172 | użyciu bibliotek pango i cairo. | |
a234bf88 | 173 | |
8f26705c JB |
174 | %package plugin-script |
175 | Summary: Plymouth "script" plugin | |
176 | Summary(pl.UTF-8): Wtyczka Plymouth "script" | |
a234bf88 ER |
177 | Group: Base |
178 | Requires: %{name}-graphics-libs = %{version}-%{release} | |
a234bf88 | 179 | |
8f26705c JB |
180 | %description plugin-script |
181 | This package contains the "script" boot splash plugin for Plymouth. It | |
182 | features an extensible, scriptable boot splash language that | |
183 | simplifies the process of designing custom boot splash themes. | |
a234bf88 | 184 | |
8f26705c JB |
185 | %description plugin-script -l pl.UTF-8 |
186 | Ten pakiet zawiera wtyczkę ekranu startowego Plymouth "script". | |
187 | Odznacza się ona rozszerzalnym, skryptowym językiem ekranu startowego, | |
188 | upraszczającym proces projektowania własnych motywów ekranów | |
189 | startowych. | |
a234bf88 ER |
190 | |
191 | %package plugin-space-flares | |
192 | Summary: Plymouth "space-flares" plugin | |
8f26705c | 193 | Summary(pl.UTF-8): Wtyczka Plymouth "space-flares" |
a234bf88 ER |
194 | Group: Base |
195 | Requires: %{name}-graphics-libs = %{version}-%{release} | |
196 | Requires: %{name}-plugin-label = %{version}-%{release} | |
197 | ||
198 | %description plugin-space-flares | |
199 | This package contains the "space-flares" boot splash plugin for | |
200 | Plymouth. It features a corner image with animated flares. | |
201 | ||
8f26705c JB |
202 | %description plugin-space-flares -l pl.UTF-8 |
203 | Ten pakiet zawiera wtyczkę ekranu startowego Plymouth "space-flares". | |
204 | Odznacza się ona umieszczonym w rogu obrazkiem z animowanymi | |
205 | promieniami. | |
a234bf88 ER |
206 | |
207 | %package plugin-two-step | |
208 | Summary: Plymouth "two-step" plugin | |
8f26705c | 209 | Summary(pl.UTF-8): Wtyczka Plymouth "two-step" |
a234bf88 ER |
210 | Group: Base |
211 | Requires: %{name}-graphics-libs = %{version}-%{release} | |
212 | Requires: %{name}-plugin-label = %{version}-%{release} | |
213 | ||
214 | %description plugin-two-step | |
215 | This package contains the "two-step" boot splash plugin for Plymouth. | |
216 | It features a two phased boot process that starts with a progressing | |
217 | animation synced to boot time and finishes with a short, fast one-shot | |
218 | animation. | |
219 | ||
8f26705c JB |
220 | %description plugin-two-step -l pl.UTF-8 |
221 | Ten pakeit zawiera wtyczkę ekranu startowego Plymouth "two-step". | |
222 | Odznacza się ona dwuetapowym procesem startu, rozpoczynającym się | |
223 | postępującą animacją synchronizowaną z czasem uruchamiania, a kończy | |
224 | krótką, jednorazową animacją. | |
225 | ||
8f26705c JB |
226 | %package system-theme |
227 | Summary: Plymouth default theme | |
228 | Summary(pl.UTF-8): Domyślny motyw Plymouth | |
229 | Group: Base | |
230 | Requires: %{name}(system-theme) = %{version}-%{release} | |
231 | Provides: %{name}-system-plugin = %{version}-%{release} | |
232 | Obsoletes: plymouth-system-plugin < %{version}-%{release} | |
8f26705c JB |
233 | |
234 | %description system-theme | |
235 | This metapackage tracks the current distribution default theme. | |
236 | ||
237 | %description system-theme -l pl.UTF-8 | |
238 | Ten metapakiet śledzi domyślny motyw dystrybucji. | |
239 | ||
9e86d936 JR |
240 | %package theme-bgrt |
241 | Summary: Jimmac's spinner theme using the ACPI BGRT graphics as background | |
242 | Group: Base | |
243 | Requires: %{name}-plugin-two-step = %{version}-%{release} | |
244 | Requires(post): %{name}-scripts = %{version}-%{release} | |
245 | Provides: %{name}(system-theme) = %{version}-%{release} | |
246 | ||
247 | %description theme-bgrt | |
248 | Jimmac's spinner theme using the ACPI BGRT graphics as background. | |
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} | |
9e86d936 | 323 | Requires: %{name}-plugin-two-step = %{version}-%{release} |
8f26705c JB |
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 | 351 | %prep |
9e86d936 | 352 | %setup -q -n %{name}-%{git_commit} |
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 |
9e86d936 | 360 | %{__autopoint} |
af391cce | 361 | %{__libtoolize} |
9e86d936 | 362 | %{__aclocal} -I m4 |
612b1f77 JR |
363 | %{__autoconf} |
364 | %{__autoheader} | |
365 | %{__automake} | |
74f487bf | 366 | %configure \ |
612b1f77 JR |
367 | UDEVADM=/sbin/udevadm \ |
368 | SYSTEMD_ASK_PASSWORD_AGENT=/bin/systemd-tty-ask-password-agent \ | |
17e34e42 | 369 | --enable-static \ |
612b1f77 | 370 | %{__enable_disable drm drm} \ |
95b39a2c | 371 | --disable-silent-rules \ |
612b1f77 | 372 | --enable-documentation \ |
a7161eec | 373 | --disable-gdm-transition \ |
95b39a2c JB |
374 | --enable-systemd-integration \ |
375 | --enable-tracing \ | |
ef9b3715 | 376 | --without-rhgb-compat-link \ |
c925bae7 JR |
377 | --with-background-start-color-stop=0x009431 \ |
378 | --with-background-end-color-stop=0x006300 \ | |
379 | --with-background-color=0x00c663 \ | |
95b39a2c | 380 | --with-logo=%{_pixmapsdir}/plymouth-logo.png \ |
c925bae7 | 381 | --with-release-file=/etc/os-release \ |
74f487bf PZ |
382 | --with-system-root-install |
383 | ||
384 | %{__make} | |
385 | ||
386 | %install | |
387 | rm -rf $RPM_BUILD_ROOT | |
601ea71e | 388 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_pixmapsdir},%{systemdtmpfilesdir}} |
ac730aad | 389 | |
74f487bf PZ |
390 | %{__make} install \ |
391 | DESTDIR=$RPM_BUILD_ROOT | |
392 | ||
61d42f3e JR |
393 | ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libply.so.*.*.*) $RPM_BUILD_ROOT%{_libdir}/libply.so |
394 | ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libply-splash-core.so.*.*.*) $RPM_BUILD_ROOT%{_libdir}/libply-splash-core.so | |
395 | %{__rm} $RPM_BUILD_ROOT/%{_lib}/libply{,-splash-core}.so | |
396 | ||
a234bf88 ER |
397 | install -d $RPM_BUILD_ROOT%{_localstatedir}/lib/plymouth |
398 | cp -p %{SOURCE4} $RPM_BUILD_ROOT%{_datadir}/plymouth/default-boot-duration | |
399 | > $RPM_BUILD_ROOT%{_localstatedir}/lib/plymouth/boot-duration | |
400 | ||
612b1f77 | 401 | # Override plymouth-update-initrd to work with dracut or mkinitrd |
601ea71e | 402 | cp -p %{SOURCE6} $RPM_BUILD_ROOT%{_libexecdir}/plymouth/plymouth-update-initrd |
a234bf88 | 403 | |
61d42f3e | 404 | %{__rm} $RPM_BUILD_ROOT{/%{_lib},%{_libdir}}/*.la \ |
17e34e42 JR |
405 | $RPM_BUILD_ROOT%{_libdir}/plymouth/*.{a,la} \ |
406 | $RPM_BUILD_ROOT%{_libdir}/plymouth/renderers/*.{a,la} | |
407 | ||
601ea71e | 408 | %{__mv} $RPM_BUILD_ROOT/%{_lib}/{libply,libply-splash-core}.a $RPM_BUILD_ROOT%{_libdir} |
74f487bf PZ |
409 | |
410 | install -d $RPM_BUILD_ROOT%{_localstatedir}/lib/plymouth | |
eab8ea45 | 411 | |
a234bf88 ER |
412 | cp -p %{SOURCE1} $RPM_BUILD_ROOT%{_pixmapsdir}/plymouth-logo.png |
413 | cp -p %{SOURCE2} $RPM_BUILD_ROOT%{systemdtmpfilesdir}/%{name}.conf | |
74f487bf | 414 | |
07265c55 JR |
415 | ln -s plymouth-logo.png $RPM_BUILD_ROOT%{_pixmapsdir}/system-logo-white.png |
416 | ||
9e86d936 JR |
417 | %find_lang %{name} |
418 | ||
74f487bf PZ |
419 | %clean |
420 | rm -rf $RPM_BUILD_ROOT | |
421 | ||
9e3b126a JR |
422 | %post |
423 | %systemd_reload | |
424 | ||
74f487bf PZ |
425 | %postun |
426 | if [ $1 -eq 0 ]; then | |
7eb37361 | 427 | rm -f %{_libdir}/plymouth/default.so |
74f487bf | 428 | fi |
9e3b126a | 429 | %systemd_reload |
74f487bf | 430 | |
a234bf88 ER |
431 | %post core-libs -p /sbin/ldconfig |
432 | %postun core-libs -p /sbin/ldconfig | |
433 | %post graphics-libs -p /sbin/ldconfig | |
434 | %postun graphics-libs -p /sbin/ldconfig | |
74f487bf | 435 | |
9e86d936 | 436 | %files -f %{name}.lang |
74f487bf | 437 | %defattr(644,root,root,755) |
95b39a2c | 438 | %doc AUTHORS README TODO |
b7ea056a | 439 | %dir %{_sysconfdir}/plymouth |
7eb37361 ER |
440 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/plymouth/plymouthd.conf |
441 | %{_mandir}/man8/plymouth.8* | |
61d42f3e JR |
442 | %attr(755,root,root) /bin/plymouth |
443 | %attr(755,root,root) /sbin/plymouthd | |
4d0be99b | 444 | %attr(755,root,root) %{_libdir}/plymouth/details.so |
4d0be99b | 445 | %attr(755,root,root) %{_libdir}/plymouth/text.so |
612b1f77 | 446 | %attr(755,root,root) %{_libdir}/plymouth/tribar.so |
a234bf88 ER |
447 | %attr(755,root,root) %{_libdir}/plymouth/renderers/drm.so |
448 | %attr(755,root,root) %{_libdir}/plymouth/renderers/frame-buffer.so | |
8f26705c JB |
449 | %dir %{_datadir}/plymouth |
450 | %dir %{_datadir}/plymouth/themes | |
451 | %dir %{_datadir}/plymouth/themes/details | |
452 | %dir %{_datadir}/plymouth/themes/text | |
612b1f77 | 453 | %dir %{_datadir}/plymouth/themes/tribar |
8f26705c JB |
454 | %{_datadir}/plymouth/plymouthd.defaults |
455 | %{_datadir}/plymouth/default-boot-duration | |
a234bf88 ER |
456 | %{_datadir}/plymouth/themes/details/details.plymouth |
457 | %{_datadir}/plymouth/themes/text/text.plymouth | |
612b1f77 | 458 | %{_datadir}/plymouth/themes/tribar/tribar.plymouth |
8f26705c | 459 | %{_pixmapsdir}/plymouth-logo.png |
07265c55 | 460 | %{_pixmapsdir}/system-logo-white.png |
a234bf88 | 461 | %{systemdtmpfilesdir}/%{name}.conf |
8f26705c JB |
462 | %dir %{_localstatedir}/lib/plymouth |
463 | %ghost %{_localstatedir}/lib/plymouth/boot-duration | |
74f487bf PZ |
464 | %{_localstatedir}/run/plymouth |
465 | %{_localstatedir}/spool/plymouth | |
612b1f77 JR |
466 | %{_mandir}/man1/plymouth.1* |
467 | %{_mandir}/man8/plymouthd.8* | |
ac730aad JR |
468 | |
469 | %{systemdunitdir}/plymouth-halt.service | |
470 | %{systemdunitdir}/plymouth-kexec.service | |
471 | %{systemdunitdir}/plymouth-poweroff.service | |
472 | %{systemdunitdir}/plymouth-quit-wait.service | |
473 | %{systemdunitdir}/plymouth-quit.service | |
474 | %{systemdunitdir}/plymouth-read-write.service | |
475 | %{systemdunitdir}/plymouth-reboot.service | |
476 | %{systemdunitdir}/plymouth-start.service | |
0fe451a5 | 477 | %{systemdunitdir}/plymouth-switch-root.service |
ac730aad JR |
478 | %{systemdunitdir}/systemd-ask-password-plymouth.path |
479 | %{systemdunitdir}/systemd-ask-password-plymouth.service | |
480 | %{systemdunitdir}/halt.target.wants/plymouth-halt.service | |
7f89b38c | 481 | %dir %{systemdunitdir}/initrd-switch-root.target.wants |
0fe451a5 | 482 | %{systemdunitdir}/initrd-switch-root.target.wants/plymouth-switch-root.service |
612b1f77 | 483 | %{systemdunitdir}/initrd-switch-root.target.wants/plymouth-start.service |
ac730aad JR |
484 | %{systemdunitdir}/kexec.target.wants/plymouth-kexec.service |
485 | %{systemdunitdir}/multi-user.target.wants/plymouth-quit.service | |
486 | %{systemdunitdir}/multi-user.target.wants/plymouth-quit-wait.service | |
487 | %{systemdunitdir}/poweroff.target.wants/plymouth-poweroff.service | |
488 | %{systemdunitdir}/reboot.target.wants/plymouth-reboot.service | |
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 | %if "%{_libexecdir}" != "%{_libdir}" |
531 | %dir %{_libexecdir}/plymouth | |
532 | %endif | |
533 | %attr(755,root,root) %{_libexecdir}/plymouth/plymouth-generate-initrd | |
534 | %attr(755,root,root) %{_libexecdir}/plymouth/plymouth-populate-initrd | |
535 | %attr(755,root,root) %{_libexecdir}/plymouth/plymouth-update-initrd | |
612b1f77 | 536 | %{_mandir}/man1/plymouth-set-default-theme.1* |
a234bf88 | 537 | |
8f26705c JB |
538 | %files plugin-fade-throbber |
539 | %defattr(644,root,root,755) | |
540 | %attr(755,root,root) %{_libdir}/plymouth/fade-throbber.so | |
541 | ||
a234bf88 ER |
542 | %files plugin-label |
543 | %defattr(644,root,root,755) | |
544 | %attr(755,root,root) %{_libdir}/plymouth/label.so | |
545 | ||
8f26705c | 546 | %files plugin-script |
a234bf88 | 547 | %defattr(644,root,root,755) |
8f26705c JB |
548 | %attr(755,root,root) %{_libdir}/plymouth/script.so |
549 | ||
550 | %files plugin-space-flares | |
551 | %defattr(644,root,root,755) | |
552 | %attr(755,root,root) %{_libdir}/plymouth/space-flares.so | |
553 | ||
8f26705c JB |
554 | %files plugin-two-step |
555 | %defattr(644,root,root,755) | |
556 | %attr(755,root,root) %{_libdir}/plymouth/two-step.so | |
557 | ||
558 | %files system-theme | |
559 | %defattr(644,root,root,755) | |
560 | ||
9e86d936 JR |
561 | %files theme-bgrt |
562 | %defattr(644,root,root,755) | |
563 | %dir %{_datadir}/plymouth/themes/bgrt | |
564 | %{_datadir}/plymouth/themes/bgrt/bgrt.plymouth | |
565 | ||
612b1f77 | 566 | %files theme-glow |
8f26705c | 567 | %defattr(644,root,root,755) |
612b1f77 JR |
568 | %dir %{_datadir}/plymouth/themes/glow |
569 | %{_datadir}/plymouth/themes/glow/*.png | |
570 | %{_datadir}/plymouth/themes/glow/glow.plymouth | |
a234bf88 ER |
571 | |
572 | %files theme-fade-in | |
573 | %defattr(644,root,root,755) | |
574 | %dir %{_datadir}/plymouth/themes/fade-in | |
575 | %{_datadir}/plymouth/themes/fade-in/bullet.png | |
576 | %{_datadir}/plymouth/themes/fade-in/entry.png | |
577 | %{_datadir}/plymouth/themes/fade-in/lock.png | |
578 | %{_datadir}/plymouth/themes/fade-in/star.png | |
579 | %{_datadir}/plymouth/themes/fade-in/fade-in.plymouth | |
580 | ||
581 | %files theme-spinner | |
582 | %defattr(644,root,root,755) | |
583 | %dir %{_datadir}/plymouth/themes/spinner | |
584 | %{_datadir}/plymouth/themes/spinner/*.png | |
585 | %{_datadir}/plymouth/themes/spinner/spinner.plymouth | |
586 | ||
a234bf88 ER |
587 | %files theme-spinfinity |
588 | %defattr(644,root,root,755) | |
589 | %dir %{_datadir}/plymouth/themes/spinfinity | |
9e86d936 | 590 | %{_datadir}/plymouth/themes/spinfinity/animation-0001.png |
a234bf88 ER |
591 | %{_datadir}/plymouth/themes/spinfinity/box.png |
592 | %{_datadir}/plymouth/themes/spinfinity/bullet.png | |
9e86d936 | 593 | %{_datadir}/plymouth/themes/spinfinity/capslock.png |
a234bf88 | 594 | %{_datadir}/plymouth/themes/spinfinity/entry.png |
9e86d936 JR |
595 | %{_datadir}/plymouth/themes/spinfinity/header-image.png |
596 | %{_datadir}/plymouth/themes/spinfinity/keyboard.png | |
597 | %{_datadir}/plymouth/themes/spinfinity/keymap-render.png | |
a234bf88 ER |
598 | %{_datadir}/plymouth/themes/spinfinity/lock.png |
599 | %{_datadir}/plymouth/themes/spinfinity/throbber-[0-3][0-9].png | |
600 | %{_datadir}/plymouth/themes/spinfinity/spinfinity.plymouth | |
601 | ||
a234bf88 ER |
602 | %files theme-solar |
603 | %defattr(644,root,root,755) | |
604 | %dir %{_datadir}/plymouth/themes/solar | |
605 | %{_datadir}/plymouth/themes/solar/*.png | |
606 | %{_datadir}/plymouth/themes/solar/solar.plymouth | |
607 | ||
a234bf88 ER |
608 | %files theme-script |
609 | %defattr(644,root,root,755) | |
610 | %dir %{_datadir}/plymouth/themes/script | |
611 | %{_datadir}/plymouth/themes/script/*.png | |
612 | %{_datadir}/plymouth/themes/script/script.script | |
613 | %{_datadir}/plymouth/themes/script/script.plymouth |