1 | Summary: Userspace bootsplash utility |
---|
2 | Summary(ja): ユーザスペーススプラッシュユーティリティ |
---|
3 | Name: usplash |
---|
4 | Version: 0.5.49 |
---|
5 | Release: 2%{?_dist_release} |
---|
6 | License: GPL |
---|
7 | Group: Applications/System |
---|
8 | URL: https://wiki.ubuntu.com/USplash |
---|
9 | |
---|
10 | Source0: http://ftp.debian.org/debian/pool/main/u/usplash/%{name}_%{version}.tar.gz |
---|
11 | Patch1: %{name}-0.5.49-install-path.patch |
---|
12 | |
---|
13 | BuildRequires: gd-devel >= 2.0.0 |
---|
14 | BuildRequires: libpng-devel |
---|
15 | Requires(post): /sbin/ldconfig |
---|
16 | Requires(postun): /sbin/ldconfig |
---|
17 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
18 | |
---|
19 | Vendor: Project Vine |
---|
20 | Distribution: Vine Linux |
---|
21 | Packager: daisuke |
---|
22 | |
---|
23 | %description |
---|
24 | Usplash is a userspace application that uses the Linux framebuffer |
---|
25 | interface to draw a splash screen at boot. It has a companion utility |
---|
26 | that is able to send commands to usplash, allowing information about |
---|
27 | the bootup sequence to be displayed in a more attractive way. |
---|
28 | |
---|
29 | %package devel |
---|
30 | Summary: Usplash header files |
---|
31 | Summary(ja): Usplash ヘッダファイル |
---|
32 | Group: Development/Libraries |
---|
33 | Requires: %{name} = %{version}-%{release} |
---|
34 | |
---|
35 | %description devel |
---|
36 | Usplash header files. |
---|
37 | |
---|
38 | %prep |
---|
39 | %setup -q -n %{name} |
---|
40 | %patch1 -p1 -b .install-path |
---|
41 | |
---|
42 | %build |
---|
43 | %{__make} -C bogl |
---|
44 | %{__make} |
---|
45 | |
---|
46 | %install |
---|
47 | rm -rf $RPM_BUILD_ROOT |
---|
48 | %{__make} install \ |
---|
49 | DESTDIR=$RPM_BUILD_ROOT LIBDIR=%{_libdir} SYSLIBDIR=/%{_lib} |
---|
50 | |
---|
51 | install -d $RPM_BUILD_ROOT%{_libdir} |
---|
52 | ln -sf /%{_lib}/libusplash.so.0 $RPM_BUILD_ROOT%{_libdir}/libusplash.so |
---|
53 | |
---|
54 | install -d $RPM_BUILD_ROOT/var/lib/usplash |
---|
55 | mkfifo $RPM_BUILD_ROOT/var/lib/usplash/usplash_fifo |
---|
56 | mkfifo $RPM_BUILD_ROOT/var/lib/usplash/usplash_outfifo |
---|
57 | |
---|
58 | install -d $RPM_BUILD_ROOT%{_mandir}/man8 |
---|
59 | install -m644 *.8 $RPM_BUILD_ROOT%{_mandir}/man8/ |
---|
60 | |
---|
61 | install -d $RPM_BUILD_ROOT%{_libexecdir}/usplash |
---|
62 | |
---|
63 | %clean |
---|
64 | rm -rf $RPM_BUILD_ROOT |
---|
65 | |
---|
66 | %post -p /sbin/ldconfig |
---|
67 | |
---|
68 | %postun -p /sbin/ldconfig |
---|
69 | |
---|
70 | %files |
---|
71 | %defattr(644,root,root,755) |
---|
72 | %doc README |
---|
73 | %attr(755,root,root) %{_sbindir}/* |
---|
74 | %attr(755,root,root) %{_syssbindir}/* |
---|
75 | %attr(755,root,root) %{_bindir}/* |
---|
76 | %attr(755,root,root) /%{_lib}/libusplash.so.0 |
---|
77 | %dir %{_libexecdir}/usplash |
---|
78 | %dir /var/lib/usplash |
---|
79 | /var/lib/usplash/usplash_fifo |
---|
80 | /var/lib/usplash/usplash_outfifo |
---|
81 | %{_mandir}/man8/*.8* |
---|
82 | |
---|
83 | %files devel |
---|
84 | %defattr(644,root,root,755) |
---|
85 | %{_includedir}/*.h |
---|
86 | %attr(755,root,root) %{_libdir}/libusplash.so |
---|
87 | |
---|
88 | %changelog |
---|
89 | * Sat Apr 23 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.5.49-2 |
---|
90 | - fix typo |
---|
91 | |
---|
92 | * Thu Apr 21 2011 Daisuke SUZUKI <daisuke@linux.or.jp> 0.5.49-1 |
---|
93 | - initial build for Vine Linux |
---|
94 | |
---|