Name: perl-Config-Augeas Version: 0.201 Release: 1%{?dist} Summary: Edit configuration files through Augeas C library License: LGPLv2+ Group: Development/Libraries URL: http://search.cpan.org/dist/Config-Augeas/ Source0: http://www.cpan.org/modules/by-module/Config/Config-Augeas-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: perl(Module::Build) BuildRequires: perl(Test::More) BuildRequires: pkgconfig augeas-devel Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) %description Augeas is a library and command line tool that focuses on the most basic problem in handling Linux configurations programmatically: editing actual configuration files in a controlled manner. %prep %setup -q -n Config-Augeas-%{version} %build %{__perl} Build.PL installdirs=vendor optimize="$RPM_OPT_FLAGS" ./Build %install rm -rf $RPM_BUILD_ROOT ./Build install destdir=$RPM_BUILD_ROOT create_packlist=0 find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \; find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \; %{_fixperms} $RPM_BUILD_ROOT/* %check ./Build test %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) %doc ChangeLog README %{perl_vendorarch}/auto/* %{perl_vendorarch}/Config* %{_mandir}/man3/* %changelog * Wed Jul 02 2008 Alan Pevec 0.201-1 - new upstream release 0.201 * Mon Jun 30 2008 Alan Pevec 0.200-1 - Specfile autogenerated by cpanspec 1.77. - temporary patch to remove /usr/local references