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