rpms/perl-pgsql_perl5/F-10 import.log, NONE, 1.1 perl-pgsql_perl5.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Itamar Reis Peixoto itamarjp at fedoraproject.org
Fri Feb 13 13:00:32 UTC 2009


Author: itamarjp

Update of /cvs/pkgs/rpms/perl-pgsql_perl5/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv31691/F-10

Modified Files:
	.cvsignore sources 
Added Files:
	import.log perl-pgsql_perl5.spec 
Log Message:
Initial RPM release



--- NEW FILE import.log ---
perl-pgsql_perl5-1_9_0-2_fc10:F-10:perl-pgsql_perl5-1.9.0-2.fc10.src.rpm:1234529886


--- NEW FILE perl-pgsql_perl5.spec ---
%define realname pgsql_perl5
Name:           perl-pgsql_perl5
Version:        1.9.0
Release:        2%{?dist}
Summary:        Pg - Perl5 extension for PostgreSQL

Group:          Development/Libraries
License:        GPL+ or Artistic
URL:            http://search.cpan.org/dist/pgsql_perl5/
Source0:        http://www.cpan.org/modules/by-module/Pg/%{realname}-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

#BuildArch:      noarch
# Correct for lots of packages, other common choices include eg. Module::Build
BuildRequires:  perl(ExtUtils::MakeMaker)
BuildRequires:  postgresql-devel

Requires:  perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))

%description
The Pg module permits you to access all functions of the Libpq interface
of PostgreSQL. Libpq is the programmer's interface to PostgreSQL. 
For examples of how to use this module, look at the file test.pl.

%prep
%setup -q -n %{realname}-%{version}


%build
# Remove OPTIMIZE=... from noarch packages (unneeded)
env POSTGRES_INCLUDE=%{_includedir} POSTGRES_LIB=%{_libdir} %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS"
make %{?_smp_mflags}  OPTIMIZE="%{optflags}"

%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} ';'
# Remove the next line from noarch packages (unneeded)
find $RPM_BUILD_ROOT -type f -name '*.bs' -a -size 0 -exec rm -f {} ';'
find $RPM_BUILD_ROOT -depth -type d -exec rmdir {} 2>/dev/null ';'
chmod -R u+w $RPM_BUILD_ROOT/*


%check
#Don't test, because it's requires this package to be installed to work
#make test


%clean
rm -rf $RPM_BUILD_ROOT


%files
%defattr(-,root,root,-)
%doc Changes README 
#MANIFEST eg/ Don't include MANIFEST file and eg folder
%{perl_vendorarch}/Pg.pm
%{perl_vendorarch}/auto/Pg/
%{_mandir}/man3/*.3*


%changelog
* Tue Feb 10 2009 Itamar Reis Peixoto <itamar at ispbrasil.com.br> - 1.9.0-2
- Changed license field to GPL+ or Artistic

* Thu Jan 22 2009 Itamar Reis Peixoto <itamar at ispbrasil.com.br> - 1.9.0-1
- Initial RPM release


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/perl-pgsql_perl5/F-10/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	13 Feb 2009 06:46:01 -0000	1.1
+++ .cvsignore	13 Feb 2009 13:00:01 -0000	1.2
@@ -0,0 +1 @@
+pgsql_perl5-1.9.0.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/perl-pgsql_perl5/F-10/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	13 Feb 2009 06:46:01 -0000	1.1
+++ sources	13 Feb 2009 13:00:01 -0000	1.2
@@ -0,0 +1 @@
+ec20b8e1596022f8f354550147259d56  pgsql_perl5-1.9.0.tar.gz




More information about the fedora-extras-commits mailing list