]> git.pld-linux.org Git - packages/btmgr.git/blob - btmgr.spec
- new also known as sbootmgr.dsk. based on src.rpm .spec
[packages/btmgr.git] / btmgr.spec
1 #
2 # Conditional build:
3 %bcond_without  doc             # build documentation
4
5 Summary:        Smart Boot Manager is an OS independent boot manager
6 Name:           btmgr
7 Version:        3.7
8 Release:        0.1
9 License:        GPL v2
10 Group:          Applications/System
11 Source0:        http://downloads.sourceforge.net/btmgr/%{name}-%{version}-1.tar.gz
12 # Source0-md5:  7bfe432821c3cef48df8b3d6be800009
13 URL:            http://sourceforge.net/projects/btmgr/
14 BuildRequires:  nasm
15 BuildRequires:  sed >= 4.0
16 %{?with_doc:BuildRequires:      sgml-tools}
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 The main goals of SBM are to be absolutely OS independent, flexible
21 and full-featured. It has all of the features needed to boot a variety
22 of OSes from several kinds of media, while keeping its size no more
23 than 30K bytes. In another words, SBM does NOT touch any of your
24 partitions, it totally fits into the first track (the hidden track) of
25 your hard disk! SBM now supports booting from floppy, hard disk and
26 CD-ROM. There are plans to support ZIP and LS-120 in the near future.
27
28 %prep
29 %setup -q -n %{name}-%{version}-1
30
31 %{__sed} -i -e '/^CC=/ s/gcc/%{__cc}/' Makefile
32 %{__sed} -i -e '/^SUBDIRS=/ s/docs//' Makefile
33
34 %build
35 %{__make}
36
37 %{?with_doc:%{__make} -C docs}
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 %{__make} install \
42         PREFIX=$RPM_BUILD_ROOT%{_prefix}
43
44 %files
45 %defattr(644,root,root,755)
46 %doc AUTHORS ChangeLog CREDITS INSTALL README TODO
47 %doc(zh) README-ZH
48 %attr(755,root,root) %{_sbindir}/sbminst
49 %{_datadir}/btmgr
50
51 %clean
52 rm -rf $RPM_BUILD_ROOT
This page took 0.316289 seconds and 4 git commands to generate.