c60ec1
%bcond_without check
c60ec1
c60ec1
Name:                   libconfig
c60ec1
Summary:                C/C++ configuration file library
c60ec1
Version:                1.7.2
c60ec1
Release:                9%{?dist}
c60ec1
License:                LGPLv2+
c60ec1
URL:                    http://www.hyperrealm.com/libconfig/
c60ec1
Source0:                https://hyperrealm.github.io/%name/dist/%name-%version.tar.gz
c60ec1
# Generated from libconfig 1.7.2 on Fedora 28 x86_64 (2018-07-18)
c60ec1
Source1:                libconfig-%version.pdf
c60ec1
# Helper script to generate Source1 (locally)
c60ec1
Source2:                generate-pdf.sh
c60ec1
c60ec1
BuildRequires:          gcc, gcc-c++
c60ec1
BuildRequires:          texinfo
c60ec1
BuildRequires:          bison, flex
c60ec1
BuildRequires: make
c60ec1
c60ec1
%description
c60ec1
Libconfig is a simple library for manipulating structured configuration
c60ec1
files. This file format is more compact and more readable than XML. And
c60ec1
unlike XML, it is type-aware, so it is not necessary to do string parsing
c60ec1
in application code.
c60ec1
c60ec1
c60ec1
%package devel
c60ec1
Summary:                Development files for libconfig
c60ec1
Requires:               %{name}%{?_isa} = %{version}-%{release}
c60ec1
c60ec1
%description devel
c60ec1
Development libraries and headers for developing software against
c60ec1
libconfig.
c60ec1
c60ec1
c60ec1
%prep
c60ec1
%setup -q
c60ec1
iconv -f iso-8859-1 -t utf-8 -o AUTHORS{.utf8,}
c60ec1
mv AUTHORS{.utf8,}
c60ec1
c60ec1
c60ec1
%build
c60ec1
%configure \
c60ec1
  --disable-silent-rules \
c60ec1
  --disable-static
c60ec1
c60ec1
make %{?_smp_mflags}
c60ec1
c60ec1
c60ec1
%install
c60ec1
%make_install
c60ec1
rm -rf $RPM_BUILD_ROOT%{_libdir}/*.la
c60ec1
rm -rf $RPM_BUILD_ROOT%{_infodir}/dir
c60ec1
install -p %{SOURCE1} doc/
c60ec1
c60ec1
c60ec1
%if %{with check}
c60ec1
%check
c60ec1
make check
c60ec1
%endif
c60ec1
c60ec1
c60ec1
%ldconfig_scriptlets
c60ec1
c60ec1
%files
c60ec1
%license COPYING.LIB
c60ec1
%doc AUTHORS ChangeLog README
c60ec1
%{_libdir}/libconfig*.so.11*
c60ec1
c60ec1
c60ec1
%files devel
c60ec1
%doc doc/libconfig-%version.pdf
c60ec1
%{_includedir}/libconfig*
c60ec1
%{_libdir}/cmake/%{name}
c60ec1
%{_libdir}/cmake/%{name}++
c60ec1
%{_libdir}/libconfig*.so
c60ec1
%{_libdir}/pkgconfig/libconfig*.pc
c60ec1
%{_infodir}/libconfig.info*
c60ec1
c60ec1
c60ec1
%changelog
c60ec1
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.7.2-9
c60ec1
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
c60ec1
  Related: rhbz#1991688
c60ec1
c60ec1
* Fri Apr 16 2021 Mohan Boddu <mboddu@redhat.com> - 1.7.2-8
c60ec1
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
c60ec1
c60ec1
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-7
c60ec1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
c60ec1
c60ec1
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-6
c60ec1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
c60ec1
c60ec1
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-5
c60ec1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
c60ec1
c60ec1
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-4
c60ec1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
c60ec1
c60ec1
* Fri Feb 01 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.2-3
c60ec1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
c60ec1
c60ec1
* Tue Jul 24 2018 Rex Dieter <rdieter@fedoraproject.org> - 1.7.2-2
c60ec1
- %%files: track library sonames, so bumps aren't a surprise
c60ec1
- %%build: --disable-silent-rules
c60ec1
- -devel: tighten subpkg dep with %%_isa, drop hard-coded pkgconfig dep
c60ec1
- use %%make_build %%make_install %%ldconfig_scriptlets
c60ec1
c60ec1
* Mon Jul 23 2018 Pavel Raiskup <praiskup@redhat.com> - 1.7.2-1
c60ec1
- new upstream release (rhbz#1602423)
c60ec1
c60ec1
* Mon Jul 23 2018 Pavel Raiskup <praiskup@redhat.com> - 1.5-12
c60ec1
- cleanup
c60ec1
c60ec1
* Sun Jul 22 2018 Peter Robinson <pbrobinson@fedoraproject.org> 1.5-11
c60ec1
- Add missing gcc-c++ dep, spec cleanups
c60ec1
c60ec1
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-10
c60ec1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
c60ec1
c60ec1
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-9
c60ec1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
c60ec1
c60ec1
* Sat Feb 03 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.5-8
c60ec1
- Switch to %%ldconfig_scriptlets
c60ec1
c60ec1
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-7
c60ec1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
c60ec1
c60ec1
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-6
c60ec1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
c60ec1
c60ec1
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-5
c60ec1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
c60ec1
c60ec1
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.5-4
c60ec1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
c60ec1
c60ec1
* Thu Dec 17 2015 Tom Callaway <spot@fedoraproject.org> - 1.5-3
c60ec1
- fix pdf file by having a pre-generated pdf as source1 (bz 1292449)
c60ec1
c60ec1
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5-2
c60ec1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
c60ec1
c60ec1
* Tue May 19 2015 Tom Callaway <spot@fedoraproject.org> - 1.5-1
c60ec1
- update to 1.5
c60ec1
c60ec1
* Thu Apr 16 2015 Dominik Mierzejewski <rpm@greysector.net> - 1.4.9-8
c60ec1
- rebuilt for gcc-5.0.0-0.22.fc23
c60ec1
c60ec1
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.9-7
c60ec1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
c60ec1
c60ec1
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.9-6
c60ec1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
c60ec1
c60ec1
* Wed Sep  4 2013 Tom Callaway <spot@fedoraproject.org> - 1.4.9-5
c60ec1
- handle everything with doc
c60ec1
c60ec1
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.9-4
c60ec1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
c60ec1
c60ec1
* Fri Jun 21 2013 Pavel Raiskup <praiskup@redhat.com> - 1.4.9-3
c60ec1
- enable simple upstream test-suite during check phase
c60ec1
c60ec1
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.9-2
c60ec1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
c60ec1
c60ec1
* Mon Oct  1 2012 Tom Callaway <spot@fedoraproject.org> - 1.4.9-1
c60ec1
- update to 1.4.9
c60ec1
c60ec1
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.8-3
c60ec1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
c60ec1
c60ec1
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.8-2
c60ec1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
c60ec1
c60ec1
* Fri Aug 12 2011 Tom Callaway <spot@fedoraproject.org> - 1.4.8-1
c60ec1
- update to 1.4.8
c60ec1
c60ec1
* Wed Mar 23 2011 Tom Callaway <spot@fedoraproject.org> - 1.4.7-1
c60ec1
- update to 1.4.7
c60ec1
c60ec1
* Tue Mar  1 2011 Stanislav Ochotnicky <sochotnicky@redhat.com> - 1.4.6-1
c60ec1
- Update to 1.4.6
c60ec1
- Install libconfig_tests
c60ec1
- Fix rpmlint warnings
c60ec1
c60ec1
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.5-2
c60ec1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
c60ec1
c60ec1
* Wed May  5 2010 Tom "spot" Callaway <tcallawa@redhat.com> - 1.4.5-1
c60ec1
- update to 1.4.5
c60ec1
c60ec1
* Wed Aug 19 2009 Tom "spot" Callaway <tcallawa@redhat.com> - 1.3.2-1
c60ec1
- update to 1.3.2
c60ec1
c60ec1
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-4
c60ec1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
c60ec1
c60ec1
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.3.1-3
c60ec1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
c60ec1
c60ec1
* Wed Dec 24 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.3.1-2
c60ec1
- prevent multilib conflicts with the generated pdf
c60ec1
c60ec1
* Fri Sep 12 2008 Tom "spot" Callaway <tcallawa@redhat.com> - 1.3.1-1
c60ec1
- update to 1.3.1
c60ec1
c60ec1
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.2.1-2
c60ec1
- Autorebuild for GCC 4.3
c60ec1
c60ec1
* Tue Feb 19 2008 Tom "spot" Callaway <tcallawa@redhat.com> 1.2.1-1
c60ec1
- bump to 1.2.1
c60ec1
c60ec1
* Fri Nov 30 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.2-4
c60ec1
- nuke %%{_infodir}/dir, we handle it in %%post
c60ec1
c60ec1
* Fri Nov 30 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.2-3
c60ec1
- move all docs to devel
c60ec1
- move scriptlets around to match
c60ec1
- move requires around to match
c60ec1
c60ec1
* Fri Nov 30 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.2-2
c60ec1
- BR: texinfo-tex (not Requires)
c60ec1
c60ec1
* Fri Nov 30 2007 Tom "spot" Callaway <tcallawa@redhat.com> 1.2-1
c60ec1
- Initial package for Fedora