]> git.pld-linux.org Git - packages/ms-sys.git/blame - ms-sys.spec
- remove redundant de@latin locale, release 2
[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
76e05ae9 4Version: 2.5.1
c6c4c273 5Release: 2
972fe758 6License: GPL v2+
d0908ad1 7Group: Applications/System
5df68033 8Source0: http://downloads.sourceforge.net/ms-sys/%{name}-%{version}.tar.gz
76e05ae9 9# Source0-md5: c66fb9045543559d3b320f57d4c87f30
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
c6c4c273
JB
50# UTF-8 version is enough
51%{__rm} -r $RPM_BUILD_ROOT%{_localedir}/de@latin
52
d0908ad1
JB
53%find_lang %{name}
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%files -f %{name}.lang
59%defattr(644,root,root,755)
972fe758 60%doc CHANGELOG CONTRIBUTORS FAQ README TODO
37153847
JB
61%attr(755,root,root) %{_bindir}/ms-sys
62%{_mandir}/man1/ms-sys.1*
This page took 0.373588 seconds and 4 git commands to generate.