Blame SPECS/augeas.spec

32f654
# Upstream releases have been very infrequent but there is still
32f654
# development going on, so for now (July 2021) package up the latest
32f654
# git version.
32f654
%global commit 18558bbeaeee7f6bed5dba64592aa8b23fa521ee
32f654
%global shortcommit %(c=%{commit}; echo ${c:0:7})
32f654
32f654
Name:           augeas
32f654
Version:        1.12.1
32f654
Release:        0.2.git%{shortcommit}%{?dist}
32f654
Summary:        A library for changing configuration files
32f654
32f654
License:        LGPLv2+
32f654
URL:            http://augeas.net/
32f654
# Upstream tarballs.
32f654
#Source0:        http://download.augeas.net/%%{name}-%%{version}.tar.gz
32f654
# Upstream git repo.
32f654
#Source0:        https://github.com/hercules-team/augeas/archive/%%{commit}/%%{name}-%%{shortcommit}.tar.gz
32f654
# However because of gnulib stupidity we can't use either with
32f654
# pre-releases.  Instead I had to build a tarball from the prerelease
32f654
# commit:
32f654
Source0:        augeas-18558bb.tar.gz
32f654
32f654
Provides:       bundled(gnulib)
32f654
32f654
BuildRequires:  make
32f654
BuildRequires:  gcc
32f654
BuildRequires:  readline-devel
32f654
BuildRequires:  libselinux-devel
32f654
BuildRequires:  libxml2-devel
32f654
32f654
Requires:       %{name}-libs = %{version}-%{release}
32f654
32f654
%description
32f654
A library for programmatically editing configuration files. Augeas parses
32f654
configuration files into a tree structure, which it exposes through its
32f654
public API. Changes made through the API are written back to the initially
32f654
read files.
32f654
32f654
The transformation works very hard to preserve comments and formatting
32f654
details. It is controlled by ``lens'' definitions that describe the file
32f654
format and the transformation into a tree.
32f654
32f654
%package        devel
32f654
Summary:        Development files for %{name}
32f654
Requires:       %{name}-libs = %{version}-%{release}
32f654
Requires:       pkgconfig
32f654
32f654
%description    devel
32f654
The %{name}-devel package contains libraries and header files for
32f654
developing applications that use %{name}.
32f654
32f654
32f654
%package        libs
32f654
Summary:        Libraries for %{name}
32f654
32f654
%description    libs
32f654
The libraries for %{name}.
32f654
32f654
Augeas is a library for programmatically editing configuration files. It parses
32f654
configuration files into a tree structure, which it exposes through its
32f654
public API. Changes made through the API are written back to the initially
32f654
read files.
32f654
32f654
%package        static
32f654
Summary:        Static libraries for %{name}
32f654
Requires:       %{name}-devel = %{version}-%{release}
32f654
32f654
%description    static
32f654
The %{name}-static package contains static libraries needed to produce
32f654
static builds using %{name}.
32f654
32f654
32f654
32f654
%prep
32f654
%autosetup -p1 -n %{name}-1.12.0
32f654
32f654
%build
32f654
%configure \
32f654
%ifarch riscv64
32f654
    --disable-gnulib-tests \
32f654
%endif
32f654
    --enable-static
32f654
make %{?_smp_mflags}
32f654
32f654
%check
32f654
# Disable test-preserve.sh SELinux testing. This fails when run under mock due
32f654
# to differing SELinux labelling.
32f654
export SKIP_TEST_PRESERVE_SELINUX=1
32f654
32f654
# Tests disabled because gnulib tests fail see:
32f654
# https://bugzilla.redhat.com/show_bug.cgi?id=1674672
32f654
#make %{?_smp_mflags} check || {
32f654
#  echo '===== tests/test-suite.log ====='
32f654
#  cat tests/test-suite.log
32f654
#  exit 1
32f654
#}
32f654
32f654
%install
32f654
rm -rf $RPM_BUILD_ROOT
32f654
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p"
32f654
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
32f654
32f654
# The tests/ subdirectory contains lenses used only for testing, and
32f654
# so it shouldn't be packaged.
32f654
rm -r $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/dist/tests
32f654
32f654
# In 1.9.0, the example /usr/bin/dump gets installed inadvertently
32f654
rm -f $RPM_BUILD_ROOT/usr/bin/dump
32f654
32f654
%ldconfig_scriptlets libs
32f654
32f654
%files
32f654
%{_bindir}/augmatch
32f654
%{_bindir}/augparse
32f654
%{_bindir}/augtool
32f654
%{_bindir}/fadot
32f654
%doc %{_mandir}/man1/*
32f654
%{_datadir}/vim/vimfiles/syntax/augeas.vim
32f654
%{_datadir}/vim/vimfiles/ftdetect/augeas.vim
32f654
32f654
%files libs
32f654
# _datadir/augeas and _datadir/augeas/lenses are owned
32f654
# by filesystem.
32f654
%{_datadir}/augeas/lenses/dist
32f654
%{_libdir}/*.so.*
32f654
%doc AUTHORS COPYING NEWS
32f654
32f654
%files devel
32f654
%doc
32f654
%{_includedir}/*
32f654
%{_libdir}/*.so
32f654
%{_libdir}/pkgconfig/augeas.pc
32f654
32f654
%files static
32f654
%{_libdir}/libaugeas.a
32f654
%{_libdir}/libfa.a
32f654
32f654
%changelog
32f654
* Mon Aug 09 2021 Mohan Boddu <mboddu@redhat.com> - 1.12.1-0.2.git18558bb
32f654
- Rebuilt for IMA sigs, glibc 2.34, aarch64 flags
32f654
  Related: rhbz#1991688
32f654
32f654
* Tue Jul 06 2021 Richard W.M. Jones <rjones@redhat.com> - 1.12.1-0.1
32f654
- Package up a git pre-release of 1.12.1 or 1.13.0.
32f654
32f654
* Thu Apr 15 2021 Mohan Boddu <mboddu@redhat.com> - 1.12.0-7.patchwork202104060848
32f654
- Rebuilt for RHEL 9 BETA on Apr 15th 2021. Related: rhbz#1947937
32f654
32f654
* Thu Apr 15 2021 Richard W.M. Jones <rjones@redhat.com> - 1.12.0-6
32f654
- Add upstream patch to parse chrony configuration.
32f654
- Use %%autosetup.
32f654
32f654
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.0-5
32f654
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
32f654
32f654
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.0-4
32f654
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
32f654
32f654
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.0-3
32f654
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
32f654
32f654
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.0-2
32f654
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
32f654
32f654
* Mon Apr 15 2019 Richard W.M. Jones <rjones@redhat.com> - 1.12.0-1
32f654
- New upstream release 1.12.0.
32f654
32f654
* Sun Feb 17 2019 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 1.11.0-4
32f654
- Rebuild for readline 8.0
32f654
32f654
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.11.0-3
32f654
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
32f654
32f654
* Mon Nov 26 2018 Richard W.M. Jones <rjones@redhat.com> - 1.11.0-2
32f654
- Augeas uses gnulib, add the correct 'Provides' line.
32f654
32f654
* Tue Aug 28 2018 Richard W.M. Jones <rjones@redhat.com> - 1.11.0-1
32f654
- New upstream version 1.11.0.
32f654
32f654
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.1-3
32f654
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
32f654
32f654
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.10.1-2
32f654
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
32f654
32f654
* Mon Jan 29 2018 David Lutterkort <lutter@watzmann.net> - 1.10.1-1
32f654
- New upstream version 1.10.1
32f654
32f654
* Fri Jan 26 2018 Richard W.M. Jones <rjones@redhat.com> - 1.10.0-1
32f654
- New upstream version 1.10.0 (RHBZ#1538846).
32f654
- Remove upstream patch.
32f654
- New tool ‘augmatch’.
32f654
32f654
* Tue Nov 21 2017 David Lutterkort <lutter@watzmann.net> - 1.9.0
32f654
- New upstream version 1.9.0 (RHBZ#1482713)
32f654
- Add -static subpackage (RHBZ#1405600)
32f654
32f654
* Thu Aug 24 2017 Richard W.M. Jones <rjones@redhat.com> - 1.8.1-1
32f654
- New upstream version 1.8.1.
32f654
- Fixes CVE-2017-7555 (RHBZ#1482340).
32f654
32f654
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-3
32f654
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
32f654
32f654
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.8.0-2
32f654
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
32f654
32f654
* Tue Mar 21 2017 Dominic Cleal <dominic@cleal.org> - 1.8.0-1
32f654
- Update to 1.8.0
32f654
32f654
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-4
32f654
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
32f654
32f654
* Thu Jan 12 2017 Igor Gnatenko <ignatenko@redhat.com> - 1.7.0-3
32f654
- Rebuild for readline 7.x
32f654
32f654
* Sat Nov 12 2016 Richard W.M. Jones <rjones@redhat.com> - 1.7.0-2
32f654
- riscv64: Disable gnulib tests on riscv64 architecture.
32f654
32f654
* Wed Nov 09 2016 Dominic Cleal <dominic@cleal.org> - 1.7.0-1
32f654
- Update to 1.7.0
32f654
32f654
* Mon Aug 08 2016 Dominic Cleal <dominic@cleal.org> - 1.6.0-1
32f654
- Update to 1.6.0
32f654
32f654
* Thu May 12 2016 Dominic Cleal <dominic@cleal.org> - 1.5.0-1
32f654
- Update to 1.5.0
32f654
32f654
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-3
32f654
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
32f654
32f654
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-2
32f654
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
32f654
32f654
* Tue Jun 02 2015 Dominic Cleal <dcleal@redhat.com> - 1.4.0-1
32f654
- Update to 1.4.0
32f654
32f654
* Sat Nov 08 2014 Dominic Cleal <dcleal@redhat.com> - 1.3.0-1
32f654
- Update to 1.3.0; remove all patches
32f654
32f654
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-4
32f654
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
32f654
32f654
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-3
32f654
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
32f654
32f654
* Mon Mar 31 2014 Dominic Cleal <dcleal@redhat.com> - 1.2.0-2
32f654
- Add patch for Krb5, parse braces in values (RHBZ#1079444)
32f654
32f654
* Wed Feb 12 2014 Dominic Cleal <dcleal@redhat.com> - 1.2.0-1
32f654
- Update to 1.2.0, add check section
32f654
- Update source URL to download.augeas.net (RHBZ#996032)
32f654
32f654
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2
32f654
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
32f654
32f654
* Wed Jun 19 2013 David Lutterkort <lutter@redhat.com> - 1.1.0-1
32f654
- Update to 1.1.0; remove all patches
32f654
32f654
* Tue Jun 18 2013 Richard W.M. Jones <rjones@redhat.com> - 1.0.0-4
32f654
- Fix /etc/sysconfig/network (RHBZ#904222).
32f654
32f654
* Wed Jun  5 2013 Richard W.M. Jones <rjones@redhat.com> - 1.0.0-3
32f654
- Don't package lenses in tests/ subdirectory.
32f654
32f654
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
32f654
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
32f654
32f654
* Fri Jan  4 2013 David Lutterkort <lutter@redhat.com> - 1.0.0-1
32f654
- New version; remove all patches
32f654
32f654
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-4
32f654
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
32f654
32f654
* Tue Jan 10 2012 David Lutterkort <lutter@redhat.com> - 0.10.0-3
32f654
- Add patches for bugs 247 and 248 (JSON lens)
32f654
32f654
* Sat Dec  3 2011 Richard W.M. Jones <rjones@redhat.com> - 0.10.0-2
32f654
- Add patch to resolve missing libxml2 requirement in augeas.pc.
32f654
32f654
* Fri Dec  2 2011 David Lutterkort <lutter@redhat.com> - 0.10.0-1
32f654
- New version
32f654
32f654
* Mon Jul 25 2011 David Lutterkort <lutter@redhat.com> - 0.9.0-1
32f654
- New version; removed patch pathx-whitespace-ea010d8
32f654
32f654
* Tue May  3 2011 David Lutterkort <lutter@redhat.com> - 0.8.1-2
32f654
- Add patch pathx-whitespace-ea010d8.patch to fix BZ 700608
32f654
32f654
* Fri Apr 15 2011 David Lutterkort <lutter@redhat.com> - 0.8.1-1
32f654
- New version
32f654
32f654
* Wed Feb 23 2011 David Lutterkort <lutter@redhat.com> - 0.8.0-1
32f654
- New version
32f654
32f654
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.4-2
32f654
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
32f654
32f654
* Mon Nov 22 2010 Matthew Booth <mbooth@redhat.com> - 0.7.4-1
32f654
- Update to version 0.7.4
32f654
32f654
* Thu Nov 18 2010 Richard W.M. Jones <rjones@redhat.com> - 0.7.3-2
32f654
- Upstream patch proposed to fix GCC optimization bug (RHBZ#651992).
32f654
32f654
* Fri Aug  6 2010 David Lutterkort <lutter@redhat.com> - 0.7.3-1
32f654
- Remove upstream patches
32f654
32f654
* Tue Jun 29 2010 David Lutterkort <lutter@redhat.com> - 0.7.2-2
32f654
- Patches based on upstream fix for BZ 600141
32f654
32f654
* Tue Jun 22 2010 David Lutterkort <lutter@redhat.com> - 0.7.2-1
32f654
- Fix ownership of /usr/share/augeas. BZ 569393
32f654
32f654
* Wed Apr 21 2010 David Lutterkort <lutter@redhat.com> - 0.7.1-1
32f654
- New version
32f654
32f654
* Thu Jan 14 2010 David Lutterkort <lutter@redhat.com> - 0.7.0-1
32f654
- Remove patch vim-ftdetect-syntax.patch. It's upstream
32f654
32f654
* Tue Dec 15 2009 David Lutterkort <lutter@redhat.com> - 0.6.0-2
32f654
- Fix ftdetect file for vim
32f654
32f654
* Mon Nov 30 2009 David Lutterkort <lutter@redhat.com> - 0.6.0-1
32f654
- Install vim syntax files
32f654
32f654
* Mon Sep 14 2009 David Lutterkort <lutter@redhat.com> - 0.5.3-1
32f654
- Remove separate xorg.aug, included in upstream source
32f654
32f654
* Tue Aug 25 2009 Matthew Booth <mbooth@redhat.com> - 0.5.2-3
32f654
- Include new xorg lens from upstream
32f654
32f654
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-2
32f654
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
32f654
32f654
* Mon Jul 13 2009 David Lutterkort <lutter@redhat.com> - 0.5.2-1
32f654
- New version
32f654
32f654
* Fri Jun  5 2009 David Lutterkort <lutter@redhat.com> - 0.5.1-1
32f654
- Install fadot
32f654
32f654
* Fri Mar 27 2009 David Lutterkort <lutter@redhat.com> - 0.5.0-2
32f654
- fadot isn't being installed just yet
32f654
32f654
* Tue Mar 24 2009 David Lutterkort <lutter@redhat.com> - 0.5.0-1
32f654
- New program /usr/bin/fadot
32f654
32f654
* Mon Mar  9 2009 David Lutterkort <lutter@redhat.com> - 0.4.2-1
32f654
- New version
32f654
32f654
* Fri Feb 27 2009 David Lutterkort <lutter@redhat.com> - 0.4.1-1
32f654
- New version
32f654
32f654
* Fri Feb  6 2009 David Lutterkort <lutter@redhat.com> - 0.4.0-1
32f654
- New version
32f654
32f654
* Mon Jan 26 2009 David Lutterkort <lutter@redhat.com> - 0.3.6-1
32f654
- New version
32f654
32f654
* Tue Dec 23 2008 David Lutterkort <lutter@redhat.com> - 0.3.5-1
32f654
- New version
32f654
32f654
* Mon Feb 25 2008 David Lutterkort <dlutter@redhat.com> - 0.0.4-1
32f654
- Initial specfile