/[packages]/updates/1/perl-Devel-Platform-Info/current/SPECS/perl-Devel-Platform-Info.spec
ViewVC logotype

Contents of /updates/1/perl-Devel-Platform-Info/current/SPECS/perl-Devel-Platform-Info.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 213493 - (show annotations) (download)
Thu Feb 23 18:08:24 2012 UTC (9 years, 5 months ago) by kharec
File size: 1356 byte(s)
- really fix bug #4062

1 %define upstream_name Devel-Platform-Info
2 %define upstream_version 0.09
3
4 Name: perl-%{upstream_name}
5 Version: %perl_convert_version %{upstream_version}
6 Release: %mkrel 2
7
8 Summary: Retrieve Solaris platform metadata
9 License: GPL+ or Artistic
10 Group: Development/Perl
11 Url: http://search.cpan.org/dist/%{upstream_name}
12 Source0: http://www.cpan.org/modules/by-module/Devel/%{upstream_name}-%{upstream_version}.tar.gz
13
14 BuildRequires: perl(Test::More)
15 BuildArch: noarch
16
17 %description
18 This module is a wrapper to the drivers which can determine platform
19 metadata regarding the currently running operating system.
20
21 The intention of this distribution is to provide key identifying components
22 regarding the platform currently being used, for the CPAN Testers test
23 reports. Currently the reports do not often contain enough information to
24 help authors understand specific failures, where the platform may be a
25 factor.
26
27 However, it is hoped that this distribution will find more uses far beyond
28 the usage for CPAN Testers.
29
30 %prep
31 %setup -q -n %{upstream_name}-%{upstream_version}
32
33 %build
34 %{__perl} Makefile.PL INSTALLDIRS=vendor
35
36 %make
37
38 %check
39 %make test
40
41 %install
42 rm -rf %buildroot
43 %makeinstall_std
44
45 %clean
46 rm -rf %buildroot
47
48 %files
49 %defattr(-,root,root)
50 %doc Changes META.yml META.json README
51 %{_mandir}/man3/*
52 %perl_vendorlib/*
53
54

  ViewVC Help
Powered by ViewVC 1.1.28