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