]> git.pld-linux.org Git - packages/perl-Text-EP3.git/blame - perl-Text-EP3.spec
- drop obsolete and outdated manual inclusion of rpm macros
[packages/perl-Text-EP3.git] / perl-Text-EP3.spec
CommitLineData
e9bfccb3 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
bb6a453e 4
1d57e4b9 5%define pdir Text
6%define pnam EP3
42bb85f9 7Summary: Text::EP3 - the extensible Perl preprocessor
02978bd7 8Summary(pl.UTF-8): Text::EP3 - rozszerzalny preprocesor dla Perla
54b4de65 9Name: perl-Text-EP3
71564cb0 10Version: 1.10
11Release: 1
e9bfccb3 12License: unknown
54b4de65 13Group: Development/Languages/Perl
2d0c720e 14Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
71564cb0 15# Source0-md5: 2081ba6bf87e59bdfc937b8a17d0f3d9
bb6a453e 16URL: http://search.cpan.org/dist/Text-EP3/
7eea4b97 17BuildRequires: perl-devel >= 1:5.8.0
48a2f5e5 18BuildRequires: rpm-perlprov >= 4.1-13
283d203b 19BuildArch: noarch
89ad9ac5 20BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
54b4de65 21
22%description
42bb85f9 23Text::EP3 is a Perl program that preprocesses STDIN or some set of
bb6a453e
ER
24input files and produces an output file. EP3 only works on input files
25and produces output files. The main difference between EP3 and other
26preprocessors is its built-in extensibility. Every directive in EP3 is
27really a method defined in EP3, one of its submodules, or embedded in
28the file that is being processed. By linking the directive name to the
29associated methods, other methods could be added, thus extending the
30preprocessor.
54b4de65 31
0cbf6176
JR
32%description -l pl.UTF-8
33Text::EP3 jest programem w Perlu, który przetwarza STDIN lub pewien
34zbiów plików wejściowych, tworząc plik wyjściowy. Działa on jedynie na
35plikach wejściowych, tworząc pliki wyjściowe. Główną różnicą pomiędzy
36EP3 i innymi preprocesorami jest wbudowana rozszerzalność. Każda
37dyrektywa EP3 jest w rzeczywistości metodą zdefiniowaną w EP3, jednym
38z jego podmodułów lub w przetwarzanym pliku. Powiązanie nazwy
39dyrektywy ze stowarzyszoną metodą umożliwia dodawanie innych metod, co
42bb85f9 40jest rozszerzaniem preprocesora.
54b4de65 41
42%prep
4e77ff6f 43%setup -q -n %{pdir}-%{pnam}-%{version}
54b4de65 44
45%build
48a2f5e5 46%{__perl} Makefile.PL \
dcb8d630 47 INSTALLDIRS=vendor
05e8a223 48%{__make}
54b4de65 49
e9bfccb3 50%{?with_tests:%{__make} test}
51
54b4de65 52%install
53rm -rf $RPM_BUILD_ROOT
54b4de65 54
e9bfccb3 55%{__make} install \
56 DESTDIR=$RPM_BUILD_ROOT
54b4de65 57
54b4de65 58%clean
59rm -rf $RPM_BUILD_ROOT
60
61%files
62%defattr(644,root,root,755)
dc6df004 63%doc Changes README
54b4de65 64%attr(755,root,root) %{_bindir}/ep3
48a2f5e5 65%{perl_vendorlib}/Text/EP3.pm
66%{perl_vendorlib}/auto/Text/EP3
54b4de65 67%{_mandir}/man3/*
This page took 0.069063 seconds and 4 git commands to generate.