]>
Commit | Line | Data |
---|---|---|
d0908ad1 | 1 | Summary: Create DOS/MS-compatible boot records |
972fe758 | 2 | Summary(pl.UTF-8): Narzędzie tworzące rekordy rozruchowe kompatybilne z DOS-em i MS |
d0908ad1 | 3 | Name: ms-sys |
10e6ebbb | 4 | Version: 2.6.0 |
5223d4c9 | 5 | Release: 1 |
972fe758 | 6 | License: GPL v2+ |
d0908ad1 | 7 | Group: Applications/System |
5df68033 | 8 | Source0: http://downloads.sourceforge.net/ms-sys/%{name}-%{version}.tar.gz |
10e6ebbb | 9 | # Source0-md5: 1bfd8f431268d8ae0cf1fa2f79efdc27 |
d0908ad1 JB |
10 | URL: http://ms-sys.sourceforge.net/ |
11 | BuildRequires: bash | |
cd029101 | 12 | BuildRequires: gettext-tools |
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 | 22 | %description -l pl.UTF-8 |
972fe758 JB |
23 | Ten program służy do tworzenia rekordów rozruchowych (bootrekordów) |
24 | kompatybilnych z DOS-em i MS. Jest w stanie zrobić to samo co | |
25 | microsoftowy "fdisk /mbr" na twardym dysku, a także to, co DOS-owy | |
26 | "sys" na dyskietce lub partycji FAT32 - z dokładnością do tego, że nie | |
27 | kopiuje żadnych plików systemowych, jedynie zapisuje rekord | |
28 | rozruchowy. | |
d0908ad1 JB |
29 | |
30 | %prep | |
85f75e8d | 31 | %setup -q |
d0908ad1 JB |
32 | |
33 | %build | |
972fe758 JB |
34 | CC="%{__cc}" \ |
35 | CFLAGS="%{rpmcflags}" \ | |
36 | %{__make} \ | |
d0908ad1 JB |
37 | SHELL=/bin/bash \ |
38 | PREFIX=%{_prefix} \ | |
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) | |
972fe758 | 57 | %doc CHANGELOG CONTRIBUTORS FAQ README TODO |
37153847 JB |
58 | %attr(755,root,root) %{_bindir}/ms-sys |
59 | %{_mandir}/man1/ms-sys.1* | |
5223d4c9 | 60 | %lang(de) %{_mandir}/de/man1/ms-sys.1* |
384b36c1 | 61 | %lang(fr) %{_mandir}/fr/man1/ms-sys.1* |
5223d4c9 | 62 | %lang(sv) %{_mandir}/sv/man1/ms-sys.1* |