]> git.pld-linux.org Git - packages/perl-Text-MacroScript.git/blame - perl-Text-MacroScript.spec
use generic url
[packages/perl-Text-MacroScript.git] / perl-Text-MacroScript.spec
CommitLineData
9473840d 1#
2# Conditional build:
3%bcond_without tests # do not perform "make test"
33075453 4
687a4dcf 5%define pdir Text
6%define pnam MacroScript
33075453 7%include /usr/lib/rpm/macros.perl
be08c644 8Summary: Text::MacroScript - a macro pre-processor with embedded perl capability
eb8e62e9 9Summary(pl.UTF-8): Text::MacroScript - preprocesor makr z możliwością wbudowywania Perla
d528ca24 10Name: perl-Text-MacroScript
30d25409 11Version: 1.40
12Release: 1
9473840d 13License: LGPL
d528ca24 14Group: Development/Languages/Perl
c68575c0 15Source0: http://www.cpan.org/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
30d25409 16# Source0-md5: d4959e2c7d1bb43dda0d0a18d8e71fc3
33075453 17URL: http://search.cpan.org/dist/Text-MacroScript/
f96b95e0 18BuildRequires: perl-devel >= 1:5.8.0
d3370b64 19BuildRequires: rpm-perlprov >= 4.1-13
8a9064bb 20BuildArch: noarch
9e6755c2 21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
d528ca24 22
23%description
1aa681cf 24Define macros, scripts and variables in macro files or directly in
25text files.
d528ca24 26
fe13ed98
JR
27%description -l pl.UTF-8
28Moduł ten pozwala na definiowanie makr, skryptów i zmiennych w plikach
29makr lub bezpośrednio w plikach tekstowych.
3f853f8e 30
d528ca24 31%prep
55dbecff 32%setup -q -n %{pdir}-%{pnam}-%{version}
d528ca24 33
34%build
d3370b64 35%{__perl} Makefile.PL \
7ec35ff0 36 INSTALLDIRS=vendor
d3b3ee0a 37%{__make}
d528ca24 38
9473840d 39%{?with_tests:%{__make} test}
40
d528ca24 41%install
42rm -rf $RPM_BUILD_ROOT
d528ca24 43
9473840d 44%{__make} install \
45 DESTDIR=$RPM_BUILD_ROOT
d528ca24 46
d528ca24 47%clean
48rm -rf $RPM_BUILD_ROOT
49
50%files
51%defattr(644,root,root,755)
30d25409 52%doc README macro
d3370b64 53%{perl_vendorlib}/Text/MacroScript.pm
d528ca24 54%{_mandir}/man3/*
This page took 0.08086 seconds and 4 git commands to generate.