[perl-File-FnMatch/f12/master] Initial import (#627223).

Colin Coe coec at fedoraproject.org
Tue Sep 7 12:34:44 UTC 2010


commit 91c2aeae35f2031b50bd0873be37b775af96aa00
Author: Colin Coe <colin.coe at gmail.com>
Date:   Tue Sep 7 20:34:43 2010 +0800

    Initial import (#627223).

 .gitignore             |    1 +
 perl-File-FnMatch.spec |   72 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 74 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..45b5f1b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/File-FnMatch-0.02.tar.gz
diff --git a/perl-File-FnMatch.spec b/perl-File-FnMatch.spec
new file mode 100644
index 0000000..ab39bad
--- /dev/null
+++ b/perl-File-FnMatch.spec
@@ -0,0 +1,72 @@
+%global shortname File-FnMatch
+
+Name:           perl-%{shortname}
+Version:        0.02
+Release:        6%{?dist}
+Summary:        Simple file-name and pathname matching
+License:        GPL+ or Artistic
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/%{shortname}/
+Source0:        http://www.cpan.org/modules/by-module/File/%{shortname}-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires:  perl(ExtUtils::MakeMaker)
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+%{?filter_setup:
+%filter_from_provides /FnMatch.so/d
+%?perl_default_filter
+}
+
+
+%description
+This module provides simple, shell-like pattern matching.
+
+%prep
+%setup -q -n %{shortname}-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
+make %{?_smp_mflags}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
+
+find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
+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
+make test
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc Changes README
+%{perl_vendorarch}/auto/*
+%{perl_vendorarch}/File*
+%{_mandir}/man3/*
+
+%changelog
+* Sat Sep 4 2010 Colin Coe <colin.coe at gmail.com> 0.02-6
+- Fix 'private-shared-object-provides', take 3
+
+* Fri Sep 3 2010 Colin Coe <colin.coe at gmail.com> 0.02-5
+- Fix 'private-shared-object-provides', take 2
+
+* Thu Sep 2 2010 Colin Coe <colin.coe at gmail.com> 0.02-4
+- Bump for sanity
+
+* Thu Sep 2 2010 Colin Coe <colin.coe at gmail.com> 0.02-3
+- Fix 'private-shared-object-provides'
+- Introduce shortname macro
+
+* Thu Aug 26 2010 Colin Coe <colin.coe at gmail.com> 0.02-2
+- Silence rpmlint warning
+
+* Wed Aug 25 2010 Colin Coe <colin.coe at gmail.com> 0.02-1
+- Specfile autogenerated by cpanspec 1.77.
diff --git a/sources b/sources
index e69de29..30e31ec 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+22f77c20d0fb5af01a3165e2df2fe34c  File-FnMatch-0.02.tar.gz


More information about the scm-commits mailing list