From b6ad04810e7deacb91cead0b14869a2ac509b026 Mon Sep 17 00:00:00 2001 From: David Lutterkort Date: May 05 2008 16:55:23 +0000 Subject: Initial commit --- diff --git a/.cvsignore b/.cvsignore index e69de29..0ad9f4e 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +augeas-0.1.0.tar.gz diff --git a/augeas.spec b/augeas.spec new file mode 100644 index 0000000..e3c2e9b --- /dev/null +++ b/augeas.spec @@ -0,0 +1,86 @@ +Name: augeas +Version: 0.1.0 +Release: 1%{?dist} +Summary: A library for changing configuration files + +Group: System Environment/Libraries +License: LGPLv2+ +URL: http://augeas.net/ +Source0: http://augeas.net/download/augeas-0.1.0.tar.gz +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: readline-devel +Requires: readline +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 +Requires: %{name} = %{version}-%{release} + +%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 +%{_datadir}/augeas +%{_libdir}/*.so.* +%doc AUTHORS COPYING NEWS + +%files devel +%defattr(-,root,root,-) +%doc +%{_includedir}/* +%{_libdir}/*.so +%{_libdir}/pkgconfig/augeas.pc + +%changelog +* Thu May 1 2008 David Lutterkort - 0.1.0-1 +- New version + +* Mon Feb 25 2008 David Lutterkort - 0.0.4-1 +- Initial specfile diff --git a/sources b/sources index e69de29..abea645 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +247c62f954f4231e564b0bb038089730 augeas-0.1.0.tar.gz