rpms/perl-BerkeleyDB/devel perl-BerkeleyDB.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Steven Pritchard (steve)
fedora-extras-commits at redhat.com
Tue Aug 2 23:43:37 UTC 2005
Author: steve
Update of /cvs/extras/rpms/perl-BerkeleyDB/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv22310/devel
Modified Files:
.cvsignore sources
Added Files:
perl-BerkeleyDB.spec
Log Message:
auto-import perl-BerkeleyDB-0.26-2 on branch devel from perl-BerkeleyDB-0.26-2.src.rpm
--- NEW FILE perl-BerkeleyDB.spec ---
%{!?perl_vendorarch: %define perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch)}
Name: perl-BerkeleyDB
Version: 0.26
Release: 2%{?dist}
Summary: BerkeleyDB Perl module
License: GPL or Artistic
Group: Development/Libraries
URL: http://search.cpan.org/dist/BerkeleyDB/
Source0: http://www.cpan.org/modules/by-module/BerkeleyDB/BerkeleyDB-0.26.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: db4-devel
# For "make test".
BuildRequires: perl(Test::Pod), perl(MLDBM)
Requires: perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
%description
BerkeleyDB is a module that allows Perl programs to make use of the
facilities provided by Berkeley DB. Berkeley DB is a C library that
provides a consistent interface to a number of database formats.
BerkeleyDB provides an interface to all four of the database types
(hash, btree, queue and recno) currently supported by Berkeley DB.
%prep
%setup -q -n BerkeleyDB-%{version}
%{__perl} -pi -e 's,/local/,/, if ($. == 1)' dbinfo
chmod -x Changes README
%build
%{__perl} Makefile.PL INSTALLDIRS=vendor
%{__perl} -pi -e 's/^\tLD_RUN_PATH=[^\s]+\s*/\t/' Makefile
make %{?_smp_mflags} OPTIMIZE="$RPM_OPT_FLAGS"
%install
rm -rf $RPM_BUILD_ROOT
make pure_install PERL_INSTALL_ROOT=$RPM_BUILD_ROOT
install -D -m755 dbinfo $RPM_BUILD_ROOT%{_bindir}/dbinfo
find $RPM_BUILD_ROOT -type f -name .packlist -exec rm -f {} \;
find $RPM_BUILD_ROOT -type f -name '*.bs' -size 0 -exec rm -f {} \;
find $RPM_BUILD_ROOT -type d -depth -exec rmdir {} 2>/dev/null \;
chmod -R u+rwX,go+rX,go-w $RPM_BUILD_ROOT/*
%check || :
make test
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc Changes README Todo
%{perl_vendorarch}/BerkeleyDB*
%{perl_vendorarch}/auto/*
%{_mandir}/man3/*
%{_bindir}/*
%changelog
* Mon Aug 01 2005 Steven Pritchard <steve at kspei.com> 0.26-2
- Various fixes from Paul Howarth:
- Add description
- Fix permissions on docs (also Paul Howarth)
- Add OPTIMIZE to make
- Don't own perl_vendorarch/auto/
- BuildRequire Test::Pod and MLDBM
* Wed Jul 06 2005 Steven Pritchard <steve at kspei.com> 0.26-1
- Specfile autogenerated.
- Add BuildRequires db4-devel.
- Install dbinfo script.
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/perl-BerkeleyDB/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 2 Aug 2005 23:42:53 -0000 1.1
+++ .cvsignore 2 Aug 2005 23:43:35 -0000 1.2
@@ -0,0 +1 @@
+BerkeleyDB-0.26.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/perl-BerkeleyDB/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 2 Aug 2005 23:42:53 -0000 1.1
+++ sources 2 Aug 2005 23:43:35 -0000 1.2
@@ -0,0 +1 @@
+6e9882f4e4bac48b24079d082af30e6c BerkeleyDB-0.26.tar.gz
More information about the scm-commits
mailing list