usplash-vl.spec 2.4 KB

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