2 %define ver %(echo %{debver} | sed 's/-.*//')
3 Summary: The DECstation boot loader
4 Summary(pl.UTF-8): Bootloader dla maszyn DECstation
9 Group: Applications/System
10 # debian? can't find original
11 Source0: ftp://ftp.debian.org/debian/pool/main/d/delo/%{name}_%{debver}.tar.gz
12 # Source0-md5: c230e2c175a6488c7145b9a7118cc5ba
15 #ExclusiveArch: mipsel
16 BuildRequires: INSTALL_TO_RPM_BUILD_ROOT
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 %define _sbindir /sbin
22 This is DELO, the DECstation boot loader, which you need to boot Linux
23 on DECstations from storage media. It can also create bootable media
24 for DECstations on other machines.
26 %description -l pl.UTF-8
27 Ten pakiet zawiera DELO - bootloader dla maszyn DECstation, potrzebny
28 do uruchomienia Linuksa na takich maszynach. Może także tworzyć
29 bootowalne nośniki na innych maszynach.
37 CFLAGS="%{rpmcflags}" \
38 LDFLAGS="%{rpmldflags}"
41 rm -rf $RPM_BUILD_ROOT
42 install -d $RPM_BUILD_ROOT{/etc/sysconfig/rc-boot,%{_mandir}/man{5,8}}
44 install delo/delo /sbin
45 install loader/delo.2nd /boot
47 install man/delo8 %{_mandir}/man8
48 install man/delo.conf.5 %{_mandir}/man5
49 install man/t-rex.1 %{_mandir}/man1
51 install t-rex/t-rex %{_bindir}
52 install t-rex-loader/t-rex-loader %{_libdir}/%{name}
54 install delo.conf /etc
57 rm -rf $RPM_BUILD_ROOT
60 %defattr(644,root,root,755)
61 %doc README TODO kernel-patch/ramdisk_kernel_parameters.patch
62 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
63 %attr(755,root,root) /boot/delo.2nd
64 %attr(755,root,root) %{_sbindir}/delo
65 %attr(755,root,root) %{_bindir}/t-rex
66 %dir %{_libdir}/%{name}
67 %attr(755,root,root) %{_libdir}/%{name}/*