Blame SPECS/popt.spec

2fee6c
Summary:	C library for parsing command line parameters
2fee6c
Name:		popt
397cc2
Version:	1.18
397cc2
Release:	1%{?dist}
2fee6c
License:	MIT
2fee6c
Group:		System Environment/Libraries
397cc2
URL:		https://github.com/rpm-software-management/popt/
397cc2
Source:		http://ftp.rpm.org/popt/releases/popt-1.x/popt-%{version}.tar.gz
2fee6c
BuildRequires:	gcc gettext
2fee6c
2fee6c
%description
2fee6c
Popt is a C library for parsing command line parameters. Popt was
2fee6c
heavily influenced by the getopt() and getopt_long() functions, but
2fee6c
it improves on them by allowing more powerful argument expansion.
2fee6c
Popt can parse arbitrary argv[] style arrays and automatically set
2fee6c
variables based on command line arguments. Popt allows command line
2fee6c
arguments to be aliased via configuration files and includes utility
2fee6c
functions for parsing arbitrary strings into argv[] arrays using
2fee6c
shell-like rules.
2fee6c
2fee6c
%package devel
2fee6c
Summary:	Development files for the popt library
2fee6c
Group:		Development/Libraries
2fee6c
Requires:	%{name}%{?_isa} = %{version}-%{release}, pkgconfig
2fee6c
2fee6c
%description devel
2fee6c
The popt-devel package includes header files and libraries necessary
2fee6c
for developing programs which use the popt C library. It contains the
2fee6c
API documentation of the popt library, too.
2fee6c
2fee6c
%package static
2fee6c
Summary:	Static library for parsing command line parameters
2fee6c
Group:		Development/Libraries
2fee6c
Requires:	%{name}-devel%{?_isa} = %{version}-%{release}
2fee6c
2fee6c
%description static
2fee6c
The popt-static package includes static libraries of the popt library.
2fee6c
Install it if you need to link statically with libpopt.
2fee6c
2fee6c
%prep
397cc2
%autosetup
2fee6c
2fee6c
%build
2fee6c
%configure
397cc2
%make_build
2fee6c
2fee6c
%install
397cc2
%make_install
2fee6c
2fee6c
# Multiple popt configurations are possible
2fee6c
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/popt.d
2fee6c
397cc2
rm -f $RPM_BUILD_ROOT/%{_libdir}/libpopt.la
397cc2
2fee6c
%find_lang %{name}
2fee6c
2fee6c
%check
2fee6c
make check
2fee6c
2fee6c
%ldconfig_scriptlets
2fee6c
2fee6c
%files -f %{name}.lang
2fee6c
%license COPYING
2fee6c
%doc CHANGES
2fee6c
%{_sysconfdir}/popt.d
2fee6c
%{_libdir}/libpopt.so.*
2fee6c
2fee6c
%files devel
2fee6c
%doc README
2fee6c
%{_libdir}/libpopt.so
2fee6c
%{_libdir}/pkgconfig/%{name}.pc
2fee6c
%{_includedir}/popt.h
2fee6c
%{_mandir}/man3/popt.3*
2fee6c
2fee6c
%files static
2fee6c
%{_libdir}/libpopt.a
2fee6c
2fee6c
%changelog
397cc2
* Thu Jan 07 2021 Panu Matilainen <pmatilai@redhat.com> - 1.18-1
397cc2
- Rebase to popt 1.18 (https://github.com/rpm-software-management/popt/releases/tag/popt-1.18-release)
397cc2
- Update URLs to rebooted upstream
397cc2
- Clean up ancient cruft from spec, use modern build macros
397cc2
2fee6c
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-14
2fee6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
2fee6c
2fee6c
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.16-13
2fee6c
- Switch to %%ldconfig_scriptlets
2fee6c
2fee6c
* Thu Oct 12 2017 Robert Scheck <robert@fedoraproject.org> 1.16-12
2fee6c
- Added upstream patch to handle glob(3) error returns (#1051685)
2fee6c
2fee6c
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-11
2fee6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
2fee6c
2fee6c
* Fri Jul 28 2017 Peter Jones <pjones@redhat.com> - 1.16-10
2fee6c
- Make it use %%autosetup -S git
2fee6c
- Fix a memory leak
2fee6c
2fee6c
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-9
2fee6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2fee6c
2fee6c
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-8
2fee6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2fee6c
2fee6c
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-7
2fee6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2fee6c
2fee6c
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-6
2fee6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2fee6c
2fee6c
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-5
2fee6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
2fee6c
2fee6c
* Thu Jun 26 2014 Panu Matilainen <pmatilai@redhat.com> - 1.16-4
2fee6c
- Mark license as such, not documentation
2fee6c
2fee6c
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-3
2fee6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
2fee6c
2fee6c
* Wed Jan 08 2014 Robert Scheck <robert@fedoraproject.org> 1.16-2
2fee6c
- Added patch to have --help and --usage translatable (#734434)
2fee6c
2fee6c
* Sun Nov 24 2013 Robert Scheck <robert@fedoraproject.org> 1.16-1
2fee6c
- Upgrade to 1.16 (#448286, #999377)
2fee6c
- Tight run-time dependencies between sub-packages via %%{?_isa}
2fee6c
- Added patch for spelling mistakes in popt man page (#675567)
2fee6c
2fee6c
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-15
2fee6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
2fee6c
2fee6c
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-14
2fee6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2fee6c
2fee6c
* Fri Dec 14 2012 Panu Matilainen <pmatilai@redhat.com> - 1.13-13
2fee6c
- Remove useless doxygen docs to eliminate multilib conflicts (#533829)
2fee6c
2fee6c
* Thu Aug 02 2012 Panu Matilainen <pmatilai@redhat.com> - 1.13-12
2fee6c
- Hack poptBadOption() to return something semi-meaningful on exec alias
2fee6c
  failures (#697435, #710267)
2fee6c
- Run internal test-suite on build, minimal as it might be
2fee6c
2fee6c
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-11
2fee6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2fee6c
2fee6c
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-10
2fee6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
2fee6c
2fee6c
* Tue Jun 14 2011 Panu Matilainen <pmatilai@redhat.com>
2fee6c
- Backport upstream patch to fix --opt=<arg> syntax for aliases (#293531)
2fee6c
2fee6c
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-8
2fee6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
2fee6c
2fee6c
* Tue Feb 16 2010 Robert Scheck <robert@fedoraproject.org> 1.13-7
2fee6c
- Solved multilib problems at doxygen generated files (#517509)
2fee6c
2fee6c
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-6
2fee6c
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
2fee6c
2fee6c
* Mon Feb 23 2009 Robert Scheck <robert@fedoraproject.org> 1.13-5
2fee6c
- Rebuilt against gcc 4.4 and rpm 4.6
2fee6c
2fee6c
* Sun May 25 2008 Robert Scheck <robert@fedoraproject.org> 1.13-4
2fee6c
- Solved multilib problems at doxygen generated files (#342921)
2fee6c
2fee6c
* Wed Feb 20 2008 Robert Scheck <robert@fedoraproject.org> 1.13-3
2fee6c
- Revert the broken bind_textdomain_codeset() patch (#433324)
2fee6c
2fee6c
* Thu Feb 14 2008 Robert Scheck <robert@fedoraproject.org> 1.13-2
2fee6c
- Added patch to work around missing bind_textdomain_codeset()
2fee6c
2fee6c
* Sun Dec 30 2007 Robert Scheck <robert@fedoraproject.org> 1.13-1
2fee6c
- Upgrade to 1.13 (#290531, #332201, #425803)
2fee6c
- Solved multilib problems at doxygen generated files (#342921)
2fee6c
2fee6c
* Thu Aug 23 2007 Robert Scheck <robert@fedoraproject.org> 1.12-3
2fee6c
- Added buildrequirement to graphviz (#249352)
2fee6c
- Backported bugfixes from CVS (#102254, #135428 and #178413)
2fee6c
2fee6c
* Sun Aug 12 2007 Robert Scheck <robert@fedoraproject.org> 1.12-2
2fee6c
- Move libpopt to /lib[64] (#249814)
2fee6c
- Generate API documentation, added buildrequirement to doxygen
2fee6c
2fee6c
* Mon Jul 23 2007 Robert Scheck <robert@fedoraproject.org> 1.12-1
2fee6c
- Changes to match with Fedora Packaging Guidelines (#249352)
2fee6c
2fee6c
* Tue Jul 10 2007 Jeff Johnson <jbj@rpm5.org>
2fee6c
- release popt-1.12 through rpm5.org.
2fee6c
2fee6c
* Sat Jun  9 2007 Jeff Johnson <jbj@rpm5.org>
2fee6c
- release popt-1.11 through rpm5.org.
2fee6c
2fee6c
* Thu Dec 10 1998 Michael Johnson <johnsonm@redhat.com>
2fee6c
- released 1.2.2; see CHANGES
2fee6c
2fee6c
* Tue Nov 17 1998 Michael K. Johnson <johnsonm@redhat.com>
2fee6c
- added man page to default install
2fee6c
2fee6c
* Thu Oct 22 1998 Erik Troan <ewt@redhat.com>
2fee6c
- see CHANGES file for 1.2
2fee6c
2fee6c
* Thu Apr 09 1998 Erik Troan <ewt@redhat.com>
2fee6c
- added ./configure step to spec file