/[packages]/cauldron/perl-Dist-Zilla-Plugin-CopyReadmeFromBuild/current/SPECS/perl-Dist-Zilla-Plugin-CopyReadmeFromBuild.spec
ViewVC logotype

Contents of /cauldron/perl-Dist-Zilla-Plugin-CopyReadmeFromBuild/current/SPECS/perl-Dist-Zilla-Plugin-CopyReadmeFromBuild.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 748937 - (show annotations) (download)
Wed Oct 15 03:09:08 2014 UTC (6 years, 11 months ago) by umeabot
File size: 1216 byte(s)
Second Mageia 5 Mass Rebuild
1 %define upstream_name Dist-Zilla-Plugin-CopyReadmeFromBuild
2 %define upstream_version 0.0019
3
4 Name: perl-%{upstream_name}
5 Version: %perl_convert_version %{upstream_version}
6 Release: %mkrel 5
7
8 Summary: Copy README after building (for SCM inclusion, etc.)
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/Dist/%{upstream_name}-%{upstream_version}.tar.gz
13
14 BuildRequires: perl(Dist::Zilla)
15 BuildRequires: perl(Test::Most)
16 BuildArch: noarch
17
18 %description
19 CopyReadmeFromBuild will automatically copy the README from the build
20 directory into the distribution directory. This is so you can commit the
21 README to version control. GitHub, for example, likes to see a README
22
23 Dist::Zilla::Plugin::Readme will not like it if you already have a README,
24 so you'll have to disable that plugin, an example of which is:
25
26 [@Filter]
27 bundle = @Basic
28 remove = Readme
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 %makeinstall_std
43
44 %files
45 %doc README META.yml
46 %{_mandir}/man3/*
47 %perl_vendorlib/*
48
49

  ViewVC Help
Powered by ViewVC 1.1.28