source: projects/specs/trunk/f/fdutils/fdutils-vl.spec @ 521

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

import VineSeed package specs

Line 
1Summary: fdutils - Utilities for formatting floppies
2Name: fdutils
3Version: 5.4
4Release: 0vl2
5License: GPL2
6Group: Applications/System
7URL: http://fdutils.linux.lu/
8Source: http://fdutils.linux.lu/fdutils-5.4.tar.gz
9Patch0: fdutils-pidpath.patch
10Patch1: fdutils-mknod.patch
11PreReq: /sbin/install-info
12BuildPreReq: texinfo
13BuildRoot: %{_tmppath}/%{name}-root
14
15%description
16The fdutils package contains Utilities for formatting floppies and
17configuring the floppy drive. Allows to make and access "special"
18floppies, such as CP/M, OS/2's XDF format and other formats.
19Stores up to 1992K on a high density disk
20
21%description -l ja
22fdutils ¥Ñ¥Ã¥±¡¼¥¸¤Ë¤Ï¥Õ¥í¥Ã¥Ô¡¼¤ò¥Õ¥©¡¼¥Þ¥Ã¥È¤·¤¿¤ê¥Õ¥í¥Ã¥Ô¡¼¥É¥é¥¤
23¥Ö¤òÀßÄꤷ¤¿¤ê¤¹¤ë¤¿¤á¤Î¥æ¡¼¥Æ¥£¥ê¥Æ¥£¤¬´Þ¤Þ¤ì¤Þ¤¹¡£CP/M ¤ä OS/2 ¤Î
24XDF¥Õ¥©¡¼¥Þ¥Ã¥È¤ä¤½¤Î¾¤Î¥Õ¥©¡¼¥Þ¥Ã¥È¤Ê¤É¤Î"ÆÃÊ̤Ê"¥Õ¥í¥Ã¥Ô¡¼¤òºîÀ®
25¤·¤¿¤êÆɤ߽ñ¤­¤·¤¿¤ê¤¹¤ë¤³¤È¤¬½ÐÍè¤Þ¤¹¡£¹âÌ©Å٥ǥ£¥¹¥¯¤Ë1992K¤Þ¤ÇÊÝ
26¸¤¹¤ë¤³¤È¤¬½ÐÍè¤Þ¤¹¡£
27
28%prep
29%setup -q
30%patch0 -p0
31%patch1 -p0
32
33%build
34CFLAGS=$RPM_OPT_FLAGS ./configure --prefix=%{_prefix} \
35        --bindir=%{_bindir} --sysconfdir=%{_sysconfdir}
36make
37
38%install
39rm -rf $RPM_BUILD_ROOT
40mkdir -p $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man{1,4},%{_infodir},%{_sysconfdir}}
41make install exec_prefix=$RPM_BUILD_ROOT%{_prefix} \
42        bindir=$RPM_BUILD_ROOT%{_bindir} \
43        infodir=$RPM_BUILD_ROOT%{_infodir} \
44        mandir=$RPM_BUILD_ROOT%{_mandir} \
45        sysconfdir=$RPM_BUILD_ROOT%{_sysconfdir} \
46        UID=`/usr/bin/id -u` GID=`/usr/bin/id -g`
47
48# gzip info
49gzip -9n $RPM_BUILD_ROOT%{_infodir}/*
50
51# avoid conflict with other packages
52rm -fv $RPM_BUILD_ROOT%{_bindir}/setfdprm
53rm -fv $RPM_BUILD_ROOT%{_mandir}/man4/fd.4
54
55%clean
56rm -rf $RPM_BUILD_ROOT
57
58%post
59/sbin/install-info %{_infodir}/%{name}.info.gz %{_infodir}/dir
60
61%preun
62if [ "$1" = 0 ]; then
63    /sbin/install-info --delete %{_infodir}/%{name}.info.gz %{_infodir}/dir
64fi
65
66%files
67%defattr(-,root,root)
68%doc COPYING CREDITS Changelog INSTALL doc/FAQ.html doc/*.dvi
69%{_bindir}/*
70%{_infodir}/*.info*
71%{_mandir}/man[14]/*
72%config %{_sysconfdir}/*
73
74%changelog
75* Sun May 27 2001 <sagami@vinelinux.org>
76- changed Summary/Group
77
78* Tue May 15 2001 <sagami@vinelinux.org>
79- first release for VineSeedPlus
Note: See TracBrowser for help on using the repository browser.