source: projects/specs/trunk/g/gperf/gperf-vl.spec @ 521

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

import VineSeed package specs

Line 
1Summary: A perfect hash function generator.
2Name: gperf
3Version: 3.0.3
4Release: 1%{?_dist_release}
5License: GPL
6Source: ftp://ftp.gnu.org/pub/gnu/gperf/gperf-%{version}.tar.gz
7Group: Development/Tools
8BuildRoot: %{_tmppath}/%{name}-%{version}-root
9Requires(post): /sbin/install-info
10Requires(preun): /sbin/install-info
11
12Vendor: Project Vine
13Distribution: Vine Linux
14
15%description
16Gperf is a perfect hash function generator written in C++. Simply
17stated, a perfect hash function is a hash function and a data
18structure that allows recognition of a key word in a set of words
19using exactly one probe into the data structure.
20
21%prep
22%setup -q
23
24%build
25%configure
26make
27
28%install
29[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
30
31%makeinstall
32# remove the stuff from the buildroot
33rm -rf $RPM_BUILD_ROOT/%{_mandir}/{dvi,html}
34rm -rf $RPM_BUILD_ROOT%{_prefix}/share/doc
35
36%clean
37[ -n "$RPM_BUILD_ROOT" -a "$RPM_BUILD_ROOT" != / ] && rm -rf $RPM_BUILD_ROOT
38
39%post
40/sbin/install-info %{_infodir}/gperf.info.gz %{_infodir}/dir
41
42%preun
43if [ $1 = 0 ]; then
44   /sbin/install-info --delete %{_infodir}/gperf.info.gz %{_infodir}/dir
45fi
46
47%files
48%defattr(-,root,root)
49%doc README NEWS doc/gperf.html
50%{_bindir}/gperf
51%{_mandir}/man1/gperf.1*
52%{_infodir}/gperf.info*
53
54%changelog
55* Sat Sep 20 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.0.3-1
56- applied new versioning policy
57
58* Sun Jun 24 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.0.3-0vl1
59- new upstream release
60
61* Sun Jul 13 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.0.1-1vl1
62- based on Redhat Rawhide 3.0.1-1
63- s/Copyright/License/
64
65* Fri Feb 22 2002 KOBAYASHI R. Taizo <tkoba@vinelinux.org>
66- modified for Vine
67
68* Wed Jan 09 2002 Tim Powers <timp@redhat.com>
69- automated rebuild
70
71* Wed Sep 12 2001 Tim Powers <timp@redhat.com>
72- rebuild with new gcc and binutils
73
74* Tue Apr 24 2001 Bernhard Rosenkraenzer <bero@redhat.com> 2.7.2-1
75- Update to 2.7.2
76
77* Thu Jul 13 2000 Prospector <bugzilla@redhat.com>
78- automatic rebuild
79
80* Tue Jul  4 2000 Jakub Jelinek <jakub@redhat.com>
81- Rebuild with new C++
82
83* Sun Jun 18 2000 Matt Wilson <msw@redhat.com>
84- user infodir and mandir macros for FHS
85- use %%makeinstall
86
87* Fri Feb  4 2000 Bernhard Rosenkraenzer <bero@redhat.com>
88- rebuild to gzip manpage
89- don't use CC=egcs
90- fix description
91
92* Wed Mar 24 1999 Cristian Gafton <gafton@redhat.com>
93- added patches for egcs from UP
94
95* Sun Mar 21 1999 Cristian Gafton <gafton@redhat.com>
96- auto rebuild in the new build environment (release 4)
97
98* Thu Oct 29 1998 Bill Nottingham <notting@redhat.com>
99- patch for latest egcs
100
101* Sat Oct 10 1998 Cristian Gafton <gafton@redhat.com>
102- strip binary
103
104* Tue Jul 28 1998 Jeff Johnson <jbj@redhat.com>
105- create.
Note: See TracBrowser for help on using the repository browser.