Sophie

Sophie

distrib > Fedora > 13 > i386 > media > updates-src > by-pkgid > 8fc19ffd5e46f9c46a1f329ec3175b89 > files > 2

perl-Monotone-AutomateStdio-0.12-1.fc13.src.rpm

Name:           perl-Monotone-AutomateStdio
Version:        0.12
Release:        1%{?dist}
Summary:        Perl interface to Monotone via automate stdio
Group:          Development/Libraries
License:        GPLv3+
URL:            http://search.cpan.org/dist/Monotone-AutomateStdio/
Source0:        http://search.cpan.org/CPAN/authors/id/A/AE/AECOOPER/monotone/Monotone-AutomateStdio-0.12.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  perl(Test::More)
Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%{?perl_default_filter}

%description
The Monotone::AutomateStdio class gives a Perl developer access to
Monotone's automate stdio facility via an easy to use interface. All
command, option and output formats are handled internally by this
class. Any structured information returned by Monotone is parsed and
returned back to the caller as lists of records for ease of access
(detailed below). One also has the option of accessing Monotone's
output as one large string should you prefer.


%prep
%setup -q -n Monotone-AutomateStdio-%{version}


%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
make %{?_smp_mflags}


%install
rm -rf %{buildroot}
make pure_install DESTDIR=%{buildroot}
find %{buildroot} -type f -name .packlist -exec rm -f {} ';'
find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null ';'
%{_fixperms} %{buildroot}/*


%check
make test


%clean
rm -rf %{buildroot}


%files
%defattr(-,root,root,-)
%doc README COPYING
%{perl_vendorlib}/*
%{_mandir}/man3/*.3*


%changelog
* Sat Mar 12 2011 Thomas Moschny <thomas.moschny@gmx.de> - 0.12-1
- New package.