b484bb
Name:           augeas
b484bb
Version:        1.12.0
b484bb
Release:        4%{?dist}
b484bb
Summary:        A library for changing configuration files
b484bb
b484bb
Group:          System Environment/Libraries
b484bb
License:        LGPLv2+
b484bb
URL:            http://augeas.net/
b484bb
Source0:        http://download.augeas.net/%{name}-%{version}.tar.gz
b484bb
Patch1:         0001-Grub-support-in-kernel-command-line-option-names-647.patch
b484bb
Patch2:         0002-Rsyslog-support-multiple-actions-in-filters-and-sele.patch
b484bb
b484bb
BuildRequires:  readline-devel libselinux-devel libxml2-devel
b484bb
BuildRequires:  autoconf, automake
b484bb
Requires:       %{name}-libs = %{version}-%{release}
b484bb
b484bb
%description
b484bb
A library for programmatically editing configuration files. Augeas parses
b484bb
configuration files into a tree structure, which it exposes through its
b484bb
public API. Changes made through the API are written back to the initially
b484bb
read files.
b484bb
b484bb
The transformation works very hard to preserve comments and formatting
b484bb
details. It is controlled by ``lens'' definitions that describe the file
b484bb
format and the transformation into a tree.
b484bb
b484bb
%package        devel
b484bb
Summary:        Development files for %{name}
b484bb
Group:          Development/Libraries
b484bb
Requires:       %{name}-libs = %{version}-%{release}
b484bb
Requires:       pkgconfig
b484bb
b484bb
%description    devel
b484bb
The %{name}-devel package contains libraries and header files for
b484bb
developing applications that use %{name}.
b484bb
b484bb
b484bb
%package        libs
b484bb
Summary:        Libraries for %{name}
b484bb
Group:          System Environment/Libraries
b484bb
b484bb
Provides:       bundled(gnulib)
b484bb
b484bb
%description    libs
b484bb
The libraries for %{name}.
b484bb
b484bb
Augeas is a library for programmatically editing configuration files. It parses
b484bb
configuration files into a tree structure, which it exposes through its
b484bb
public API. Changes made through the API are written back to the initially
b484bb
read files.
b484bb
b484bb
b484bb
b484bb
%prep
b484bb
%setup -q
b484bb
%patch1 -p1
b484bb
%patch2 -p1
b484bb
b484bb
%build
b484bb
%configure \
b484bb
%ifarch riscv64
b484bb
    --disable-gnulib-tests \
b484bb
%endif
b484bb
    --disable-static
b484bb
make V=1 %{?_smp_mflags}
b484bb
b484bb
%check
b484bb
# Disable test-preserve.sh SELinux testing. This fails when run under mock due
b484bb
# to differing SELinux labelling.
b484bb
export SKIP_TEST_PRESERVE_SELINUX=1
b484bb
b484bb
make %{?_smp_mflags} check || {
b484bb
  echo '===== tests/test-suite.log ====='
b484bb
  cat tests/test-suite.log
b484bb
  exit 1
b484bb
}
b484bb
b484bb
%install
b484bb
rm -rf $RPM_BUILD_ROOT
b484bb
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p"
b484bb
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
b484bb
b484bb
# The tests/ subdirectory contains lenses used only for testing, and
b484bb
# so it shouldn't be packaged.
b484bb
rm -r $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/dist/tests
b484bb
b484bb
%clean
b484bb
rm -rf $RPM_BUILD_ROOT
b484bb
b484bb
%post libs -p /sbin/ldconfig
b484bb
b484bb
%postun libs -p /sbin/ldconfig
b484bb
b484bb
%files
b484bb
%defattr(-,root,root,-)
b484bb
%{_bindir}/augmatch
b484bb
%{_bindir}/augparse
b484bb
%{_bindir}/augtool
b484bb
%{_bindir}/fadot
b484bb
%doc %{_mandir}/man1/*
b484bb
%{_datadir}/vim/vimfiles/syntax/augeas.vim
b484bb
%{_datadir}/vim/vimfiles/ftdetect/augeas.vim
b484bb
b484bb
%files libs
b484bb
%defattr(-,root,root,-)
b484bb
# _datadir/augeas and _datadir/augeas/lenses are owned
b484bb
# by filesystem.
b484bb
%{_datadir}/augeas/lenses/dist
b484bb
%{_libdir}/*.so.*
b484bb
%doc AUTHORS COPYING NEWS
b484bb
b484bb
%files devel
b484bb
%defattr(-,root,root,-)
b484bb
%doc
b484bb
%{_includedir}/*
b484bb
%{_libdir}/*.so
b484bb
%{_libdir}/pkgconfig/augeas.pc
b484bb
b484bb
%changelog
b484bb
* Thu Nov 14 2019 Pino Toscano <ptoscano@redhat.com> - 1.12.0-4
b484bb
- Rsyslog: support multiple actions in filters and selectors (RHBZ#1660884)
b484bb
b484bb
* Thu Nov 07 2019 Pino Toscano <ptoscano@redhat.com> - 1.12.0-3
b484bb
- Grub: handle '+' in kernel command line options (RHBZ#1769314)
b484bb
b484bb
* Mon Jun 03 2019 Pino Toscano <ptoscano@redhat.com> - 1.12.0-2
b484bb
- Disable static libraries, not needed in RHEL.
b484bb
b484bb
* Tue May 14 2019 Pino Toscano <ptoscano@redhat.com> - 1.12.0-1
b484bb
- New upstream release (RHBZ#1709416)
b484bb
  * Fstab: allow leading whitespaces (RHBZ#1671950)
b484bb
b484bb
* Thu Dec 13 2018 Pino Toscano <ptoscano@redhat.com> - 1.10.1-8
b484bb
- Add simple tests (RHBZ#1653994)
b484bb
b484bb
* Wed Dec 12 2018 Pino Toscano <ptoscano@redhat.com> - 1.10.1-7
b484bb
- Anaconda: new lens (RHBZ#1657192)
b484bb
b484bb
* Thu Nov 29 2018 Pino Toscano <ptoscano@redhat.com> - 1.10.1-6
b484bb
- Semanage: new lens (RHBZ#1652840)
b484bb
- Add "Provides: bundled(gnulib)" to augeas-libs, as it embeds gnulib
b484bb
  (RHBZ#1653768)
b484bb
b484bb
* Fri Nov 23 2018 Pino Toscano <ptoscano@redhat.com> - 1.10.1-5
b484bb
- Rsyslog: support include() directive (RHBZ#1652832)
b484bb
b484bb
* Tue Nov 13 2018 Pino Toscano <ptoscano@redhat.com> - 1.10.1-4
b484bb
- Grub: better handle invalid grub.conf files (RHBZ#1649262)
b484bb
- Sudoers: handle "always_query_group_plugin" option (RHBZ#1649299)
b484bb
b484bb
* Mon Oct 08 2018 Pino Toscano <ptoscano@redhat.com> - 1.10.1-3
b484bb
- Backport some upstream commits to fix few memory leaks, and potential
b484bb
  memory issues (RHBZ#1602446)
b484bb
b484bb
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.1-2
b484bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
b484bb
b484bb
* Mon Jan 29 2018 David Lutterkort <lutter@watzmann.net> - 1.10.1-1
b484bb
- New upstream version 1.10.1
b484bb
b484bb
* Fri Jan 26 2018 Richard W.M. Jones <rjones@redhat.com> - 1.10.0-1
b484bb
- New upstream version 1.10.0 (RHBZ#1538846).
b484bb
- Remove upstream patch.
b484bb
- New tool ‘augmatch’.
b484bb
b484bb
* Tue Nov 21 2017 David Lutterkort <lutter@watzmann.net> - 1.9.0
b484bb
- New upstream version 1.9.0 (RHBZ#1482713)
b484bb
- Add -static subpackage (RHBZ#1405600)
b484bb
b484bb
* Thu Aug 24 2017 Richard W.M. Jones <rjones@redhat.com> - 1.8.1-1
b484bb
- New upstream version 1.8.1.
b484bb
- Fixes CVE-2017-7555 (RHBZ#1482340).
b484bb
b484bb
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-3
b484bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
b484bb
b484bb
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-2
b484bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
b484bb
b484bb
* Tue Mar 21 2017 Dominic Cleal <dominic@cleal.org> - 1.8.0-1
b484bb
- Update to 1.8.0
b484bb
b484bb
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-4
b484bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
b484bb
b484bb
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.7.0-3
b484bb
- Rebuild for readline 7.x
b484bb
b484bb
* Sat Nov 12 2016 Richard W.M. Jones <rjones@redhat.com> - 1.7.0-2
b484bb
- riscv64: Disable gnulib tests on riscv64 architecture.
b484bb
b484bb
* Wed Nov 09 2016 Dominic Cleal <dominic@cleal.org> - 1.7.0-1
b484bb
- Update to 1.7.0
b484bb
b484bb
* Mon Aug 08 2016 Dominic Cleal <dominic@cleal.org> - 1.6.0-1
b484bb
- Update to 1.6.0
b484bb
b484bb
* Thu May 12 2016 Dominic Cleal <dominic@cleal.org> - 1.5.0-1
b484bb
- Update to 1.5.0
b484bb
b484bb
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-3
b484bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
b484bb
b484bb
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-2
b484bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
b484bb
b484bb
* Tue Jun 02 2015 Dominic Cleal <dcleal@redhat.com> - 1.4.0-1
b484bb
- Update to 1.4.0
b484bb
b484bb
* Sat Nov 08 2014 Dominic Cleal <dcleal@redhat.com> - 1.3.0-1
b484bb
- Update to 1.3.0; remove all patches
b484bb
b484bb
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-4
b484bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
b484bb
b484bb
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-3
b484bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
b484bb
b484bb
* Mon Mar 31 2014 Dominic Cleal <dcleal@redhat.com> - 1.2.0-2
b484bb
- Add patch for Krb5, parse braces in values (RHBZ#1079444)
b484bb
b484bb
* Wed Feb 12 2014 Dominic Cleal <dcleal@redhat.com> - 1.2.0-1
b484bb
- Update to 1.2.0, add check section
b484bb
- Update source URL to download.augeas.net (RHBZ#996032)
b484bb
b484bb
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2
b484bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
b484bb
b484bb
* Wed Jun 19 2013 David Lutterkort <lutter@redhat.com> - 1.1.0-1
b484bb
- Update to 1.1.0; remove all patches
b484bb
b484bb
* Tue Jun 18 2013 Richard W.M. Jones <rjones@redhat.com> - 1.0.0-4
b484bb
- Fix /etc/sysconfig/network (RHBZ#904222).
b484bb
b484bb
* Wed Jun  5 2013 Richard W.M. Jones <rjones@redhat.com> - 1.0.0-3
b484bb
- Don't package lenses in tests/ subdirectory.
b484bb
b484bb
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
b484bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
b484bb
b484bb
* Fri Jan  4 2013 David Lutterkort <lutter@redhat.com> - 1.0.0-1
b484bb
- New version; remove all patches
b484bb
b484bb
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-4
b484bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
b484bb
b484bb
* Tue Jan 10 2012 David Lutterkort <lutter@redhat.com> - 0.10.0-3
b484bb
- Add patches for bugs 247 and 248 (JSON lens)
b484bb
b484bb
* Sat Dec  3 2011 Richard W.M. Jones <rjones@redhat.com> - 0.10.0-2
b484bb
- Add patch to resolve missing libxml2 requirement in augeas.pc.
b484bb
b484bb
* Fri Dec  2 2011 David Lutterkort <lutter@redhat.com> - 0.10.0-1
b484bb
- New version
b484bb
b484bb
* Mon Jul 25 2011 David Lutterkort <lutter@redhat.com> - 0.9.0-1
b484bb
- New version; removed patch pathx-whitespace-ea010d8
b484bb
b484bb
* Tue May  3 2011 David Lutterkort <lutter@redhat.com> - 0.8.1-2
b484bb
- Add patch pathx-whitespace-ea010d8.patch to fix BZ 700608
b484bb
b484bb
* Fri Apr 15 2011 David Lutterkort <lutter@redhat.com> - 0.8.1-1
b484bb
- New version
b484bb
b484bb
* Wed Feb 23 2011 David Lutterkort <lutter@redhat.com> - 0.8.0-1
b484bb
- New version
b484bb
b484bb
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.4-2
b484bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
b484bb
b484bb
* Mon Nov 22 2010 Matthew Booth <mbooth@redhat.com> - 0.7.4-1
b484bb
- Update to version 0.7.4
b484bb
b484bb
* Thu Nov 18 2010 Richard W.M. Jones <rjones@redhat.com> - 0.7.3-2
b484bb
- Upstream patch proposed to fix GCC optimization bug (RHBZ#651992).
b484bb
b484bb
* Fri Aug  6 2010 David Lutterkort <lutter@redhat.com> - 0.7.3-1
b484bb
- Remove upstream patches
b484bb
b484bb
* Tue Jun 29 2010 David Lutterkort <lutter@redhat.com> - 0.7.2-2
b484bb
- Patches based on upstream fix for BZ 600141
b484bb
b484bb
* Tue Jun 22 2010 David Lutterkort <lutter@redhat.com> - 0.7.2-1
b484bb
- Fix ownership of /usr/share/augeas. BZ 569393
b484bb
b484bb
* Wed Apr 21 2010 David Lutterkort <lutter@redhat.com> - 0.7.1-1
b484bb
- New version
b484bb
b484bb
* Thu Jan 14 2010 David Lutterkort <lutter@redhat.com> - 0.7.0-1
b484bb
- Remove patch vim-ftdetect-syntax.patch. It's upstream
b484bb
b484bb
* Tue Dec 15 2009 David Lutterkort <lutter@redhat.com> - 0.6.0-2
b484bb
- Fix ftdetect file for vim
b484bb
b484bb
* Mon Nov 30 2009 David Lutterkort <lutter@redhat.com> - 0.6.0-1
b484bb
- Install vim syntax files
b484bb
b484bb
* Mon Sep 14 2009 David Lutterkort <lutter@redhat.com> - 0.5.3-1
b484bb
- Remove separate xorg.aug, included in upstream source
b484bb
b484bb
* Tue Aug 25 2009 Matthew Booth <mbooth@redhat.com> - 0.5.2-3
b484bb
- Include new xorg lens from upstream
b484bb
b484bb
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-2
b484bb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
b484bb
b484bb
* Mon Jul 13 2009 David Lutterkort <lutter@redhat.com> - 0.5.2-1
b484bb
- New version
b484bb
b484bb
* Fri Jun  5 2009 David Lutterkort <lutter@redhat.com> - 0.5.1-1
b484bb
- Install fadot
b484bb
b484bb
* Fri Mar 27 2009 David Lutterkort <lutter@redhat.com> - 0.5.0-2
b484bb
- fadot isn't being installed just yet
b484bb
b484bb
* Tue Mar 24 2009 David Lutterkort <lutter@redhat.com> - 0.5.0-1
b484bb
- New program /usr/bin/fadot
b484bb
b484bb
* Mon Mar  9 2009 David Lutterkort <lutter@redhat.com> - 0.4.2-1
b484bb
- New version
b484bb
b484bb
* Fri Feb 27 2009 David Lutterkort <lutter@redhat.com> - 0.4.1-1
b484bb
- New version
b484bb
b484bb
* Fri Feb  6 2009 David Lutterkort <lutter@redhat.com> - 0.4.0-1
b484bb
- New version
b484bb
b484bb
* Mon Jan 26 2009 David Lutterkort <lutter@redhat.com> - 0.3.6-1
b484bb
- New version
b484bb
b484bb
* Tue Dec 23 2008 David Lutterkort <lutter@redhat.com> - 0.3.5-1
b484bb
- New version
b484bb
b484bb
* Mon Feb 25 2008 David Lutterkort <dlutter@redhat.com> - 0.0.4-1
b484bb
- Initial specfile