1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- %define perl_vendorlib %(eval "`perl -V:installvendorlib`"; echo $installvendorlib)
- Summary: SQL-Statement module for perl
- Name: perl-SQL-Statement
- Version: 1.15
- Release: 2%{?_dist_release}
- License: Artistic/GPL
- Group: Development/Libraries
- Source0: http://www.cpan.org/authors/id/J/JZ/JZUCKER/SQL-Statement-%{version}.tar.gz
- URL: http://search.cpan.org/~jzucker/SQL-Statement/
- BuildRoot: %{_tmppath}/%{name}-%{version}-root
- BuildRequires: perl >= 5.8.2
- Requires: perl >= 5.8.2
- BuildArch: noarch
- %description
- SQL-Statement module for perl
- %prep
- %setup -q -n SQL-Statement-%{version}
- %build
- CFLAGS="$RPM_OPT_FLAGS" perl Makefile.PL INSTALLDIRS="vendor"
- make
- %check
- make test
- %clean
- rm -rf $RPM_BUILD_ROOT
- %install
- rm -rf $RPM_BUILD_ROOT
- make DESTDIR=$RPM_BUILD_ROOT install
- find $RPM_BUILD_ROOT%{_prefix} -type f -print |
- sed "s@^$RPM_BUILD_ROOT@@g" |
- grep -v ^%{_mandir} |
- grep -v perllocal.pod |
- grep -v "\.packlist" > %{name}.files
- if [ "$(cat %{name}.files)X" = "X" ] ; then
- echo "ERROR: EMPTY FILE LIST"
- exit -1
- fi
- %files -f %{name}.files
- %defattr(-,root,root)
- %doc README Changes
- %dir %{perl_vendorlib}/SQL
- %dir %{perl_vendorlib}/SQL/Dialects
- %dir %{perl_vendorlib}/SQL/Statement
- %{_mandir}/*/*
- %changelog
- * Sat Apr 30 2011 Yoji TOYODA <bsyamato@sea.plala.or.jp> 1.15-2
- - rebuild with perl-5.12.3
- * Mon May 25 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.15-1
- - applied new versioning policy
- * Sun Sep 10 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.15-0vl1
- - updated to 1.15
- - changed Group to Development/Libraries
- - s/Copyright/License/
- * Wed Sep 7 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.14-0vl1
- - updated to 1.14, build for perl 5.8.x
- - updated URL
- - use vendor_perl
- * Sat Apr 13 2002 IWAI Masaharu <iwaim@cc.mbn.or.jp> 1.004-0vl1
- - first build for Vine Linux
|