source: projects/specs/branches/6/m/ms-sys/ms-sys-vl.spec @ 521

Revision 521, 1.7 KB checked in by daisuke, 14 years ago (diff)

import VineSeed package specs

Line 
1Name:           ms-sys
2Version:        2.1.3
3Release:        1%{?_dist_release}
4Summary:        Create DOS/MS-compatible boot records
5Summary(ja):    DOS/MS 互換のブートレコードを作成
6
7Group:          Applications/System
8License:        GPLv2
9URL:            http://ms-sys.sourceforge.net/
10Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tgz
11BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
12
13BuildRequires: bash, gettext
14
15
16%description
17This program is used to create DOS/MS-compatible boot records. It is
18able to do the same as Microsoft "fdisk /mbr" to a hard disk. It is
19also able to do the same as DOS "sys" to a floppy or FAT32 partition
20except that it does not copy any system files, only the boot record is
21written.
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
35iconv --from=ISO-8859-1 --to=UTF-8 CONTRIBUTORS > CONTRIBUTORS.new
36iconv --from=ISO-8859-1 --to=UTF-8 CHANGELOG > CHANGELOG.new
37mv CONTRIBUTORS.new CONTRIBUTORS
38mv 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
Note: See TracBrowser for help on using the repository browser.