]> git.pld-linux.org Git - packages/perl-TextStructured.git/blob - perl-TextStructured.spec
20d84a3c4ca532258d7b15dc83f7d406ea0903c1
[packages/perl-TextStructured.git] / perl-TextStructured.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 Summary:        TextStructured perl module
7 Summary(pl.UTF-8):      Moduł Perla TextStructured
8 Name:           perl-TextStructured
9 Version:        0.02
10 Release:        10
11 # same as perl
12 License:        GPL v1+ or Artistic
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/Text/TextStructured-%{version}.tar.gz
15 # Source0-md5:  dd7937a44d09b0206f942e6dc4b57e20
16 Patch0:         %{name}-paths.patch
17 BuildRequires:  rpm-perlprov >= 4.1-13
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 TextStructured perl module.
24
25 %description -l pl.UTF-8
26 Moduł Perla TextStructured.
27
28 %prep
29 %setup -q -n TextStructured-%{version}
30 %patch0 -p0
31
32 %build
33 %{__perl} Makefile.PL \
34         INSTALLDIRS=vendor
35 %{__make}
36
37 %{?with_tests:%{__make} test}
38
39 %install
40 rm -rf $RPM_BUILD_ROOT
41
42 %{__make} install \
43         DESTDIR=$RPM_BUILD_ROOT
44
45 %clean
46 rm -rf $RPM_BUILD_ROOT
47
48 %files
49 %defattr(644,root,root,755)
50 %doc README template
51 %{perl_vendorlib}/Text/Structured.pm
52 %{perl_vendorlib}/Text/StructuredBase.pm
53 %{_mandir}/man3/*
This page took 0.045754 seconds and 2 git commands to generate.