]> git.pld-linux.org Git - packages/perl-Regexp-Common.git/commitdiff
- new perl-Regexp-Common-0_01-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 13 Jul 2002 18:39:04 +0000 (18:39 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-Regexp-Common.spec -> 1.1

perl-Regexp-Common.spec [new file with mode: 0644]

diff --git a/perl-Regexp-Common.spec b/perl-Regexp-Common.spec
new file mode 100644 (file)
index 0000000..ea3b14f
--- /dev/null
@@ -0,0 +1,61 @@
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    Regexp
+%define        pnam    Common
+Summary:       Regexp::Common perl module - commonly requested regular expressions
+Summary(pl):   Modu³ perla Regexp::Common - czêsto u¿ywane wyra¿enia regularne
+Name:          perl-Regexp-Common
+Version:       0.01
+Release:       1
+License:       Artistic
+Group:         Development/Languages/Perl
+Source0:       ftp://ftp.cpan.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+BuildRequires: perl >= 5.6
+BuildRequires: rpm-perlprov >= 3.0.3-16
+BuildArch:     noarch
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This package contains Regexp::Common module that stores or generates
+commonly needed regular expressions. Patterns currently provided
+include:
+ * balanced parentheses and brackets
+ * delimited text (with escapes)
+ * integers and floating-point numbers in any base (up to 36)
+ * comments in C, C++, Perl, and shell
+ * offensive language (English only)
+ * lists of any pattern
+ * IPv4 addresses
+                           
+%description -l pl
+Ten pakiet zawiera modu³ Regexp::Common, który zawiera lub generuje
+czêsto potrzebne wyra¿enia regularne. Aktualnie zawiera wzorce dla:
+ - zrównowa¿onych nawiasów
+ - ograniczonego tekstu (z cytowaniem)
+ - liczb ca³kowitych i zmiennoprzecinkowych o dowolnej podstawie (do
+   36)
+ - komentarzy w C, C++, Perlu i shellu
+ - s³ów obra¼liwych (w jêzyku angielskim)
+ - list o dowolnym wzorcu
+ - adresów IPv4.
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+perl Makefile.PL
+%{__make}
+
+%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 README
+%{perl_sitelib}/Regexp/Common.pm
+%{_mandir}/man3/*
This page took 0.09174 seconds and 4 git commands to generate.