/[packages]/cauldron/perl-version/current/SPECS/perl-version.spec
ViewVC logotype

Contents of /cauldron/perl-version/current/SPECS/perl-version.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 45163 - (show annotations) (download)
Mon Jan 31 11:34:59 2011 UTC (11 years, 5 months ago) by jquelin
File size: 1173 byte(s)
update to 0.88
1 %define upstream_name version
2 %define upstream_version 0.88
3
4 Name: perl-%{upstream_name}
5 Version: %perl_convert_version %{upstream_version}
6 Release: %mkrel 1
7 Epoch: 1
8
9 Summary: Perl extension for Version Objects
10 License: GPL+ or Artistic
11 Group: Development/Perl
12 Url: http://search.cpan.org/dist/%{upstream_name}/
13 Source0: http://search.cpan.org/CPAN/authors/id/J/JP/JPEACOCK/%{upstream_name}-%{upstream_version}.tar.gz
14
15 BuildRequires: perl(Module::Build)
16 BuildRequires: perl(Test::More)
17 BuildRequires: perl-devel
18
19 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}
20
21 Provides: perl(version) = %{epoch}:%{version}
22
23 %description
24 Overloaded version objects for all versions of Perl. This module implements
25 all of the features of version objects which will be part of Perl 5.10.0
26 except automatic version object creation.
27
28 %prep
29 %setup -q -n %{upstream_name}-%{upstream_version}
30
31 %build
32 %__perl Makefile.PL INSTALLDIRS=vendor
33 %make
34
35 %check
36 %make test
37
38 %clean
39 rm -rf %{buildroot}
40
41 %install
42 rm -rf %{buildroot}
43 %makeinstall_std
44
45 %files
46 %defattr(-,root,root)
47 %doc Changes README
48 %{perl_vendorarch}/version*
49 %{perl_vendorarch}/auto/version
50 %{_mandir}/*/*
51
52

  ViewVC Help
Powered by ViewVC 1.1.28