2008-05-05 16:55:23 +00:00
|
|
|
Name: augeas
|
2008-07-01 19:53:53 +00:00
|
|
|
Version: 0.2.1
|
2008-05-05 16:55:23 +00:00
|
|
|
Release: 1%{?dist}
|
|
|
|
Summary: A library for changing configuration files
|
|
|
|
|
|
|
|
Group: System Environment/Libraries
|
|
|
|
License: LGPLv2+
|
|
|
|
URL: http://augeas.net/
|
2008-07-01 19:53:53 +00:00
|
|
|
Source0: http://augeas.net/download/augeas-0.2.1.tar.gz
|
2008-05-05 16:55:23 +00:00
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
|
|
|
|
|
BuildRequires: readline-devel
|
|
|
|
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}.
|
|
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
%setup -q
|
|
|
|
|
|
|
|
%build
|
|
|
|
%configure --disable-static
|
|
|
|
make %{?_smp_mflags}
|
|
|
|
|
|
|
|
%install
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p"
|
|
|
|
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
|
|
|
|
|
|
|
|
%clean
|
|
|
|
rm -rf $RPM_BUILD_ROOT
|
|
|
|
|
|
|
|
%post libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%postun libs -p /sbin/ldconfig
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%{_bindir}/augtool
|
|
|
|
%{_bindir}/augparse
|
|
|
|
%doc %{_mandir}/man1/*
|
|
|
|
|
|
|
|
%files libs
|
2008-05-16 19:10:26 +00:00
|
|
|
%defattr(-,root,root,-)
|
2008-05-05 16:55:23 +00:00
|
|
|
%{_datadir}/augeas
|
|
|
|
%{_libdir}/*.so.*
|
|
|
|
%doc AUTHORS COPYING NEWS
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root,-)
|
|
|
|
%doc
|
|
|
|
%{_includedir}/*
|
|
|
|
%{_libdir}/*.so
|
|
|
|
%{_libdir}/pkgconfig/augeas.pc
|
|
|
|
|
|
|
|
%changelog
|
2008-07-01 19:53:53 +00:00
|
|
|
* Tue Jul 1 2008 David Lutterkort <dlutter@redhat.com> - 0.2.1-1
|
|
|
|
- New version
|
|
|
|
|
2008-06-05 22:26:04 +00:00
|
|
|
* Thu Jun 5 2008 David Lutterkort <dlutter@redhat.com> - 0.2.0-1
|
|
|
|
- New version
|
|
|
|
|
2008-05-16 19:10:26 +00:00
|
|
|
* Fri May 16 2008 David Lutterkort <dlutter@redhat.com> - 0.1.1-1
|
|
|
|
- New version
|
|
|
|
|
|
|
|
* Fri May 2 2008 David Lutterkort <dlutter@redhat.com> - 0.1.0-2
|
|
|
|
- Fixes according to Fedora review
|
|
|
|
|
2008-05-05 16:55:23 +00:00
|
|
|
* Thu May 1 2008 David Lutterkort <dlutter@redhat.com> - 0.1.0-1
|
|
|
|
- New version
|
|
|
|
|
|
|
|
* Mon Feb 25 2008 David Lutterkort <dlutter@redhat.com> - 0.0.4-1
|
|
|
|
- Initial specfile
|