2024-01-06 05:26:01 +01:00
|
|
|
Name: libpopt
|
|
|
|
Epoch: 1
|
2024-01-06 05:26:01 +01:00
|
|
|
Version: 1.18
|
|
|
|
Release: 1mamba
|
2024-01-06 05:26:01 +01:00
|
|
|
Summary: A command line option parsing library with some enhancements compared to getopt
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
2024-01-06 05:26:01 +01:00
|
|
|
URL: http://rpm.org
|
|
|
|
Source: http://ftp.rpm.org/popt/releases/popt-1.x/popt-%{version}.tar.gz
|
2024-01-06 05:26:01 +01:00
|
|
|
License: LGPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
Obsoletes: popt
|
|
|
|
Provides: popt
|
|
|
|
|
|
|
|
%description
|
|
|
|
A command line option parsing library with some enhancements compared to getopt.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Group: Development/Libraries
|
|
|
|
Summary: Static libraries and headers for %{name}
|
|
|
|
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
|
|
|
Obsoletes: popt-devel
|
|
|
|
Provides: popt-devel
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
A command line option parsing library with some enhancements compared to getopt.
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
|
2024-01-06 05:26:01 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 05:26:01 +01:00
|
|
|
%prep
|
|
|
|
%setup -q -n popt-%{version}
|
|
|
|
sed -i "s|/lib/pkgconfig|/%_lib/pkgconfig|" Makefile.in
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%find_lang popt
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%post -p /sbin/ldconfig
|
|
|
|
%postun -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files -f popt.lang
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
%{_mandir}/man3/popt.3.gz
|
|
|
|
%doc CHANGES COPYING README
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%dir %{_includedir}
|
|
|
|
%{_includedir}/*.h
|
|
|
|
%{_libdir}/*.a
|
|
|
|
%{_libdir}/*.la
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/popt.pc
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 05:26:01 +01:00
|
|
|
* Sun Sep 06 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.18-1mamba
|
|
|
|
- update to 1.18
|
|
|
|
|
2024-01-06 05:26:01 +01:00
|
|
|
* Tue Oct 04 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.16-2mamba
|
|
|
|
- rebuilt
|
|
|
|
|
2024-01-06 05:26:01 +01:00
|
|
|
* Fri Jun 25 2010 Automatic Build System <autodist@mambasoft.it> 1.16-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
|
|
|
* Thu Mar 25 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 1.15-1mamba
|
|
|
|
- update to 1.15
|
|
|
|
|
|
|
|
* Wed Jan 07 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 1.14-1mamba
|
|
|
|
- package created by autospec
|