]> git.pld-linux.org Git - packages/delo.git/blame - delo.spec
- use http://ftp.debian.org/ url
[packages/delo.git] / delo.spec
CommitLineData
61b48602
JR
1%define debver 0.8-2
2%define ver %(echo %{debver} | sed 's/-.*//')
3Summary: The DECstation boot loader
fb5302ef 4Summary(pl.UTF-8): Bootloader dla maszyn DECstation
61b48602
JR
5Name: delo
6Version: %{ver}
7Release: 0.1
8License: GPL
9Group: Applications/System
10# debian? can't find original
3a469d12 11Source0: http://ftp.debian.org/debian/pool/main/d/delo/%{name}_%{debver}.tar.gz
61b48602 12# Source0-md5: c230e2c175a6488c7145b9a7118cc5ba
38e07da5 13#URL:
61b48602
JR
14Provides: bootloader
15#ExclusiveArch: mipsel
38e07da5 16BuildRequires: INSTALL_TO_RPM_BUILD_ROOT
61b48602
JR
17BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19%define _sbindir /sbin
20
21%description
22This is DELO, the DECstation boot loader, which you need to boot Linux
23on DECstations from storage media. It can also create bootable media
24for DECstations on other machines.
25
fb5302ef
JB
26%description -l pl.UTF-8
27Ten pakiet zawiera DELO - bootloader dla maszyn DECstation, potrzebny
28do uruchomienia Linuksa na takich maszynach. Może także tworzyć
29bootowalne nośniki na innych maszynach.
30
61b48602
JR
31%prep
32%setup -q
33
34%build
35%{__make} \
36 CC="%{__cc}" \
37 CFLAGS="%{rpmcflags}" \
38 LDFLAGS="%{rpmldflags}"
39
40%install
41rm -rf $RPM_BUILD_ROOT
42install -d $RPM_BUILD_ROOT{/etc/sysconfig/rc-boot,%{_mandir}/man{5,8}}
43
44install delo/delo /sbin
45install loader/delo.2nd /boot
46
47install man/delo8 %{_mandir}/man8
48install man/delo.conf.5 %{_mandir}/man5
49install man/t-rex.1 %{_mandir}/man1
50
51install t-rex/t-rex %{_bindir}
52install t-rex-loader/t-rex-loader %{_libdir}/%{name}
53
54install delo.conf /etc
55
56%clean
57rm -rf $RPM_BUILD_ROOT
58
59%files
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
38e07da5 66%dir %{_libdir}/%{name}
61b48602
JR
67%attr(755,root,root) %{_libdir}/%{name}/*
68%{_mandir}/man[158]/*
This page took 0.074696 seconds and 4 git commands to generate.