[perl-IRC-Utils] Initial import (#725776)

Petr Sabata psabata at fedoraproject.org
Tue Jul 26 15:43:38 UTC 2011


commit 0608b749a9a96b56d4394b24310393171b42c5da
Author: Petr Sabata <contyk at redhat.com>
Date:   Tue Jul 26 17:43:00 2011 +0200

    Initial import (#725776)

 .gitignore          |    1 +
 perl-IRC-Utils.spec |   50 ++++++++++++++++++++++++++++++++++++++++++++++++++
 sources             |    1 +
 3 files changed, 52 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..f336038 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/IRC-Utils-0.10.tar.gz
diff --git a/perl-IRC-Utils.spec b/perl-IRC-Utils.spec
new file mode 100644
index 0000000..e80db14
--- /dev/null
+++ b/perl-IRC-Utils.spec
@@ -0,0 +1,50 @@
+Name:           perl-IRC-Utils
+Version:        0.10
+Release:        1%{?dist}
+Summary:        Common utilities for IRC-related tasks
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/IRC-Utils/
+Source0:        http://www.cpan.org/authors/id/H/HI/HINRIK/IRC-Utils-%{version}.tar.gz
+BuildArch:      noarch
+BuildRequires:  perl(base)
+BuildRequires:  perl(constant)
+BuildRequires:  perl(Encode)
+BuildRequires:  perl(Encode::Guess)
+BuildRequires:  perl(Exporter)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+# Tests
+BuildRequires:  perl(Test::More)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+# Not detected by RPM
+Requires:       perl(constant)
+
+%description
+The functions in this module take care of many of the tasks you are faced
+with when working with IRC. Mode lines, ban masks, message encoding and
+formatting, etc.
+
+%prep
+%setup -q -n IRC-Utils-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null \;
+%{_fixperms} $RPM_BUILD_ROOT/*
+
+%check
+make test
+
+%files
+%doc Changes dist.ini LICENSE META.json README
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Tue Jul 26 2011 Petr Sabata <contyk at redhat.com> 0.10-1
+- Specfile autogenerated by cpanspec 1.78.
diff --git a/sources b/sources
index e69de29..6a7f813 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+9e283b1db47333f7077f46f1e9518818  IRC-Utils-0.10.tar.gz


More information about the scm-commits mailing list