]>
Commit | Line | Data |
---|---|---|
850b3211 AM |
1 | # TODO: |
2 | # - init script | |
3 | # - test everything | |
4 | Summary: Next generation boot splashing system | |
9cb92904 | 5 | Summary(pl.UTF-8): System ekranu startowego nowej generacji |
850b3211 | 6 | Name: splashy |
9fa1ff04 | 7 | Version: 0.3.13 |
cc43ccdb | 8 | Release: 15 |
850b3211 AM |
9 | License: GPL v2 |
10 | Group: Applications/System | |
9fa1ff04 | 11 | Source0: http://alioth.debian.org/frs/download.php/2691/%{name}_%{version}.tar.gz |
12 | # Source0-md5: 03b7ee4f31c56ee61463772f74bad8a0 | |
a07425d7 | 13 | Patch0: format-security.patch |
850b3211 | 14 | URL: http://splashy.alioth.debian.org/ |
9e193da6 JB |
15 | BuildRequires: DirectFB-devel >= 0.9.22 |
16 | BuildRequires: autoconf >= 2.59 | |
850b3211 | 17 | BuildRequires: automake |
3d3951dd | 18 | BuildRequires: gettext-tools |
9e193da6 | 19 | BuildRequires: glib2-devel >= 2.0 |
259acbaa | 20 | BuildRequires: libmagic-devel |
8b16e2fe | 21 | BuildRequires: libtool |
6eb4c11c | 22 | BuildRequires: perl-tools-pod |
850b3211 | 23 | BuildRequires: pkgconfig |
6c00da01 | 24 | BuildRequires: sed >= 4.0 |
f94cc3d1 | 25 | Requires: %{name}-libs = %{version}-%{release} |
9ae68d4c | 26 | Requires: splashy-theme |
850b3211 AM |
27 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
28 | ||
29 | %define _sbindir /sbin | |
30 | ||
31 | %description | |
32 | Splashy is a next generation boot splashing system for Linux systems. | |
33 | Unlike other splashing systems, it needs no patches to the kernel and | |
34 | it's installed like a normal package. Make your boot process eye-candy | |
35 | with Splashy! | |
36 | ||
37 | Some of Splash's most noticable features include: | |
38 | - Require zero kernel patches/full functionality in user-space | |
39 | - Boot/halt/reboot/runlevel-switch support | |
40 | - Progressbar support (with optional border) | |
41 | - Verbose mode (with F2/ESC keys) | |
42 | - Configuration file in XML | |
43 | - Cope with any video-mode resolution/size | |
44 | - Cope with 8, 16, and 24 bit framebuffers | |
45 | - Alpha channel (transparency) support | |
46 | - Video mode detection | |
47 | - Initramfs support | |
48 | - TrueType2 fonts support | |
49 | - Lots of image/animation file formats supported: jpg, png, gif, mpg, | |
50 | swf | |
51 | - Low dependencies and code in C to best perform | |
52 | - Full LSB support | |
53 | - Multiple themes support | |
54 | - Really easy to create new themes | |
55 | - X detection on exit | |
56 | - Smooth progressbar movement | |
57 | - Animations support | |
58 | - Fade in/out effects | |
59 | - Totally configurable | |
60 | ||
9cb92904 JB |
61 | %description -l pl.UTF-8 |
62 | Splashy to system ekranu startowego nowej generacji dla Linuksa. W | |
63 | przeciwieństwie do innych takich systemów nie wymaga łatania jądra i | |
64 | jest instalowany jako zwykły pakiet. Pozwala upiększyć proces | |
65 | uruchamiania systemu. | |
66 | ||
67 | Najbardziej widoczne możliwości pakietu Splashy to: | |
68 | - brak potrzeby łatania jądra, pełna funkcjonalność w przestrzeni | |
69 | użytkownika | |
70 | - obsługa uruchamiania/wyłączania/restartowania komputera oraz wyboru | |
71 | poziomu (runlevelu) | |
72 | - obsługa paska postępu (z opcjonalną ramką) | |
73 | - tryb szczegółowy (z obsługą klawiszy F2/ESC) | |
74 | - plik konfiguracyjny w formacie XML | |
75 | - działanie z dowolną rozdzielczością/rozmiarem trybu graficznego | |
76 | - działanie z framebufferami 8-, 16- i 24-bitowymi | |
77 | - obsługa kanału alpha (przezroczystości) | |
78 | - obsługa initramfs | |
79 | - obsługa fontów TrueType | |
80 | - obsługa wielu formatów obrazów/animacji: jpg, png, gif, mpg, swf | |
81 | - małe zależności i kod w C dla najlepszej wydajności | |
82 | - pełna obsługa LSB | |
83 | - obsługa wielu motywów | |
84 | - naprawdę łatwe tworzenie nowych motywów | |
85 | - wykrywanie X przy kończeniu pracy | |
86 | - płynne przesuwanie paska postępu | |
87 | - obsługa animacji | |
88 | - efekty fade in/fade out | |
89 | - pełna konfigurowalność | |
90 | ||
850b3211 | 91 | %package libs |
9cb92904 JB |
92 | Summary: Splashy libraries |
93 | Summary(pl.UTF-8): Biblioteki Splashy | |
850b3211 AM |
94 | Group: Libraries |
95 | ||
96 | %description libs | |
9cb92904 JB |
97 | Splashy libraries. |
98 | ||
99 | %description libs -l pl.UTF-8 | |
100 | Biblioteki Splashy. | |
850b3211 AM |
101 | |
102 | %package devel | |
9cb92904 JB |
103 | Summary: Header files for Splashy libraries |
104 | Summary(pl.UTF-8): Pliki nagłówkowe bibliotek Splashy | |
850b3211 | 105 | Group: Development/Libraries |
9cb92904 | 106 | Requires: %{name}-libs = %{version}-%{release} |
850b3211 AM |
107 | |
108 | %description devel | |
9cb92904 JB |
109 | Header files for Splashy libraries. |
110 | ||
111 | %description devel -l pl.UTF-8 | |
112 | Pliki nagłówkowe bibliotek Splashy. | |
850b3211 | 113 | |
7b16613a JR |
114 | %package static |
115 | Summary: Static Splashy libraries | |
116 | Summary(pl.UTF-8): Statyczne biblioteki Splashy | |
117 | Group: Development/Libraries | |
118 | Requires: %{name}-devel = %{version}-%{release} | |
119 | ||
120 | %description static | |
121 | Static Splashy libraries. | |
122 | ||
123 | %description static -l pl.UTF-8 | |
124 | Statyczne biblioteki Splashy. | |
125 | ||
d79fd768 ER |
126 | %package theme-default |
127 | Summary: Default theme for splashy | |
6c00da01 | 128 | Summary(pl.UTF-8): Domyślny motyw dla systemu splashy |
d79fd768 ER |
129 | Group: Themes |
130 | Requires: %{name} = %{version}-%{release} | |
9ae68d4c | 131 | Provides: splashy-theme |
d79fd768 ER |
132 | |
133 | %description theme-default | |
6c00da01 JB |
134 | Default theme for splashy. |
135 | ||
136 | %description theme-default -l pl.UTF-8 | |
137 | Domyślny motyw dla systemu splashy. | |
d79fd768 | 138 | |
4ed74598 JR |
139 | %package initramfs |
140 | Summary: Splashy support scripts for initramfs-tools | |
141 | Summary(pl.UTF-8): Skrypty dla initramfs-tools ze wsparciem dla systemu splashy | |
142 | Group: Base | |
143 | Requires: %{name} = %{version}-%{release} | |
144 | Requires: initramfs-tools | |
145 | ||
146 | %description initramfs | |
147 | Splashy support scripts for initramfs-tools. | |
148 | ||
149 | %description initramfs -l pl.UTF-8 | |
150 | Skrypty dla initramfs-tools ze wsparciem dla systemu splashy. | |
151 | ||
850b3211 AM |
152 | %prep |
153 | %setup -q | |
a07425d7 | 154 | %patch0 -p1 |
850b3211 AM |
155 | sed -i -e 's#-Werror##g' configure.ac |
156 | ||
157 | %build | |
37559c6b | 158 | %{__libtoolize} |
850b3211 AM |
159 | %{__aclocal} |
160 | %{__autoconf} | |
8d898738 | 161 | %{__autoheader} |
850b3211 | 162 | %{__automake} |
7b16613a JR |
163 | |
164 | %configure \ | |
165 | --enable-static | |
166 | ||
00efac33 | 167 | %{__make} -j1 |
850b3211 AM |
168 | |
169 | %install | |
170 | rm -rf $RPM_BUILD_ROOT | |
171 | ||
172 | %{__make} install \ | |
173 | DESTDIR=$RPM_BUILD_ROOT | |
174 | ||
9fa1ff04 | 175 | %find_lang %{name} |
176 | ||
850b3211 AM |
177 | %clean |
178 | rm -rf $RPM_BUILD_ROOT | |
179 | ||
9cb92904 JB |
180 | %post libs -p /sbin/ldconfig |
181 | %postun libs -p /sbin/ldconfig | |
850b3211 | 182 | |
9fa1ff04 | 183 | %files -f %{name}.lang |
850b3211 AM |
184 | %defattr(644,root,root,755) |
185 | %doc AUTHORS ChangeLog HACKING NEWS README TODO | |
186 | %attr(755,root,root) %{_sbindir}/* | |
9508948c | 187 | %dir %{_datadir}/splashy |
63d04506 | 188 | %dir %{_datadir}/splashy/themes |
850b3211 AM |
189 | %{_mandir}/man?/* |
190 | %dir %{_sysconfdir}/splashy | |
191 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/splashy/*.xml | |
d79fd768 | 192 | %dir %{_sysconfdir}/splashy/themes |
850b3211 | 193 | |
a9b3c8d3 ER |
194 | %files libs |
195 | %defattr(644,root,root,755) | |
9e193da6 JB |
196 | %attr(755,root,root) %{_libdir}/libsplashy.so.*.*.* |
197 | %attr(755,root,root) %ghost %{_libdir}/libsplashy.so.1 | |
198 | %attr(755,root,root) %{_libdir}/libsplashycnf.so.*.*.* | |
199 | %attr(755,root,root) %ghost %{_libdir}/libsplashycnf.so.1 | |
a9b3c8d3 | 200 | |
850b3211 AM |
201 | %files devel |
202 | %defattr(644,root,root,755) | |
9e193da6 JB |
203 | %attr(755,root,root) %{_libdir}/libsplashy.so |
204 | %attr(755,root,root) %{_libdir}/libsplashycnf.so | |
205 | %{_libdir}/libsplashy.la | |
206 | %{_libdir}/libsplashycnf.la | |
e0144f2a | 207 | %{_includedir}/splashy*.h |
9e193da6 | 208 | %{_pkgconfigdir}/splashy.pc |
d79fd768 | 209 | |
7b16613a JR |
210 | %files static |
211 | %defattr(644,root,root,755) | |
212 | %attr(755,root,root) %{_libdir}/lib*.a | |
213 | ||
d79fd768 ER |
214 | %files theme-default |
215 | %defattr(644,root,root,755) | |
9fa1ff04 | 216 | %{_datadir}/splashy/themes/default |
4ed74598 | 217 | |
822fa6ca | 218 | %if 0 |
4ed74598 JR |
219 | %files initramfs |
220 | %defattr(644,root,root,755) | |
221 | %attr(755,root,root) %{_datadir}/initramfs-tools/hooks/* | |
222 | %attr(755,root,root) %{_datadir}/initramfs-tools/scripts/init-bottom/* | |
223 | %attr(755,root,root) %{_datadir}/initramfs-tools/scripts/local-premount/* | |
224 | %{_datadir}/initramfs-tools/modules.d/* | |
822fa6ca | 225 | %endif |