SPECS: perl-Text-Tokenizer.spec (NEW) - initital
undefine
undefine at pld-linux.org
Sat Dec 10 02:05:38 CET 2005
Author: undefine Date: Sat Dec 10 01:05:38 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- initital
---- Files affected:
SPECS:
perl-Text-Tokenizer.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/perl-Text-Tokenizer.spec
diff -u /dev/null SPECS/perl-Text-Tokenizer.spec:1.1
--- /dev/null Sat Dec 10 02:05:38 2005
+++ SPECS/perl-Text-Tokenizer.spec Sat Dec 10 02:05:33 2005
@@ -0,0 +1,69 @@
+# $Revision$, $Date$
+#
+# Conditional build:
+%bcond_without tests # do not perform "make test"
+#
+%include /usr/lib/rpm/macros.perl
+%define pdir Text
+%define pnam Tokenizer
+Summary: Text::Tokenizer - Perl extension for tokenizing text(config) files
+Summary(pl): Text::Tokenizer - rozszerzenie perla do rozkładania plików tekstowych
+Name: perl-Text-Tokenizer
+Version: 0.2.6
+Release: 0.1
+# same as perl
+License: GPL v1+ or Artistic
+Group: Development/Languages/Perl
+Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+# Source0-md5: 0c3c345511c336ada2921f99ce347942
+BuildRequires: perl-devel >= 1:5.8.0
+BuildRequires: rpm-perlprov >= 4.1-13
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Text::Tokenizer is very fast lexical analyzer, that can be used to
+process input text from file or buffer to basic tokens:
+
+%description -l pl
+Text::Tokenizer jest bardzo szybkim analizatorem leksykalnym, który
+może być użyty do przetwarzania tokenów z pliku lub bufora.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+%{__perl} Makefile.PL \
+ INSTALLDIRS=vendor
+
+%{__make} \
+ OPTIMIZE="%{rpmcflags}"
+
+%{?with_tests:%{__make} test}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} pure_install \
+ DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes README TODO
+%{perl_vendorarch}/Text/*.pm
+%dir %{perl_vendorarch}/auto/Text/Tokenizer
+%{perl_vendorarch}/auto/Text/Tokenizer/*.bs
+%attr(755,root,root) %{perl_vendorarch}/auto/Text/Tokenizer/*.so
+%{_mandir}/man3/*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2005/12/10 01:05:33 undefine
+- initital
+
================================================================
More information about the pld-cvs-commit
mailing list