]> git.pld-linux.org Git - packages/ms-sys.git/blame - ms-sys.spec
- tabs in preamble
[packages/ms-sys.git] / ms-sys.spec
CommitLineData
d0908ad1 1Summary: Create DOS/MS-compatible boot records
fe516472 2Summary(pl.UTF-8): Narzędzie tworzące boot recordy kompatybilne z DOS-em i MS
d0908ad1 3Name: ms-sys
8eb37343 4Version: 2.1.2
e5d5abec 5Release: 1
d0908ad1
JB
6License: GPL
7Group: Applications/System
cf4af119 8Source0: http://dl.sourceforge.net/ms-sys/%{name}-%{version}.tgz
8eb37343 9# Source0-md5: 1a4195b7ed949d1da225615ab5e125cc
d0908ad1
JB
10URL: http://ms-sys.sourceforge.net/
11BuildRequires: bash
6cad80a9 12BuildRequires: gettext-devel
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
JR
22%description -l pl.UTF-8
23Ten program służy do tworzenia boot recordów kompatybilnych z DOS-em i
24MS. Jest w stanie zrobić to samo co microsoftowy "fdisk /mbr" na
25twardym dysku, a także to, co DOS-owy "sys" na dyskietce lub partycji
26FAT32 - z dokładnością do tego, że nie kopiuje żadnych plików
d0908ad1
JB
27systemowych, 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
42rm -rf $RPM_BUILD_ROOT
85f75e8d 43install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
d0908ad1
JB
44
45%{__make} install \
85f75e8d 46 PREFIX=$RPM_BUILD_ROOT%{_prefix} \
47 MANDIR=$RPM_BUILD_ROOT%{_mandir}
d0908ad1 48
d0908ad1
JB
49%find_lang %{name}
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files -f %{name}.lang
55%defattr(644,root,root,755)
04c6111a 56%doc README TODO CHANGELOG
d0908ad1 57%attr(755,root,root) %{_bindir}/*
85f75e8d 58%{_mandir}/man1/*
This page took 0.077056 seconds and 4 git commands to generate.