[perl-IO-Any/f14/master] New package

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



commit 717cf43ae99eff015b19baccbffe2a4050179b80
Author: Ruediger Landmann <r.landmann@xxxxxxxxxx>
Date:   Tue Mar 8 11:35:09 2011 +1000

    New package

 .gitignore       |    1 +
 perl-IO-Any.spec |   57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources          |    1 +
 3 files changed, 59 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..aad32c6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/IO-Any-0.04.tar.gz
diff --git a/perl-IO-Any.spec b/perl-IO-Any.spec
new file mode 100644
index 0000000..8029247
--- /dev/null
+++ b/perl-IO-Any.spec
@@ -0,0 +1,57 @@
+Name:           perl-IO-Any
+Version:        0.04
+Release:        2%{?dist}
+Summary:        Read or write files, folders, or strings, guessing the correct object type
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/IO-Any/
+Source0:        http://search.cpan.org/CPAN/authors/id/J/JK/JKUTEJ/IO-Any-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(File::Slurp)
+BuildRequires:  perl(IO::AtomicFile)
+BuildRequires:  perl(IO::String)
+BuildRequires:  perl(Module::Build)
+BuildRequires:  perl(Test::Differences)
+BuildRequires:  perl(Test::Exception)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(AnyEvent)
+BuildRequires:  perl(Test::Distribution)
+# BuildRequires:  perl(Test::Fixme)
+BuildRequires:  perl(Test::Pod)
+BuildRequires:  perl(Test::Pod::Coverage)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+%description
+The aim is to provide read/write anything. The module tries to guess what
+the "anything" is based on some rules. See "new" method Pod for examples
+and "new" and "_guess_what" code for the implementation.
+
+%prep
+%setup -q -n IO-Any-%{version}
+
+%build
+%{__perl} Build.PL installdirs=vendor
+./Build
+
+%install
+./Build install destdir=$RPM_BUILD_ROOT create_packlist=0
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+./Build test
+
+%files
+%defattr(-,root,root,-)
+%doc Changes README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Mon Jan 17 2011 RÃdiger Landmann <r.landmann@xxxxxxxxxx> 0.04-2
+- Correct BuildRequires to enable tests to run
+- Remove redundant explicit Requires
+
+* Mon Jan 17 2011 RÃdiger Landmann <r.landmann@xxxxxxxxxx> 0.04-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..d2da34d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+eb8d75819dc1b78febd487cb8d9dae12  IO-Any-0.04.tar.gz
--
Fedora Extras Perl SIG
http://www.fedoraproject.org/wiki/Extras/SIGs/Perl
perl-devel mailing list
perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/perl-devel



[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux