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