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

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