2008-05-05 16:55:23 +00:00
|
|
|
Name: augeas
|
2016-11-09 08:44:47 +00:00
|
|
|
Version: 1.7.0
|
2016-05-12 07:16:01 +00:00
|
|
|
Release: 1%{?dist}
|
2008-05-05 16:55:23 +00:00
|
|
|
Summary: A library for changing configuration files
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: LGPLv2+
|
|
|
|
URL: http://augeas.net/
|
2014-02-12 11:03:40 +00:00
|
|
|
Source0: http://download.augeas.net/%{name}-%{version}.tar.gz
|
2010-11-22 09:34:28 +00:00
|
|
|
|
2008-05-05 16:55:23 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
2011-12-02 23:04:57 +00:00
|
|
|
BuildRequires: readline-devel libselinux-devel libxml2-devel
|
2008-05-05 16:55:23 +00:00
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
|
|
|
|
%description
|
|
|
|
A library for programmatically editing configuration files. Augeas parses
|
|
|
|
configuration files into a tree structure, which it exposes through its
|
|
|
|
public API. Changes made through the API are written back to the initially
|
|
|
|
read files.
|
|
|
|
|
|
|
|
The transformation works very hard to preserve comments and formatting
|
|
|
|
details. It is controlled by ``lens'' definitions that describe the file
|
|
|
|
format and the transformation into a tree.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Development files for %{name}
|
|
|
|
Group: Development/Libraries
|
2008-05-16 19:10:26 +00:00
|
|
|
Requires: %{name}-libs = %{version}-%{release}
|
|
|
|
Requires: pkgconfig
|
2008-05-05 16:55:23 +00:00
|
|
|
|
|
|
|
%description devel
|
|
|
|
The %{name}-devel package contains libraries and header files for
|
|
|
|
developing applications that use %{name}.
|
|
|
|
|
|
|
|
|
|
|
|
%package libs
|
|
|
|
Summary: Libraries for %{name}
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
|
|
|
|
%description libs
|
|
|
|
The libraries for %{name}.
|
|
|
|
|
2014-03-13 10:56:20 +00:00
|
|
|
Augeas is a library for programmatically editing configuration files. It parses
|
|
|
|
configuration files into a tree structure, which it exposes through its
|
|
|
|
public API. Changes made through the API are written back to the initially
|
|
|
|
read files.
|
2008-05-05 16:55:23 +00:00
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
2014-02-12 11:03:40 +00:00
|
|
|
%check
|
|
|
|
# Disable test-preserve.sh SELinux testing. This fails when run under mock due
|
|
|
|
# to differing SELinux labelling.
|
|
|
|
export SKIP_TEST_PRESERVE_SELINUX=1
|
|
|
|
|
|
|
|
make %{?_smp_mflags} check || {
|
|
|
|
echo '===== tests/test-suite.log ====='
|
|
|
|
cat tests/test-suite.log
|
|
|
|
exit 1
|
|
|
|
}
|
|
|
|
|
2008-05-05 16:55:23 +00:00
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p"
|
|
|
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
|
|
2013-06-05 12:28:47 +00:00
|
|
|
# The tests/ subdirectory contains lenses used only for testing, and
|
|
|
|
# so it shouldn't be packaged.
|
|
|
|
rm -r $RPM_BUILD_ROOT%{_datadir}/augeas/lenses/dist/tests
|
|
|
|
|
2008-05-05 16:55:23 +00:00
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/augtool
|
|
|
|
%{_bindir}/augparse
|
2009-06-09 23:37:11 +00:00
|
|
|
%{_bindir}/fadot
|
2008-05-05 16:55:23 +00:00
|
|
|
%doc %{_mandir}/man1/*
|
2009-11-30 17:36:09 +00:00
|
|
|
%{_datadir}/vim/vimfiles/syntax/augeas.vim
|
|
|
|
%{_datadir}/vim/vimfiles/ftdetect/augeas.vim
|
2008-05-05 16:55:23 +00:00
|
|
|
|
|
|
|
%files libs
|
2008-05-16 19:10:26 +00:00
|
|
|
%defattr(-,root,root,-)
|
2016-08-08 12:34:05 +00:00
|
|
|
# _datadir/augeas and _datadir/augeas/lenses are owned
|
2010-06-22 21:45:36 +00:00
|
|
|
# by filesystem.
|
|
|
|
%{_datadir}/augeas/lenses/dist
|
2008-05-05 16:55:23 +00:00
|
|
|
%{_libdir}/*.so.*
|
|
|
|
%doc AUTHORS COPYING NEWS
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/augeas.pc
|
|
|
|
|
|
|
|
%changelog
|
2016-11-09 08:44:47 +00:00
|
|
|
* Wed Nov 09 2016 Dominic Cleal <dominic@cleal.org> - 1.7.0-1
|
|
|
|
- Update to 1.7.0
|
|
|
|
|
2016-08-08 12:34:05 +00:00
|
|
|
* Mon Aug 08 2016 Dominic Cleal <dominic@cleal.org> - 1.6.0-1
|
|
|
|
- Update to 1.6.0
|
|
|
|
|
2016-05-12 07:16:01 +00:00
|
|
|
* Thu May 12 2016 Dominic Cleal <dominic@cleal.org> - 1.5.0-1
|
|
|
|
- Update to 1.5.0
|
|
|
|
|
2016-02-03 16:42:44 +00:00
|
|
|
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.4.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
|
|
|
|
|
2015-06-17 01:20:37 +00:00
|
|
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.4.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
|
|
|
|
2015-06-02 07:56:12 +00:00
|
|
|
* Tue Jun 02 2015 Dominic Cleal <dcleal@redhat.com> - 1.4.0-1
|
|
|
|
- Update to 1.4.0
|
|
|
|
|
2014-11-08 09:36:49 +00:00
|
|
|
* Sat Nov 08 2014 Dominic Cleal <dcleal@redhat.com> - 1.3.0-1
|
|
|
|
- Update to 1.3.0; remove all patches
|
|
|
|
|
2014-08-15 21:50:39 +00:00
|
|
|
* Fri Aug 15 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
|
|
|
|
|
2014-06-07 02:07:48 +00:00
|
|
|
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-3
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
|
|
2014-03-31 07:36:43 +00:00
|
|
|
* Mon Mar 31 2014 Dominic Cleal <dcleal@redhat.com> - 1.2.0-2
|
|
|
|
- Add patch for Krb5, parse braces in values (RHBZ#1079444)
|
|
|
|
|
2014-02-12 11:03:40 +00:00
|
|
|
* Wed Feb 12 2014 Dominic Cleal <dcleal@redhat.com> - 1.2.0-1
|
|
|
|
- Update to 1.2.0, add check section
|
|
|
|
- Update source URL to download.augeas.net (RHBZ#996032)
|
|
|
|
|
2013-08-03 02:36:42 +00:00
|
|
|
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
|
|
|
|
|
2013-06-19 08:44:36 +00:00
|
|
|
* Wed Jun 19 2013 David Lutterkort <lutter@redhat.com> - 1.1.0-1
|
|
|
|
- Update to 1.1.0; remove all patches
|
|
|
|
|
2013-06-18 14:48:05 +00:00
|
|
|
* Tue Jun 18 2013 Richard W.M. Jones <rjones@redhat.com> - 1.0.0-4
|
|
|
|
- Fix /etc/sysconfig/network (RHBZ#904222).
|
|
|
|
|
2013-06-05 12:28:47 +00:00
|
|
|
* Wed Jun 5 2013 Richard W.M. Jones <rjones@redhat.com> - 1.0.0-3
|
|
|
|
- Don't package lenses in tests/ subdirectory.
|
|
|
|
|
2013-02-13 17:22:39 +00:00
|
|
|
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.0.0-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
|
|
|
|
|
2013-01-04 20:42:13 +00:00
|
|
|
* Fri Jan 4 2013 David Lutterkort <lutter@redhat.com> - 1.0.0-1
|
|
|
|
- New version; remove all patches
|
|
|
|
|
2012-07-18 17:10:49 +00:00
|
|
|
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.10.0-4
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
|
|
|
|
2012-01-10 00:53:50 +00:00
|
|
|
* Tue Jan 10 2012 David Lutterkort <lutter@redhat.com> - 0.10.0-3
|
|
|
|
- Add patches for bugs 247 and 248 (JSON lens)
|
|
|
|
|
2011-12-03 14:25:37 +00:00
|
|
|
* Sat Dec 3 2011 Richard W.M. Jones <rjones@redhat.com> - 0.10.0-2
|
|
|
|
- Add patch to resolve missing libxml2 requirement in augeas.pc.
|
|
|
|
|
2011-12-02 23:04:57 +00:00
|
|
|
* Fri Dec 2 2011 David Lutterkort <lutter@redhat.com> - 0.10.0-1
|
|
|
|
- New version
|
|
|
|
|
2011-07-26 18:09:06 +00:00
|
|
|
* Mon Jul 25 2011 David Lutterkort <lutter@redhat.com> - 0.9.0-1
|
|
|
|
- New version; removed patch pathx-whitespace-ea010d8
|
|
|
|
|
2011-05-03 22:55:05 +00:00
|
|
|
* Tue May 3 2011 David Lutterkort <lutter@redhat.com> - 0.8.1-2
|
|
|
|
- Add patch pathx-whitespace-ea010d8.patch to fix BZ 700608
|
|
|
|
|
2011-04-16 00:07:57 +00:00
|
|
|
* Fri Apr 15 2011 David Lutterkort <lutter@redhat.com> - 0.8.1-1
|
|
|
|
- New version
|
|
|
|
|
2011-02-24 01:20:43 +00:00
|
|
|
* Wed Feb 23 2011 David Lutterkort <lutter@redhat.com> - 0.8.0-1
|
|
|
|
- New version
|
|
|
|
|
2011-02-08 03:32:15 +00:00
|
|
|
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.7.4-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
|
|
|
|
|
2010-11-22 09:34:28 +00:00
|
|
|
* Mon Nov 22 2010 Matthew Booth <mbooth@redhat.com> - 0.7.4-1
|
|
|
|
- Update to version 0.7.4
|
|
|
|
|
2010-11-18 10:32:58 +00:00
|
|
|
* Thu Nov 18 2010 Richard W.M. Jones <rjones@redhat.com> - 0.7.3-2
|
|
|
|
- Upstream patch proposed to fix GCC optimization bug (RHBZ#651992).
|
|
|
|
|
2010-08-07 00:23:26 +00:00
|
|
|
* Fri Aug 6 2010 David Lutterkort <lutter@redhat.com> - 0.7.3-1
|
|
|
|
- Remove upstream patches
|
|
|
|
|
2010-06-30 01:31:11 +00:00
|
|
|
* Tue Jun 29 2010 David Lutterkort <lutter@redhat.com> - 0.7.2-2
|
|
|
|
- Patches based on upstream fix for BZ 600141
|
|
|
|
|
2010-06-22 21:45:36 +00:00
|
|
|
* Tue Jun 22 2010 David Lutterkort <lutter@redhat.com> - 0.7.2-1
|
|
|
|
- Fix ownership of /usr/share/augeas. BZ 569393
|
|
|
|
|
2010-04-21 21:35:05 +00:00
|
|
|
* Wed Apr 21 2010 David Lutterkort <lutter@redhat.com> - 0.7.1-1
|
|
|
|
- New version
|
|
|
|
|
2010-01-15 03:25:21 +00:00
|
|
|
* Thu Jan 14 2010 David Lutterkort <lutter@redhat.com> - 0.7.0-1
|
|
|
|
- Remove patch vim-ftdetect-syntax.patch. It's upstream
|
|
|
|
|
2009-12-16 02:05:02 +00:00
|
|
|
* Tue Dec 15 2009 David Lutterkort <lutter@redhat.com> - 0.6.0-2
|
|
|
|
- Fix ftdetect file for vim
|
|
|
|
|
2009-11-30 17:36:09 +00:00
|
|
|
* Mon Nov 30 2009 David Lutterkort <lutter@redhat.com> - 0.6.0-1
|
|
|
|
- Install vim syntax files
|
|
|
|
|
2009-09-14 22:16:43 +00:00
|
|
|
* Mon Sep 14 2009 David Lutterkort <lutter@redhat.com> - 0.5.3-1
|
|
|
|
- Remove separate xorg.aug, included in upstream source
|
|
|
|
|
2009-08-26 16:20:30 +00:00
|
|
|
* Tue Aug 25 2009 Matthew Booth <mbooth@redhat.com> - 0.5.2-3
|
|
|
|
- Include new xorg lens from upstream
|
|
|
|
|
2009-07-24 17:34:01 +00:00
|
|
|
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.5.2-2
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
|
|
|
|
2009-07-14 02:53:43 +00:00
|
|
|
* Mon Jul 13 2009 David Lutterkort <lutter@redhat.com> - 0.5.2-1
|
|
|
|
- New version
|
|
|
|
|
2009-06-09 23:37:11 +00:00
|
|
|
* Fri Jun 5 2009 David Lutterkort <lutter@redhat.com> - 0.5.1-1
|
|
|
|
- Install fadot
|
|
|
|
|
2009-03-28 01:44:32 +00:00
|
|
|
* Fri Mar 27 2009 David Lutterkort <lutter@redhat.com> - 0.5.0-2
|
|
|
|
- fadot isn't being installed just yet
|
|
|
|
|
2009-03-28 01:27:08 +00:00
|
|
|
* Tue Mar 24 2009 David Lutterkort <lutter@redhat.com> - 0.5.0-1
|
|
|
|
- New program /usr/bin/fadot
|
|
|
|
|
2009-03-09 23:40:49 +00:00
|
|
|
* Mon Mar 9 2009 David Lutterkort <lutter@redhat.com> - 0.4.2-1
|
|
|
|
- New version
|
|
|
|
|
2009-03-03 00:17:40 +00:00
|
|
|
* Fri Feb 27 2009 David Lutterkort <lutter@redhat.com> - 0.4.1-1
|
|
|
|
- New version
|
2009-02-24 03:13:06 +00:00
|
|
|
|
2009-02-07 06:14:46 +00:00
|
|
|
* Fri Feb 6 2009 David Lutterkort <lutter@redhat.com> - 0.4.0-1
|
|
|
|
- New version
|
|
|
|
|
2009-01-27 00:42:10 +00:00
|
|
|
* Mon Jan 26 2009 David Lutterkort <lutter@redhat.com> - 0.3.6-1
|
|
|
|
- New version
|
|
|
|
|
2008-12-24 06:24:02 +00:00
|
|
|
* Tue Dec 23 2008 David Lutterkort <lutter@redhat.com> - 0.3.5-1
|
|
|
|
- New version
|
|
|
|
|
2008-05-05 16:55:23 +00:00
|
|
|
* Mon Feb 25 2008 David Lutterkort <dlutter@redhat.com> - 0.0.4-1
|
|
|
|
- Initial specfile
|