]> git.pld-linux.org Git - packages/delo.git/blob - delo.spec
- pl
[packages/delo.git] / delo.spec
1 %define         debver  0.8-2
2 %define         ver %(echo %{debver} | sed 's/-.*//')
3 Summary:        The DECstation boot loader
4 Summary(pl.UTF-8):      Bootloader dla maszyn DECstation
5 Name:           delo
6 Version:        %{ver}
7 Release:        0.1
8 License:        GPL
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
13 #URL:           
14 Provides:       bootloader
15 #ExclusiveArch: mipsel
16 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
17
18 %define         _sbindir        /sbin
19
20 %description
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.
24
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.
29
30 %prep
31 %setup -q
32
33 %build
34 %{__make} \
35         CC="%{__cc}" \
36         CFLAGS="%{rpmcflags}" \
37         LDFLAGS="%{rpmldflags}"
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT{/etc/sysconfig/rc-boot,%{_mandir}/man{5,8}}
42
43 install delo/delo /sbin
44 install loader/delo.2nd /boot
45
46 install man/delo8 %{_mandir}/man8
47 install man/delo.conf.5 %{_mandir}/man5
48 install man/t-rex.1 %{_mandir}/man1
49
50 install t-rex/t-rex %{_bindir}
51 install t-rex-loader/t-rex-loader %{_libdir}/%{name}
52
53 install delo.conf /etc
54
55 %clean
56 rm -rf $RPM_BUILD_ROOT
57
58 %files
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}/*
67 %{_mandir}/man[158]/*
This page took 0.078869 seconds and 3 git commands to generate.