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