1 | Name: ms-sys |
---|
2 | Version: 2.1.3 |
---|
3 | Release: 1%{?_dist_release} |
---|
4 | Summary: Create DOS/MS-compatible boot records |
---|
5 | Summary(ja): DOS/MS 互換のブートレコードを作成 |
---|
6 | |
---|
7 | Group: Applications/System |
---|
8 | License: GPLv2 |
---|
9 | URL: http://ms-sys.sourceforge.net/ |
---|
10 | Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tgz |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
---|
12 | |
---|
13 | BuildRequires: bash, gettext |
---|
14 | |
---|
15 | |
---|
16 | %description |
---|
17 | This program is used to create DOS/MS-compatible boot records. It is |
---|
18 | able to do the same as Microsoft "fdisk /mbr" to a hard disk. It is |
---|
19 | also able to do the same as DOS "sys" to a floppy or FAT32 partition |
---|
20 | except that it does not copy any system files, only the boot record is |
---|
21 | written. |
---|
22 | |
---|
23 | |
---|
24 | %prep |
---|
25 | %setup -q |
---|
26 | |
---|
27 | %build |
---|
28 | %{__make} \ |
---|
29 | CC="${CC:-%{__cc}}" \ |
---|
30 | EXTRA_CFLAGS="%{optflags} -fasm" \ |
---|
31 | EXTRA_LDFLAGS="%{optflags}" \ |
---|
32 | PREFIX="%{_prefix}" \ |
---|
33 | SHELL="/bin/bash" |
---|
34 | |
---|
35 | iconv --from=ISO-8859-1 --to=UTF-8 CONTRIBUTORS > CONTRIBUTORS.new |
---|
36 | iconv --from=ISO-8859-1 --to=UTF-8 CHANGELOG > CHANGELOG.new |
---|
37 | mv CONTRIBUTORS.new CONTRIBUTORS |
---|
38 | mv CHANGELOG.new CHANGELOG |
---|
39 | |
---|
40 | %install |
---|
41 | %{__rm} -rf %{buildroot} |
---|
42 | %{__make} install DESTDIR="%{buildroot}" PREFIX="%{_prefix}" MANDIR="%{_mandir}" |
---|
43 | %find_lang %{name} |
---|
44 | |
---|
45 | %clean |
---|
46 | %{__rm} -rf %{buildroot} |
---|
47 | |
---|
48 | %files -f %{name}.lang |
---|
49 | %defattr(-, root, root, -) |
---|
50 | %doc CHANGELOG CONTRIBUTORS COPYING FAQ README TODO |
---|
51 | %doc %{_mandir}/man1/ms-sys.1* |
---|
52 | %{_bindir}/ms-sys |
---|
53 | |
---|
54 | |
---|
55 | |
---|
56 | %changelog |
---|
57 | * Thu Jan 29 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 2.1.3-1 |
---|
58 | - initial build for Vine Linux |
---|
59 | |
---|
60 | * Mon Aug 04 2008 Rahul Sundaram <sundaram@fedoraproject.org> - 2.1.3-2 |
---|
61 | - Fix license tag and disable debugging. |
---|
62 | |
---|
63 | * Mon Aug 04 2008 Rahul Sundaram <sundaram@fedoraproject.org> - 2.1.3-1 |
---|
64 | - Initial package |
---|
65 | |
---|
66 | |
---|