]> git.pld-linux.org Git - packages/perl-Data-Locations.git/blob - perl-Data-Locations.spec
- release 9 (by relup.sh)
[packages/perl-Data-Locations.git] / perl-Data-Locations.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %include        /usr/lib/rpm/macros.perl
6 %define         pdir    Data
7 %define         pnam    Locations
8 Summary:        Data::Locations - magic insertion points in your data
9 Summary(pl.UTF-8):      Data::Locations - magiczne punkty wstawiania w danych
10 Name:           perl-Data-Locations
11 Version:        5.5
12 Release:        9
13 # same as perl
14 License:        GPL v1+ or Artistic
15 Group:          Development/Languages/Perl
16 # note: "5.2-fixed" doesn't work with perl 5.8.2, plain 5.2 does
17 Source0:        http://www.cpan.org/modules/by-module/Data/%{pdir}-%{pnam}-%{version}.tar.gz
18 # Source0-md5:  f7d24507b1ac29dbfe414a03aff7c6bc
19 URL:            http://search.cpan.org/dist/Data-Locations/
20 BuildRequires:  perl-devel >= 1:5.8.0
21 BuildRequires:  rpm-perlprov >= 4.1-13
22 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24 %description
25 Data::Locations - magic insertion points in your data.
26
27 %description -l pl.UTF-8
28 Data::Locations - magiczne punkty wstawiania w danych.
29
30 %prep
31 %setup -q -n %{pdir}-%{pnam}-%{version}
32
33 %build
34 %{__perl} Makefile.PL \
35         INSTALLDIRS=vendor
36 %{__make} \
37         CC="%{__cc}" \
38         OPTIMIZE="%{rpmcflags}"
39
40 %{?with_tests:%{__make} test}
41
42 %install
43 rm -rf $RPM_BUILD_ROOT
44
45 %{__make} install \
46         DESTDIR=$RPM_BUILD_ROOT
47
48 %clean
49 rm -rf $RPM_BUILD_ROOT
50
51 %files
52 %defattr(644,root,root,755)
53 %doc CHANGES.txt CREDITS.txt README.txt
54 %{perl_vendorarch}/Data/Locations.pm
55 %dir %{perl_vendorarch}/auto/Data/Locations
56 %attr(755,root,root) %{perl_vendorarch}/auto/Data/Locations/Locations.so
57 %{_mandir}/man3/*
This page took 0.096008 seconds and 3 git commands to generate.