]> git.pld-linux.org Git - packages/ms-sys.git/blob - ms-sys.spec
- added -fasm to CFLAGS - -ansi may conflict with inlines in kernel headers
[packages/ms-sys.git] / ms-sys.spec
1 Summary:        Create DOS/MS-compatible boot records
2 Summary(pl):    Narzêdzie tworz±ce boot recordy kompatybilne z DOS-em i MS
3 Name:           ms-sys
4 Version:        1.0
5 Release:        2
6 License:        GPL
7 Group:          Applications/System
8 Source0:        ftp://ftp.sourceforge.net/pub/sourceforge/ms-sys/%{name}-%{version}.tgz
9 URL:            http://ms-sys.sourceforge.net/
10 BuildRequires:  bash
11 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
12
13 %description
14 This program is used to create DOS/MS-compatible boot records. It is
15 able to do the same as Microsoft "fdisk /mbr" to a hard disk. It is
16 also able to do the same as DOS "sys" to a floppy or FAT32 partition
17 except that it does not copy any system files, only the boot record is
18 written.
19
20 %description -l pl
21 Ten program s³u¿y do tworzenia boot recordów kompatybilnych z DOS-em i
22 MS. Jest w stanie zrobiæ to samo co microsoftowy "fdisk /mbr" na
23 twardym dysku, a tak¿e to, co DOS-owy "sys" na dyskietce lub partycji
24 FAT32 - z dok³adno¶ci± do tego, ¿e nie kopiuje ¿adnych plików
25 systemowych, jedynie zapisuje boot record.
26
27 %prep
28 %setup -q -n %{name}
29
30 %build
31 # "debug" is only a hack - it allows passing EXTRA_CFLAGS
32 %{__make} debug \
33         SHELL=/bin/bash \
34         PREFIX=%{_prefix} \
35         CC="%{__cc}" \
36         EXTRA_CFLAGS="%{rpmcflags} -fasm" \
37         EXTRA_LDFLAGS="%{rpmldflags}"
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41 install -d $RPM_BUILD_ROOT%{_bindir}
42
43 %{__make} install \
44         PREFIX=$RPM_BUILD_ROOT%{_prefix}
45
46 mv -f $RPM_BUILD_ROOT%{_datadir}/locale/{sv_SE,sv}
47
48 %find_lang %{name}
49
50 %clean
51 rm -rf $RPM_BUILD_ROOT
52
53 %files -f %{name}.lang
54 %defattr(644,root,root,755)
55 %doc README TODO
56 %attr(755,root,root) %{_bindir}/*
This page took 0.076069 seconds and 3 git commands to generate.