1 | %define name perl-Pod-ToDemo |
---|
2 | %define version 1.20110709 |
---|
3 | %define release 1%{?_dist_release} |
---|
4 | |
---|
5 | Summary: Pod::ToDemo - writes a demo program from a tutorial POD |
---|
6 | Summary(ja): Pod::ToDemo - チュートリアル POD からデモプログラムを記述 |
---|
7 | Name: %{name} |
---|
8 | Version: %{version} |
---|
9 | Release: %{release} |
---|
10 | License: Artistic and GPL |
---|
11 | Group: Development/Libraries |
---|
12 | URL: http://search.cpan.org/dist/Pod-ToDemo/ |
---|
13 | |
---|
14 | Source0: http://search.cpan.org/CPAN/authors/id/C/CH/CHROMATIC/Pod-ToDemo-%{version}.tar.gz |
---|
15 | |
---|
16 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
17 | BuildArch: noarch |
---|
18 | BuildRequires: perl(ExtUtils::MakeMaker) >= 6.30 |
---|
19 | BuildRequires: perl(Test::Exception) |
---|
20 | BuildRequires: perl(Test::More) |
---|
21 | Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version)) |
---|
22 | |
---|
23 | %description |
---|
24 | Pod::ToDemo allows you to write POD-only modules that serve as |
---|
25 | tutorials which can write out demo programs if you invoke them |
---|
26 | directly. |
---|
27 | |
---|
28 | %description -l ja |
---|
29 | Pod::ToDemoによりチュートリアルとして提供される POD のみの |
---|
30 | モジュールを記述できます。このチュートリアルを直接呼び出すことで、 |
---|
31 | デモプログラムを書き出すことが可能になります。 |
---|
32 | |
---|
33 | |
---|
34 | %prep |
---|
35 | |
---|
36 | %setup -q -n Pod-ToDemo-%{version} |
---|
37 | |
---|
38 | |
---|
39 | %build |
---|
40 | %{__perl} Makefile.PL INSTALLDIRS=vendor |
---|
41 | %{__make} |
---|
42 | |
---|
43 | %install |
---|
44 | %{__rm} -rf ${RPM_BUILD_ROOT} |
---|
45 | %{__make} install DESTDIR=${RPM_BUILD_ROOT} |
---|
46 | |
---|
47 | # Remove unnecessary files. |
---|
48 | %{__rm} -rf ${RPM_BUILD_ROOT}/%{perl_vendorarch}/auto/Pod/ToDemo/.packlist |
---|
49 | %{__rm} -rf ${RPM_BUILD_ROOT}/%{perl_archlib}/perllocal.pod |
---|
50 | |
---|
51 | %clean |
---|
52 | %__rm -rf ${RPM_BUILD_ROOT} |
---|
53 | |
---|
54 | |
---|
55 | %files |
---|
56 | %defattr(-,root,root) |
---|
57 | %doc Changes LICENSE README |
---|
58 | %{perl_vendorlib}/Pod/ToDemo.pm |
---|
59 | %{_mandir}/man3//Pod::ToDemo.3pm* |
---|
60 | |
---|
61 | |
---|
62 | %changelog |
---|
63 | * Sat Dec 20 2014 Ryoichi INAGAKI <ryo1@toki.waseda.jp> 1.20110709-1 |
---|
64 | - updated to 1.20110709 |
---|
65 | - built with perl 5.16.3 |
---|
66 | |
---|
67 | * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.01-2 |
---|
68 | - build with perl-5.12.3 |
---|
69 | |
---|
70 | * Wed Sep 03 2008 Shu KONNO <owa@bg.wakwak.com> 1.01-1vl5 |
---|
71 | - applied new versioning policy, spec in utf-8 |
---|
72 | - built with perl-5.10.0 |
---|
73 | |
---|
74 | * Wed Mar 21 2007 Kazutaka HARADA <kazutaka@dc4.so-net.ne.jp> 1.01-0vl1 |
---|
75 | - initial build for Vine Linux |
---|