f4d17450 |
Summary: Programs to parse command-line options
Name: popt
Version: 1.16 |
a26f86e3 |
Release: 5%{?dist} |
f4d17450 |
License: MIT
URL: http://rpm5.org/files/popt
Group: Applications/System
Vendor: VMware, Inc.
Distribution: Photon
Source0: ftp://anduin.linuxfromscratch.org/BLFS/svn/p/%{name}-%{version}.tar.gz |
3cc43c92 |
%define sha1 popt=cfe94a15a2404db85858a81ff8de27c8ff3e235e |
f4d17450 |
%description
The popt package contains the popt libraries which are used by
some programs to parse command-line options.
%package devel
Summary: Libraries and header files for popt
Requires: %{name} = %{version}
%description devel
Static libraries and header files for the support library for popt
|
9b8c6e17 |
%package lang
Summary: Additional language files for popt
Group: Applications/System
Requires: %{name} = %{version}-%{release}
%description lang
These are the additional language files of popt.
|
f4d17450 |
%prep
%setup -q
%build |
a26f86e3 |
%configure \ |
f4d17450 |
--disable-silent-rules
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install
find %{buildroot} -name '*.la' -delete
%find_lang %{name} |
9067c3d4 |
|
f4d17450 |
%check |
9067c3d4 |
make %{?_smp_mflags} check
|
f4d17450 |
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig |
9b8c6e17 |
%files |
f4d17450 |
%defattr(-,root,root)
%{_libdir}/libpopt.so.*
%files devel
%defattr(-,root,root)
%{_includedir}/*
%{_libdir}/pkgconfig/popt.pc
%{_libdir}/libpopt.a
%{_libdir}/libpopt.so |
9b8c6e17 |
%{_mandir}/man3/*
%files lang -f %{name}.lang
%defattr(-,root,root) |
f4d17450 |
%changelog |
a26f86e3 |
* Fri Oct 13 2017 Alexey Makhalov <amakhalov@vmware.com> 1.16-5
- Use standard configure macros |
9b8c6e17 |
* Wed Nov 23 2016 Alexey Makhalov <amakhalov@vmware.com> 1.16-4
- Added -lang subpackage
* Wed Oct 05 2016 ChangLee <changlee@vmware.com> 1.16-3
- Modified %check
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> 1.16-2
- GA - Bump release of all rpms
* Wed Nov 5 2014 Divya Thaluru <dthaluru@vmware.com> 1.16-1
- Initial build. First version |