]> git.pld-linux.org Git - packages/ms-sys.git/blame - ms-sys.spec
- updated to 2.2.1
[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
5df68033
ŁK
4Version: 2.2.1
5Release: 1
d0908ad1
JB
6License: GPL
7Group: Applications/System
5df68033
ŁK
8Source0: http://downloads.sourceforge.net/ms-sys/%{name}-%{version}.tar.gz
9# Source0-md5: 659fb46f1b014abe64ae7d635c5bc1f8
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 \
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)
37153847
JB
57%doc CHANGELOG CONTRIBUTORS README TODO
58%attr(755,root,root) %{_bindir}/ms-sys
59%{_mandir}/man1/ms-sys.1*
This page took 0.077571 seconds and 4 git commands to generate.