perl-Pod-ToDemo-vl.spec 1.8 KB

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