forked from dell/biosdisk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbiosdisk.spec.in
61 lines (48 loc) · 1.52 KB
/
biosdisk.spec.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
%define name biosdisk
%define version ##VERSION##
%define release 1
Summary: Creates BIOS flash floppy images from Dell BIOS executables
Name: %{name}
Version: %{version}
Release: %{release}
URL: http://github.com/dell/biosdisk
License: GPLv2+
Group: Applications/File
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
BuildArch: noarch
Requires: syslinux, /usr/bin/rpmbuild
%description
Provides biosdisk utility for creating BIOS disk images in Linux
%prep
mkdir -p %{_topdir}/BUILD
rsync -av --exclude='tmp' ../.. .
%build
make
%install
make install DESTDIR=%{buildroot} \
sharedstatedir=%{_localstatedir}/lib/%{name} \
confdir=%{_sysconfdir}/ \
prefix=%{_prefix}/
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%{_sbindir}/biosdisk
%{_localstatedir}/lib/%{name}/
%{_datadir}/%{name}/
%config(noreplace) %{_sysconfdir}/%{name}.conf
%{_mandir}/man8/%{name}.8.gz
%doc COPYING AUTHORS README.md README.dosdisk
%changelog
* Tue Jun 10 2008 - Matt Domsch <[email protected]>
- spec cleanups
* Tue Dec 18 2007 - John Hull <[email protected]>
- Changed dos2unix requirement to unix2dos
* Fri Nov 12 2004 - John Hull <[email protected]>
- updated paths for spec files and biosdisk.conf
* Wed Sep 15 2004 - John Hull <[email protected]>
- Added python and dos2unix requirements. Added blconf install
* Thu Jul 15 2004 - John Hull <[email protected]>
- Updated to version 0.45. Added architecture change to support different actions
* Mon May 24 2004 - John Hull <[email protected]>
- Initial release