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.pl.debian.org/debian/pool/main/d/delo/%{name}_%{debver}.tar.gz
12 # Source0-md5: c230e2c175a6488c7145b9a7118cc5ba
15 #ExclusiveArch: mipsel
16 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18 %define _sbindir /sbin
21 This is DELO, the DECstation boot loader, which you need to boot Linux
22 on DECstations from storage media. It can also create bootable media
23 for DECstations on other machines.
25 %description -l pl.UTF-8
26 Ten pakiet zawiera DELO - bootloader dla maszyn DECstation, potrzebny
27 do uruchomienia Linuksa na takich maszynach. Może także tworzyć
28 bootowalne nośniki na innych maszynach.
36 CFLAGS="%{rpmcflags}" \
37 LDFLAGS="%{rpmldflags}"
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT{/etc/sysconfig/rc-boot,%{_mandir}/man{5,8}}
43 install delo/delo /sbin
44 install loader/delo.2nd /boot
46 install man/delo8 %{_mandir}/man8
47 install man/delo.conf.5 %{_mandir}/man5
48 install man/t-rex.1 %{_mandir}/man1
50 install t-rex/t-rex %{_bindir}
51 install t-rex-loader/t-rex-loader %{_libdir}/%{name}
53 install delo.conf /etc
56 rm -rf $RPM_BUILD_ROOT
59 %defattr(644,root,root,755)
60 %doc README TODO kernel-patch/ramdisk_kernel_parameters.patch
61 %attr(600,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/%{name}.conf
62 %attr(755,root,root) /boot/delo.2nd
63 %attr(755,root,root) %{_sbindir}/delo
64 %attr(755,root,root) %{_bindir}/t-rex
65 %dir %attr(755,root,root) %{_libdir}/%{name}
66 %attr(755,root,root) %{_libdir}/%{name}/*