commit de64a1b9f73137ac41b9cebb09fac05f63600847
Author: Thomas Moschny <thm(a)fedoraproject.org>
Date: Fri Apr 1 11:18:43 2011 +0200
Import package.
.gitignore | 1 +
perl-Monotone-AutomateStdio.spec | 61 ++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 63 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..e4e034b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/Monotone-AutomateStdio-0.12.tar.gz
diff --git a/perl-Monotone-AutomateStdio.spec b/perl-Monotone-AutomateStdio.spec
new file mode 100644
index 0000000..6c396b9
--- /dev/null
+++ b/perl-Monotone-AutomateStdio.spec
@@ -0,0 +1,61 @@
+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-Au...
+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(a)gmx.de> - 0.12-1
+- New package.
diff --git a/sources b/sources
index e69de29..f1251ee 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+3f0984cb465867071042c156c2f5c316 Monotone-AutomateStdio-0.12.tar.gz