]>
Commit | Line | Data |
---|---|---|
e87a0476 MT |
1 | ############################################################################### |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = ipfire-logos | |
e225e041 MT |
7 | version = 4 |
8 | release = 1 | |
e87a0476 MT |
9 | arch = noarch |
10 | ||
11 | maintainer = Michael Tremer <michael.tremer@ipfire.org> | |
e87a0476 MT |
12 | url = http://www.ipfire.org |
13 | license = | |
14 | summary = IPFire logos and images. | |
15 | ||
16 | description | |
17 | This package contains several logos, fonts and artwork of the | |
18 | IPFire distribution. | |
19 | end | |
20 | ||
730a2c90 | 21 | source_dl = https://source.ipfire.org/releases/%{name}/ |
e87a0476 MT |
22 | |
23 | build | |
24 | requires | |
25 | ImageMagick | |
26 | ghostscript | |
557eba92 | 27 | netpbm-progs |
e87a0476 MT |
28 | end |
29 | end | |
30 | ||
31 | packages | |
32 | package %{name} | |
d98f4e1c MT |
33 | prerequires |
34 | plymouth-scripts | |
35 | end | |
36 | ||
37 | requires | |
38 | plymouth-plugin-script | |
39 | end | |
40 | ||
dc9f2323 MT |
41 | provides |
42 | system-logos = %{thisver} | |
43 | end | |
44 | ||
d98f4e1c MT |
45 | script postin |
46 | %{sbindir}/plymouth-set-default-theme ipfire-logo || : | |
47 | end | |
48 | ||
49 | script postun | |
50 | if [ "$(%{sbindir}/plymouth-set-default-theme)" = "ipfire-logo" ]; then | |
51 | %{sbindir}/plymouth-set-default-theme --reset | |
52 | /usr/lib/plymouth/plymouth-generate-initrd | |
53 | fi | |
54 | end | |
e87a0476 MT |
55 | end |
56 | end |