4 Summary: Very simple boot splash screen
7 URL: http://git.yoctoproject.org/cgit/cgit.cgi/psplash
8 Source: %{name}-%{version}.tar.bz2
11 Very simple boot splash screen
14 %setup -q -n %{name}-%{version}
17 ./autogen.sh --prefix=/usr
21 rm -rf $RPM_BUILD_ROOT
22 make install DESTDIR=$RPM_BUILD_ROOT
24 mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/tmpfiles.d/
25 cp data/psplash.conf $RPM_BUILD_ROOT%{_prefix}/lib/tmpfiles.d/
27 mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/systemd/system/sysinit.target.wants
28 install -m 0644 data/psplash.service $RPM_BUILD_ROOT%{_prefix}/lib/systemd/system
29 ln -s ../psplash.service $RPM_BUILD_ROOT%{_prefix}/lib/systemd/system/sysinit.target.wants/psplash.service
31 mkdir -p $RPM_BUILD_ROOT%{_prefix}/lib/systemd/user/weston.target.wants
32 install -m 0644 data/psplash-quit.service $RPM_BUILD_ROOT%{_prefix}/lib/systemd/user
33 ln -s ../psplash-quit.service $RPM_BUILD_ROOT%{_prefix}/lib/systemd/user/weston.target.wants/psplash-quit.service
36 rm -rf $RPM_BUILD_ROOT
39 %defattr(-,root,root,-)
41 %{_prefix}/lib/systemd/system/psplash.service
42 %{_prefix}/lib/systemd/system/sysinit.target.wants/psplash.service
43 %{_prefix}/lib/systemd/user/psplash-quit.service
44 %{_prefix}/lib/systemd/user/weston.target.wants/psplash-quit.service
45 %{_prefix}/lib/tmpfiles.d/psplash.conf