]> git.pld-linux.org Git - packages/ms-sys.git/blame - ms-sys.spec
- updated to 2.6.0
[packages/ms-sys.git] / ms-sys.spec
CommitLineData
d0908ad1 1Summary: Create DOS/MS-compatible boot records
972fe758 2Summary(pl.UTF-8): Narzędzie tworzące rekordy rozruchowe kompatybilne z DOS-em i MS
d0908ad1 3Name: ms-sys
10e6ebbb 4Version: 2.6.0
5223d4c9 5Release: 1
972fe758 6License: GPL v2+
d0908ad1 7Group: Applications/System
5df68033 8Source0: http://downloads.sourceforge.net/ms-sys/%{name}-%{version}.tar.gz
10e6ebbb 9# Source0-md5: 1bfd8f431268d8ae0cf1fa2f79efdc27
d0908ad1
JB
10URL: http://ms-sys.sourceforge.net/
11BuildRequires: bash
cd029101 12BuildRequires: gettext-tools
d0908ad1
JB
13BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
14
15%description
16This program is used to create DOS/MS-compatible boot records. It is
17able to do the same as Microsoft "fdisk /mbr" to a hard disk. It is
18also able to do the same as DOS "sys" to a floppy or FAT32 partition
19except that it does not copy any system files, only the boot record is
20written.
21
4091726a 22%description -l pl.UTF-8
972fe758
JB
23Ten program służy do tworzenia rekordów rozruchowych (bootrekordów)
24kompatybilnych z DOS-em i MS. Jest w stanie zrobić to samo co
25microsoftowy "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
27kopiuje żadnych plików systemowych, jedynie zapisuje rekord
28rozruchowy.
d0908ad1
JB
29
30%prep
85f75e8d 31%setup -q
d0908ad1
JB
32
33%build
972fe758
JB
34CC="%{__cc}" \
35CFLAGS="%{rpmcflags}" \
36%{__make} \
d0908ad1
JB
37 SHELL=/bin/bash \
38 PREFIX=%{_prefix} \
d0908ad1
JB
39 EXTRA_LDFLAGS="%{rpmldflags}"
40
41%install
42rm -rf $RPM_BUILD_ROOT
85f75e8d 43install -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
53rm -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*
This page took 0.056518 seconds and 4 git commands to generate.