2022-09-16 13:40:02 +00:00
|
|
|
%global ver 1.19
|
|
|
|
#%%global snap rc1
|
|
|
|
%global srcver %{ver}%{?snap:-%{snap}}
|
|
|
|
%global sover 0
|
2020-05-29 09:24:24 +00:00
|
|
|
|
2020-12-22 01:33:41 +00:00
|
|
|
Summary: C library for parsing command line parameters
|
|
|
|
Name: popt
|
|
|
|
Version: %{ver}%{?snap:~%{snap}}
|
2024-10-29 16:03:53 +00:00
|
|
|
Release: 8%{?dist}
|
2023-08-23 12:38:55 +00:00
|
|
|
# COPYING: MIT text
|
|
|
|
# po/eo.po: LicenseRef-Fedora-Public-Domain
|
|
|
|
# po/fi.po: MIT AND LicenseRef-Fedora-Public-Domain
|
|
|
|
# po/lv.po: MIT AND LicenseRef-Fedora-Public-Domain
|
|
|
|
# popt.3: MIT ("the X consortium license, see the file COPYING")
|
|
|
|
License: MIT AND LicenseRef-Fedora-Public-Domain
|
2020-12-22 01:33:41 +00:00
|
|
|
URL: https://github.com/rpm-software-management/popt/
|
|
|
|
Source0: http://ftp.rpm.org/popt/releases/popt-1.x/%{name}-%{srcver}.tar.gz
|
|
|
|
BuildRequires: gcc
|
|
|
|
BuildRequires: gettext
|
2021-03-06 08:23:56 +00:00
|
|
|
BuildRequires: make
|
2007-08-23 21:21:22 +00:00
|
|
|
|
|
|
|
%description
|
|
|
|
Popt is a C library for parsing command line parameters. Popt was
|
|
|
|
heavily influenced by the getopt() and getopt_long() functions, but
|
|
|
|
it improves on them by allowing more powerful argument expansion.
|
|
|
|
Popt can parse arbitrary argv[] style arrays and automatically set
|
|
|
|
variables based on command line arguments. Popt allows command line
|
|
|
|
arguments to be aliased via configuration files and includes utility
|
|
|
|
functions for parsing arbitrary strings into argv[] arrays using
|
|
|
|
shell-like rules.
|
|
|
|
|
|
|
|
%package devel
|
2020-12-22 01:33:41 +00:00
|
|
|
Summary: Development files for the popt library
|
2023-08-23 12:38:55 +00:00
|
|
|
License: MIT
|
2020-12-22 01:33:41 +00:00
|
|
|
Requires: %{name}%{?_isa} = %{version}-%{release}, pkgconfig
|
2007-08-23 21:21:22 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
The popt-devel package includes header files and libraries necessary
|
|
|
|
for developing programs which use the popt C library. It contains the
|
|
|
|
API documentation of the popt library, too.
|
|
|
|
|
2021-03-06 08:23:56 +00:00
|
|
|
%if 0%{!?_without_static:1}
|
2007-08-23 21:21:22 +00:00
|
|
|
%package static
|
2020-12-22 01:33:41 +00:00
|
|
|
Summary: Static library for parsing command line parameters
|
2023-08-23 12:38:55 +00:00
|
|
|
License: MIT
|
2020-12-22 01:33:41 +00:00
|
|
|
Requires: %{name}-devel%{?_isa} = %{version}-%{release}
|
2007-08-23 21:21:22 +00:00
|
|
|
|
|
|
|
%description static
|
|
|
|
The popt-static package includes static libraries of the popt library.
|
|
|
|
Install it if you need to link statically with libpopt.
|
2021-03-06 08:23:56 +00:00
|
|
|
%endif
|
2007-08-23 21:21:22 +00:00
|
|
|
|
|
|
|
%prep
|
2021-06-23 07:57:18 +00:00
|
|
|
%autosetup -n %{name}-%{srcver} -p1
|
2007-08-23 21:21:22 +00:00
|
|
|
|
|
|
|
%build
|
2021-03-06 08:23:56 +00:00
|
|
|
%configure %{?_without_static:--disable-static}
|
2018-10-11 11:37:28 +00:00
|
|
|
%make_build
|
2007-08-23 21:21:22 +00:00
|
|
|
|
|
|
|
%install
|
2018-10-11 11:37:28 +00:00
|
|
|
%make_install
|
|
|
|
|
2007-12-30 21:38:50 +00:00
|
|
|
# Multiple popt configurations are possible
|
2020-12-22 01:33:41 +00:00
|
|
|
mkdir -p $RPM_BUILD_ROOT%{_sysconfdir}/popt.d/
|
2007-12-30 21:38:50 +00:00
|
|
|
|
2007-08-23 21:21:22 +00:00
|
|
|
%find_lang %{name}
|
|
|
|
|
2012-08-02 13:19:41 +00:00
|
|
|
%check
|
2021-09-14 22:30:59 +00:00
|
|
|
make check || (cat tests/*.log; exit 1)
|
2012-08-02 13:19:41 +00:00
|
|
|
|
2007-08-23 21:21:22 +00:00
|
|
|
%files -f %{name}.lang
|
2014-06-26 09:31:12 +00:00
|
|
|
%license COPYING
|
2020-12-22 01:33:41 +00:00
|
|
|
%{_sysconfdir}/popt.d/
|
2022-06-22 06:51:06 +00:00
|
|
|
%{_libdir}/libpopt.so.%{sover}*
|
2007-08-23 21:21:22 +00:00
|
|
|
|
|
|
|
%files devel
|
2012-12-14 13:17:47 +00:00
|
|
|
%doc README
|
2007-08-23 21:21:22 +00:00
|
|
|
%{_libdir}/libpopt.so
|
2013-11-24 17:58:29 +00:00
|
|
|
%{_libdir}/pkgconfig/%{name}.pc
|
2007-08-23 21:21:22 +00:00
|
|
|
%{_includedir}/popt.h
|
|
|
|
%{_mandir}/man3/popt.3*
|
|
|
|
|
2021-03-06 08:23:56 +00:00
|
|
|
%if 0%{!?_without_static:1}
|
2007-08-23 21:21:22 +00:00
|
|
|
%files static
|
|
|
|
%{_libdir}/libpopt.a
|
2021-03-06 08:23:56 +00:00
|
|
|
%endif
|
2007-08-23 21:21:22 +00:00
|
|
|
|
|
|
|
%changelog
|
2024-10-29 16:03:53 +00:00
|
|
|
* Tue Oct 29 2024 Troy Dawson <tdawson@redhat.com> - 1.19-8
|
|
|
|
- Bump release for October 2024 mass rebuild:
|
|
|
|
Resolves: RHEL-64018
|
|
|
|
|
2024-06-24 16:15:31 +00:00
|
|
|
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 1.19-7
|
|
|
|
- Bump release for June 2024 mass rebuild
|
|
|
|
|
2024-01-25 23:56:52 +00:00
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.19-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2024-01-21 22:09:51 +00:00
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.19-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
2023-08-23 12:38:55 +00:00
|
|
|
* Wed Aug 23 2023 Petr Pisar <ppisar@redhat.com> - 1.19-4
|
|
|
|
- Correct a license tag to "MIT AND LicenseRef-Fedora-Public-Domain"
|
|
|
|
|
2023-07-21 06:05:22 +00:00
|
|
|
* Fri Jul 21 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.19-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
2023-01-20 10:05:53 +00:00
|
|
|
* Fri Jan 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 1.19-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
2022-09-16 13:40:02 +00:00
|
|
|
* Fri Sep 16 2022 Robert Scheck <robert@fedoraproject.org> 1.19-1
|
|
|
|
- Upgrade to 1.19 (#2127400)
|
|
|
|
|
2022-08-24 06:33:53 +00:00
|
|
|
* Wed Aug 24 2022 Panu Matilainen <pmatilai@redhat.com> - 1.19~rc1-4
|
|
|
|
- Restore the memleak fix now that authselect should be fixed
|
|
|
|
|
2022-07-22 15:14:03 +00:00
|
|
|
* Fri Jul 22 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.19~rc1-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
2022-06-28 13:47:43 +00:00
|
|
|
* Tue Jun 28 2022 Panu Matilainen <pmatilai@redhat.com> - 1.19~rc1-2
|
|
|
|
- Temporarily revert a memleak fix due to authselect breakage (#2100287)
|
|
|
|
|
2022-06-22 06:51:06 +00:00
|
|
|
* Wed Jun 22 2022 Panu Matilainen <pmatilai@redhat.com> - 1.19~rc1-1
|
|
|
|
- Rebase to 1.19-rc1 (https://github.com/rpm-software-management/popt/releases/tag/popt-1.19-rc1)
|
|
|
|
- Remove manual .la cleanup, it's automatic nowadays
|
|
|
|
- Add a guard against accidental soname changes
|
|
|
|
|
2022-01-21 09:16:52 +00:00
|
|
|
* Fri Jan 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.18-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|
2021-07-23 03:53:30 +00:00
|
|
|
* Fri Jul 23 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.18-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
|
|
|
|
|
2021-06-23 07:57:18 +00:00
|
|
|
* Wed Jun 23 2021 Panu Matilainen <pmatilai@redhat.com> - 1.18-5
|
|
|
|
- Fix test-suite expectation on rawhide
|
|
|
|
- Dump test-suite logs for post-mortem on failure
|
|
|
|
|
2021-03-06 08:23:56 +00:00
|
|
|
* Sat Mar 06 2021 Robert Scheck <robert@fedoraproject.org> 1.18-4
|
|
|
|
- Conditionalize static subpackage during build-time
|
|
|
|
|
2021-01-27 08:25:58 +00:00
|
|
|
* Wed Jan 27 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.18-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
|
|
|
|
|
2020-07-28 22:51:25 +00:00
|
|
|
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.18-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
|
|
|
|
|
2020-06-24 06:47:52 +00:00
|
|
|
* Wed Jun 24 2020 Panu Matilainen <pmatilai@redhat.com> - 1.18-1
|
|
|
|
- Update to popt 1.18 final (no changes from rc1)
|
|
|
|
|
2020-05-29 09:24:24 +00:00
|
|
|
* Fri May 29 2020 Panu Matilainen <pmatilai@redhat.com> - 1.18~rc1-1
|
|
|
|
- Rebase to popt 1.18-rc1
|
|
|
|
- Update URLs to the new upstream
|
|
|
|
|
2020-01-30 09:33:04 +00:00
|
|
|
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-19
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
|
|
|
|
2019-07-26 11:07:56 +00:00
|
|
|
* Fri Jul 26 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-18
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
|
|
|
|
|
2019-02-02 04:38:42 +00:00
|
|
|
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-17
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
|
|
|
|
2018-10-11 11:37:28 +00:00
|
|
|
* Thu Oct 11 2018 Panu Matilainen <pmatilai@redhat.com> - 1.16-16
|
|
|
|
- Use modern build helper macros
|
|
|
|
- Drop support for pre-usrmove versions (Fedora < 17 and RHEL < 7)
|
|
|
|
- Erm, dont nuke build-root at beginning of %%install
|
|
|
|
|
2018-07-13 22:44:26 +00:00
|
|
|
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
|
|
|
|
|
2018-02-09 05:35:20 +00:00
|
|
|
* Fri Feb 09 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
|
|
|
|
|
2018-02-03 17:21:42 +00:00
|
|
|
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.16-13
|
|
|
|
- Switch to %%ldconfig_scriptlets
|
|
|
|
|
2017-10-12 21:54:35 +00:00
|
|
|
* Thu Oct 12 2017 Robert Scheck <robert@fedoraproject.org> 1.16-12
|
|
|
|
- Added upstream patch to handle glob(3) error returns (#1051685)
|
|
|
|
|
2017-08-03 06:16:59 +00:00
|
|
|
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
|
|
|
|
|
2017-07-28 19:04:04 +00:00
|
|
|
* Fri Jul 28 2017 Peter Jones <pjones@redhat.com> - 1.16-10
|
|
|
|
- Make it use %%autosetup -S git
|
|
|
|
- Fix a memory leak
|
|
|
|
|
2017-07-27 08:55:49 +00:00
|
|
|
* Thu Jul 27 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-9
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
|
|
|
|
|
2017-02-11 07:45:06 +00:00
|
|
|
* Sat Feb 11 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
|
|
|
|
|
2016-02-04 18:21:07 +00:00
|
|
|
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.16-7
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-18 15:39:34 +00:00
|
|
|
* Thu Jun 18 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2014-08-17 19:35:32 +00:00
|
|
|
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-5
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-26 09:31:12 +00:00
|
|
|
* Thu Jun 26 2014 Panu Matilainen <pmatilai@redhat.com> - 1.16-4
|
|
|
|
- Mark license as such, not documentation
|
|
|
|
|
2014-06-07 16:49:30 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.16-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-01-08 19:04:25 +00:00
|
|
|
* Wed Jan 08 2014 Robert Scheck <robert@fedoraproject.org> 1.16-2
|
|
|
|
- Added patch to have --help and --usage translatable (#734434)
|
|
|
|
|
2013-11-24 17:58:29 +00:00
|
|
|
* Sun Nov 24 2013 Robert Scheck <robert@fedoraproject.org> 1.16-1
|
|
|
|
- Upgrade to 1.16 (#448286, #999377)
|
|
|
|
- Tight run-time dependencies between sub-packages via %%{?_isa}
|
|
|
|
- Added patch for spelling mistakes in popt man page (#675567)
|
|
|
|
|
2013-08-04 04:53:41 +00:00
|
|
|
* Sun Aug 04 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-15
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-02-14 18:11:35 +00:00
|
|
|
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-14
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2012-12-14 13:17:47 +00:00
|
|
|
* Fri Dec 14 2012 Panu Matilainen <pmatilai@redhat.com> - 1.13-13
|
|
|
|
- Remove useless doxygen docs to eliminate multilib conflicts (#533829)
|
|
|
|
|
2012-08-02 13:16:49 +00:00
|
|
|
* Thu Aug 02 2012 Panu Matilainen <pmatilai@redhat.com> - 1.13-12
|
|
|
|
- Hack poptBadOption() to return something semi-meaningful on exec alias
|
|
|
|
failures (#697435, #710267)
|
2012-08-02 13:19:41 +00:00
|
|
|
- Run internal test-suite on build, minimal as it might be
|
2012-08-02 13:16:49 +00:00
|
|
|
|
2012-07-21 02:38:47 +00:00
|
|
|
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-11
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-14 01:08:01 +00:00
|
|
|
* Sat Jan 14 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-10
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
|
|
|
|
|
2011-06-14 09:03:47 +00:00
|
|
|
* Tue Jun 14 2011 Panu Matilainen <pmatilai@redhat.com>
|
|
|
|
- Backport upstream patch to fix --opt=<arg> syntax for aliases (#293531)
|
|
|
|
|
2011-02-09 15:49:27 +00:00
|
|
|
* Wed Feb 09 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-8
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-02-15 23:04:18 +00:00
|
|
|
* Tue Feb 16 2010 Robert Scheck <robert@fedoraproject.org> 1.13-7
|
|
|
|
- Solved multilib problems at doxygen generated files (#517509)
|
|
|
|
|
2009-07-26 19:11:24 +00:00
|
|
|
* Sun Jul 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.13-6
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-02-23 19:55:12 +00:00
|
|
|
* Mon Feb 23 2009 Robert Scheck <robert@fedoraproject.org> 1.13-5
|
|
|
|
- Rebuilt against gcc 4.4 and rpm 4.6
|
|
|
|
|
2008-05-25 16:00:02 +00:00
|
|
|
* Sun May 25 2008 Robert Scheck <robert@fedoraproject.org> 1.13-4
|
|
|
|
- Solved multilib problems at doxygen generated files (#342921)
|
|
|
|
|
2008-02-20 09:10:05 +00:00
|
|
|
* Wed Feb 20 2008 Robert Scheck <robert@fedoraproject.org> 1.13-3
|
|
|
|
- Revert the broken bind_textdomain_codeset() patch (#433324)
|
|
|
|
|
2008-02-15 22:10:41 +00:00
|
|
|
* Thu Feb 14 2008 Robert Scheck <robert@fedoraproject.org> 1.13-2
|
|
|
|
- Added patch to work around missing bind_textdomain_codeset()
|
|
|
|
|
2007-12-30 21:38:50 +00:00
|
|
|
* Sun Dec 30 2007 Robert Scheck <robert@fedoraproject.org> 1.13-1
|
|
|
|
- Upgrade to 1.13 (#290531, #332201, #425803)
|
|
|
|
- Solved multilib problems at doxygen generated files (#342921)
|
|
|
|
|
2007-08-23 21:21:22 +00:00
|
|
|
* Thu Aug 23 2007 Robert Scheck <robert@fedoraproject.org> 1.12-3
|
|
|
|
- Added buildrequirement to graphviz (#249352)
|
|
|
|
- Backported bugfixes from CVS (#102254, #135428 and #178413)
|
|
|
|
|
|
|
|
* Sun Aug 12 2007 Robert Scheck <robert@fedoraproject.org> 1.12-2
|
|
|
|
- Move libpopt to /lib[64] (#249814)
|
|
|
|
- Generate API documentation, added buildrequirement to doxygen
|
|
|
|
|
|
|
|
* Mon Jul 23 2007 Robert Scheck <robert@fedoraproject.org> 1.12-1
|
|
|
|
- Changes to match with Fedora Packaging Guidelines (#249352)
|
|
|
|
|
|
|
|
* Tue Jul 10 2007 Jeff Johnson <jbj@rpm5.org>
|
|
|
|
- release popt-1.12 through rpm5.org.
|
|
|
|
|
|
|
|
* Sat Jun 9 2007 Jeff Johnson <jbj@rpm5.org>
|
|
|
|
- release popt-1.11 through rpm5.org.
|
|
|
|
|
|
|
|
* Thu Dec 10 1998 Michael Johnson <johnsonm@redhat.com>
|
|
|
|
- released 1.2.2; see CHANGES
|
|
|
|
|
|
|
|
* Tue Nov 17 1998 Michael K. Johnson <johnsonm@redhat.com>
|
|
|
|
- added man page to default install
|
|
|
|
|
|
|
|
* Thu Oct 22 1998 Erik Troan <ewt@redhat.com>
|
|
|
|
- see CHANGES file for 1.2
|
|
|
|
|
|
|
|
* Thu Apr 09 1998 Erik Troan <ewt@redhat.com>
|
|
|
|
- added ./configure step to spec file
|