f4d17450 |
Summary: Gperf-3.0.4
Name: gperf |
04d063ff |
Version: 3.1
Release: 1%{?dist} |
f4d17450 |
License: GPLv3+
URL: http://freedesktop.org/wiki/Software/%{name}l/
Source0: http://ftp.gnu.org/gnu/gperf/%{name}-%{version}.tar.gz |
04d063ff |
%define sha1 gperf=e3c0618c2d2e5586eda9498c867d5e4858a3b0e2 |
f4d17450 |
Group: Development/Tools
Vendor: VMware, Inc.
Distribution: Photon |
04d063ff |
|
f4d17450 |
%description
Gperf generates a perfect hash function from a key set. |
04d063ff |
|
f4d17450 |
%prep
%setup -q |
04d063ff |
|
f4d17450 |
%build
./configure \
--prefix=%{_prefix} \
--docdir=%{_defaultdocdir}/%{name}-%{version}
make %{?_smp_mflags} |
04d063ff |
|
f4d17450 |
%install
make DESTDIR=%{buildroot} install
install -v -m644 doc/gperf.{dvi,ps,pdf} %{buildroot}/%{_docdir}/%{name}-%{version}
pushd %{buildroot}/usr/share/info &&
for FILENAME in *; do
install-info $FILENAME %{name}-%{version} 2>/dev/null
done &&
popd |
78547c01 |
|
f4d17450 |
%check |
78547c01 |
make %{?_smp_mflags} check
|
f4d17450 |
%files
%defattr(-,root,root)
%{_docdir}/%{name}-%{version}/*
%{_mandir}/man1/*
%{_datadir}/info/*
%{_bindir}/* |
04d063ff |
|
f4d17450 |
%changelog |
04d063ff |
* Thu Apr 13 2017 Danut Moraru <dmoraru@vmware.com> 3.1-1
- Updated to version 3.1 |
c3a3fd12 |
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 3.0.4-2
- GA - Bump release of all rpms |
f4d17450 |
* Thu Oct 23 2014 Divya Thaluru <dthaluru@vmware.com> 3.0.4-1
- Initial build. First version |