]> git.pld-linux.org Git - packages/perl-Text-Glob.git/commitdiff
- new, STBR perl-Text-Glob-0_05-1
authorankry <ankry@pld-linux.org>
Sun, 6 Oct 2002 00:41:59 +0000 (00:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Text-Glob.spec -> 1.1

perl-Text-Glob.spec [new file with mode: 0644]

diff --git a/perl-Text-Glob.spec b/perl-Text-Glob.spec
new file mode 100644 (file)
index 0000000..dc72aea
--- /dev/null
@@ -0,0 +1,52 @@
+#
+# Conditional build:
+# _without_tests - do not perform "make test"
+#
+%include       /usr/lib/rpm/macros.perl
+%define                pdir    Text
+%define                pnam    Glob
+Summary:       Text::Glob perl module - match globbing patterns against text
+Summary(pl):   Modu³ perla Text::Glob - dopasowywanie tekstu do wzorców
+Name:          perl-Text-Glob
+Version:       0.05
+Release:       1
+License:       GPL or Artistic
+Group:         Development/Languages/Perl
+Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+BuildRequires: rpm-perlprov >= 3.0.3-16
+%if %{?_without_tests:0}%{!?_without_tests:1}
+BuildRequires: perl-Test-Simple
+%endif
+BuildRequires: perl >= 5.6
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Text::Glob implements glob(3) style matching that can be used to match
+against text, rather than fetching names from a filesystem. If you
+want to do full file globbing use the File::Glob module instead.
+
+%description -l pl
+# TODO
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+perl Makefile.PL
+%{__make}
+%{!?_without_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes
+%{perl_sitelib}/Text/*.pm
+%{_mandir}/man3/*
This page took 0.111295 seconds and 4 git commands to generate.