1 Summary: Linux Live Kit
7 Group: Applications/System
8 Source0: https://github.com/Tomas-M/linux-live/archive/v%{version}.tar.gz?/%{name}-%{version}.tgz
9 # Source0-md5: 393c52991be3e4d21660e00b6bbf316c
10 Source1: http://www.kernel.org/pub/linux/utils/boot/syslinux/syslinux-4.06.tar.gz
11 # Source1-md5: ab705f8a0be0598770014bd5498b2eb2
12 Source2: %{name}-build.sh
13 Patch0: https://github.com/Tomas-M/linux-live/pull/5.patch
14 # Patch0-md5: 603c98f4c516929044bccf0419423586
15 URL: http://www.linux-live.org/
17 BuildRequires: perl-base
18 BuildRequires: rpmbuild(macros) >= 1.583
25 # suggests for rebuidling isolinux
34 Obsoletes: linux-live-build < 6.2.4-7
35 ExclusiveArch: %{ix86} %{x8664} arm
36 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
38 %define _libdir %{_prefix}/lib
39 %define _libexecdir %{_libdir}/%{name}
40 %define _sysconfdir /etc/%{name}
42 # autostrip nothing and disable debug (it is supposed to be noarch)
43 %define _noautoprov lib.*\.so.* ld-linux.*\.so.*
44 %define _noautoreq %{_noautoprov}
45 %define _noautostrip .*
46 %define _enable_debug_packages 0
48 # undefined sym: pthread_sigmask
49 %define skip_post_check_so libulockmgr.so.1.0.1
52 Linux Live Kit is a set of shell scripts which allows you to create
53 your own Live Linux from an already installed Linux distribution. The
54 Live system you create will be bootable from CD-ROM or a disk device,
55 for example USB Flash Drive, USB Pen Drive, Camera connected to USB
56 port, and so on. People use Linux Live Kit to boot Linux from iPod as
59 %description -l pl.UTF-8
60 Linux Live to zestaw skryptów powłoki pozwalających tworzyć własne
61 LiveCD z każdej dystrybucji Linuksa. Wystarczy zainstalować ulubioną
62 dystrybucję, usunąć wszystkie niepotrzebne pliki (na przykład strony
63 manuala i wszystkie inne nieistotne dla nas pliki), a następnie
64 ściągnąć i uruchomić te skrypty, aby stworzyć własnego Live Linuksa.
75 tar -xf %{SOURCE1} -C tools
77 find '(' -name '*~' -o -name '*.orig' ')' -print0 | xargs -0 -r -l512 rm -f
80 # rebuild isolinux to be in /pld/ subdir
83 sh -x ./isolinux.bin.update
86 rm -rf $RPM_BUILD_ROOT
87 install -d $RPM_BUILD_ROOT{%{_libexecdir},%{_bindir},%{_sbindir}}
88 cp -a bootfiles bootinfo.txt build initramfs livekitlib tools $RPM_BUILD_ROOT%{_libexecdir}
89 install -p %{SOURCE2} $RPM_BUILD_ROOT%{_sbindir}/linux-live-build
91 install -d $RPM_BUILD_ROOT%{_sysconfdir}
92 cp -p .config $RPM_BUILD_ROOT%{_sysconfdir}/config
95 rm -rf $RPM_BUILD_ROOT
98 %defattr(644,root,root,755)
99 %doc README TODO DOC/*.txt
100 %attr(755,root,root) %{_sbindir}/linux-live-build
102 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/config
104 %attr(755,root,root) %{_libexecdir}/build
105 %{_libexecdir}/livekitlib
106 %{_libexecdir}/bootinfo.txt
108 %dir %{_libexecdir}/bootfiles
109 %{_libexecdir}/bootfiles/bootinst.bat
110 %{_libexecdir}/bootfiles/bootinst.sh
111 %{_libexecdir}/bootfiles/bootlogo.png
112 %{_libexecdir}/bootfiles/extlinux.exe
113 %{_libexecdir}/bootfiles/isolinux.bin
114 %{_libexecdir}/bootfiles/mbr.bin
115 %{_libexecdir}/bootfiles/pxelinux.0
116 %{_libexecdir}/bootfiles/syslinux.cfg
117 %{_libexecdir}/bootfiles/syslinux.com
118 %{_libexecdir}/bootfiles/syslinux.exe
119 %{_libexecdir}/bootfiles/vesamenu.c32
121 %dir %{_libexecdir}/initramfs
122 %{_libexecdir}/initramfs/cleanup
123 %{_libexecdir}/initramfs/init
124 %{_libexecdir}/initramfs/initramfs_create
126 %dir %{_libexecdir}/initramfs/static
127 %{_libexecdir}/initramfs/static/busybox
128 %{_libexecdir}/initramfs/static/eject
129 %{_libexecdir}/initramfs/static/mount.dynfilefs
130 %{_libexecdir}/initramfs/static/mount.ntfs-3g
131 %{_libexecdir}/initramfs/static/update
133 %dir %{_libexecdir}/tools
134 %attr(755,root,root) %{_libexecdir}/tools/isolinux.bin.update