]> git.pld-linux.org Git - packages/ms-sys.git/blame_incremental - ms-sys.spec
- tabs in preamble
[packages/ms-sys.git] / ms-sys.spec
... / ...
CommitLineData
1Summary: Create DOS/MS-compatible boot records
2Summary(pl.UTF-8): Narzędzie tworzące boot recordy kompatybilne z DOS-em i MS
3Name: ms-sys
4Version: 2.1.2
5Release: 1
6License: GPL
7Group: Applications/System
8Source0: http://dl.sourceforge.net/ms-sys/%{name}-%{version}.tgz
9# Source0-md5: 1a4195b7ed949d1da225615ab5e125cc
10URL: http://ms-sys.sourceforge.net/
11BuildRequires: bash
12BuildRequires: gettext-devel
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
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
27systemowych, jedynie zapisuje boot record.
28
29%prep
30%setup -q
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}" \
38 EXTRA_CFLAGS="%{rpmcflags} -fasm" \
39 EXTRA_LDFLAGS="%{rpmldflags}"
40
41%install
42rm -rf $RPM_BUILD_ROOT
43install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man1}
44
45%{__make} install \
46 PREFIX=$RPM_BUILD_ROOT%{_prefix} \
47 MANDIR=$RPM_BUILD_ROOT%{_mandir}
48
49%find_lang %{name}
50
51%clean
52rm -rf $RPM_BUILD_ROOT
53
54%files -f %{name}.lang
55%defattr(644,root,root,755)
56%doc README TODO CHANGELOG
57%attr(755,root,root) %{_bindir}/*
58%{_mandir}/man1/*
This page took 0.048635 seconds and 4 git commands to generate.