perl-Apache-ParseLog-vl.spec 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. Summary: Object-oriented Perl extension for parsing Apache log files
  2. Name: perl-Apache-ParseLog
  3. Version: 1.02
  4. Release: 1%{?_dist_release}
  5. License: distributable
  6. Group: Development/Libraries
  7. Source0: http://www.cpan.org/authors/id/A/AK/AKIRA/Apache-ParseLog-%{version}.tar.gz
  8. URL: http://search.cpan.org/search?dist=Apache-ParseLog
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. BuildRequires: perl >= 5.004
  11. Requires: perl >= 5.004
  12. BuildArch: noarch
  13. %description
  14. Apache::ParseLog provides an easy way to parse the Apache log files,
  15. using an object-oriented constructs. The data obtained using this
  16. module are generic enough that it is flexible to use the data for
  17. your own applications, such as CGI, simple text-only report generater,
  18. feeding RDBMS, data for Perl/Tk-based GUI application, etc.
  19. %prep
  20. %setup -q -n Apache-ParseLog-%{version}
  21. %build
  22. CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS=vendor
  23. make
  24. %clean
  25. rm -rf $RPM_BUILD_ROOT
  26. %install
  27. rm -rf $RPM_BUILD_ROOT
  28. make DESTDIR=$RPM_BUILD_ROOT pure_install
  29. find $RPM_BUILD_ROOT%{_prefix} -type f -print |
  30. sed "s@^$RPM_BUILD_ROOT@@g" |
  31. grep -v ^%{_mandir} |
  32. grep -v perllocal.pod |
  33. grep -v "\.packlist" > %{name}.files
  34. if [ "$(cat %{name}.files)X" = "X" ] ; then
  35. echo "ERROR: EMPTY FILE LIST"
  36. exit -1
  37. fi
  38. #%check
  39. #make test
  40. %files -f %{name}.files
  41. %defattr(-,root,root)
  42. %doc README Changes HTTPStatusCodes.txt ISO3166CountryCodes.txt t
  43. %{_mandir}/*/*
  44. %changelog
  45. * Sun Nov 23 2008 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.02-1
  46. - applied new versioning policy
  47. - rebuilt with perl-5.10.0
  48. * Thu Feb 15 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.02-0vl2
  49. - s/Copyright/License/
  50. - changed Group to Development/Libraries
  51. * Tue Apr 30 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.02-0vl1
  52. - first build for Vine Linux