perl-DBI-vl.spec 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. %define version 1.604
  2. %define release 3
  3. Summary: A database access API for perl
  4. Summary(ja): perl 用データベース接続 API
  5. Name: perl-DBI
  6. Version: %{version}
  7. Release: %{release}%{?_dist_release}
  8. License: Artistic
  9. Group: Development/Libraries
  10. Source: DBI-%{version}.tar.gz
  11. Source2: filter-requires-dbi.sh
  12. URL: http://dbi.perl.org/
  13. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  14. Requires: perl >= 5.6.0
  15. ## BuildRequires: perl-Time-HiRes
  16. %description
  17. DBI is a database access Application Programming Interface (API) for
  18. the Perl Language. The DBI API Specification defines a set of
  19. functions, variables and conventions that provide a consistent
  20. database interface independent of the actual database being used.
  21. %description -l ja
  22. DBI は Perl でデータベースにアクセスするための API です.
  23. DBI API では,実際に使われるデータベースに依存しない様に,
  24. 関数,変数などの取り決めが定義されています.
  25. # Provide perl-specific find-{provides,requires}.
  26. %define __find_provides %{_prefix}/lib/rpm/find-provides.perl
  27. %define __find_requires %{SOURCE2}
  28. %prep
  29. %setup -q -n DBI-%{version}
  30. %build
  31. CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
  32. make
  33. %install
  34. [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
  35. make install DESTDIR=$RPM_BUILD_ROOT
  36. #make PREFIX=$RPM_BUILD_ROOT/usr \
  37. # INSTALLSITEARCH=%{buildroot}%{perl_sitearch} \
  38. # INSTALLSITEMAN3DIR=%{buildroot}%{_mandir}/man3 \
  39. # INSTALLSCRIPT=%{buildroot}%{_bindir} \
  40. # install
  41. rm -f %{buildroot}%{perl_vendorarch}/perllocal.pod
  42. rm -f %{buildroot}%{perl_vendorarch}/auto/DBI/.packlist
  43. rm -f %{buildroot}%{perl_vendorarch}/auto/DBI/DBI.bs
  44. %clean
  45. [ "%{buildroot}" != "/" ] && rm -rf %{buildroot}
  46. %check
  47. make test
  48. %files
  49. %defattr(-,root,root)
  50. %doc Changes README
  51. %{perl_vendorarch}/*
  52. %{_bindir}/*
  53. %{_mandir}/*/*
  54. ##%{_libdir}/perl?/man/man3/*.3*
  55. %changelog
  56. * Wed Apr 08 2009 Shu KONNO <owa@bg.wakwak.com> 1.604-3
  57. - spec in utf-8
  58. * Thu May 1 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 1.604-2
  59. - rebuilt with perl-5.10.0.
  60. * Wed Apr 23 2008 IWAI, Masaharu <iwaim@cc.mbn.or.jp> 1.604-1
  61. - new upstream release
  62. * Mon Aug 20 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.58-0vl1
  63. - new upstream release
  64. * Sun Jan 28 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.53-0vl1
  65. - new upstream release
  66. * Sun Sep 10 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.51-0vl1
  67. - new upstream release
  68. - changed Group to Development/Libraries
  69. - installed module files to vendor_perl
  70. * Sat Jul 22 2006 NAKAMURA Kenta <kenta@vinelinux.org> 1.46-0vl2
  71. - use filter-requires-dbi.sh instead of find-requires.perl
  72. * Sat Dec 04 2004 IWAI, Masaharu <iwai@alib.jp> 1.46-0vl1
  73. - new upstream version
  74. - build on perl-5.8.6-0vl1
  75. * Sat May 22 2004 Satoshi MACHINO <machino@vinelinux.org> 1.40-0vl1
  76. - new upstream version
  77. * Sat May 24 2003 IWAI Masaharu <iwai@alib.jp> 1.37-0vl1
  78. - update 1.37
  79. - build with perl-5.8.0
  80. - add make test
  81. * Sat Feb 23 2002 Satoshi MACHINO <machino@vinelinux.org> 1.21-0vl1
  82. - updated 1.21
  83. * Wed Dec 05 2001 Satoshi MACHINO <machino@vinelinux.org> 1.20-0vl1
  84. - updated 1.20
  85. * Sat Sep 15 2001 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.19-0vl2
  86. - the spec was in Shift-JIS. Fixed.
  87. * Fri Aug 03 2001 Satoshi MACHINO <machino@vinelinux.org> 1.19-0vl1
  88. - updated 1.19
  89. * Sat Jun 15 2001 Satoshi MACHINO <machino@vinelinux.org> 1.15-1vl2
  90. - rebuild on perl-5.6.0
  91. - changed mandir to /usr/share/man
  92. - removed version in Requires perl
  93. * Sun May 27 2001 Satoshi MACHINO <machino@vinelinux.org> 1.15-1vl1
  94. - updated perl-DBL-1.15
  95. * Tue May 08 2001 Satoshi MACHINO <machino@vinelinux.org> 1.14-10vl1
  96. - fixed Vine Linux
  97. * Tue Feb 27 2001 Trond Eivind Glomsr <teg@redhat.com>
  98. - Cleanups
  99. * Thu Nov 30 2000 Trond Eivind Glomsr <teg@redhat.com>
  100. - build for main distribution
  101. - use %%{_tmppath}
  102. - change name of specfile
  103. - don't use a find script to generate file lists
  104. - general cleanup
  105. - add descriptive summary and description
  106. * Mon Aug 14 2000 Tim Powers <timp@redhat.com>
  107. - Spec file was autogenerated.