]> git.pld-linux.org Git - packages/perl-Set-Object.git/blob - perl-Set-Object.spec
perl 5.38.0 rebuild
[packages/perl-Set-Object.git] / perl-Set-Object.spec
1 #
2 # Conditional build:
3 %bcond_without  tests   # do not perform "make test"
4 #
5 %define         pdir    Set
6 %define         pnam    Object
7 Summary:        Set::Object - set of objects and strings
8 Summary(pl.UTF-8):      Set::Object - zbiór obiektów i łańcuchów
9 Name:           perl-Set-Object
10 Version:        1.39
11 Release:        6
12 License:        Artistic
13 Group:          Development/Languages/Perl
14 Source0:        http://www.cpan.org/modules/by-module/Set/%{pdir}-%{pnam}-%{version}.tar.gz
15 # Source0-md5:  21571b7e6e3fcd4089ce640e048760de
16 URL:            http://search.cpan.org/dist/Set-Object/
17 BuildRequires:  rpm-perlprov >= 4.1-13
18 BuildRequires:  perl-devel >= 1:5.8.0
19 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
20
21 %description
22 The Set::Object Perl module implements a Set of objects, that is, a
23 collection of objects without duplications. It is similar to a
24 Smalltalk IdentitySet.
25
26 %description -l pl.UTF-8
27 Moduł Perla Set::Object implementuje zbiór obiektów, tzn. zestaw
28 obiektów bez duplikatów. Jest on podobny do IdentitySet Smalltalka.
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*
54 %{perl_vendorarch}/Set
55 %dir %{perl_vendorarch}/auto/Set
56 %dir %{perl_vendorarch}/auto/Set/Object
57 %{perl_vendorarch}/auto/Set/Object/autosplit.ix
58 %attr(755,root,root) %{perl_vendorarch}/auto/Set/Object/Object.so
59 %{_mandir}/man3/*
This page took 0.211517 seconds and 4 git commands to generate.