]>
Commit | Line | Data |
---|---|---|
d0908ad1 | 1 | Summary: Create DOS/MS-compatible boot records |
fe516472 | 2 | Summary(pl.UTF-8): Narzędzie tworzące boot recordy kompatybilne z DOS-em i MS |
d0908ad1 | 3 | Name: ms-sys |
37153847 | 4 | Version: 2.1.3 |
e5d5abec | 5 | Release: 1 |
d0908ad1 JB |
6 | License: GPL |
7 | Group: Applications/System | |
cf4af119 | 8 | Source0: http://dl.sourceforge.net/ms-sys/%{name}-%{version}.tgz |
37153847 | 9 | # Source0-md5: 6fad0a69ac89440ad4f696dbbbf11497 |
d0908ad1 JB |
10 | URL: http://ms-sys.sourceforge.net/ |
11 | BuildRequires: bash | |
6cad80a9 | 12 | BuildRequires: gettext-devel |
d0908ad1 JB |
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 | ||
4091726a JR |
22 | %description -l pl.UTF-8 |
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 | |
d0908ad1 JB |
27 | systemowych, jedynie zapisuje boot record. |
28 | ||
29 | %prep | |
85f75e8d | 30 | %setup -q |
d0908ad1 JB |
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}" \ | |
c8c1f39c | 38 | EXTRA_CFLAGS="%{rpmcflags} -fasm" \ |
d0908ad1 JB |
39 | EXTRA_LDFLAGS="%{rpmldflags}" |
40 | ||
41 | %install | |
42 | rm -rf $RPM_BUILD_ROOT | |
85f75e8d | 43 | install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1} |
d0908ad1 JB |
44 | |
45 | %{__make} install \ | |
37153847 JB |
46 | DESTDIR=$RPM_BUILD_ROOT \ |
47 | PREFIX=%{_prefix} \ | |
48 | MANDIR=%{_mandir} | |
d0908ad1 | 49 | |
d0908ad1 JB |
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) | |
37153847 JB |
57 | %doc CHANGELOG CONTRIBUTORS README TODO |
58 | %attr(755,root,root) %{_bindir}/ms-sys | |
59 | %{_mandir}/man1/ms-sys.1* |