itamarjp pushed to perl-DBIx-Safe (epel7). "Initial RPM release"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Sep 23 15:50:42 UTC 2015


From a7752133fae4275dec4d167e180aad419bb66544 Mon Sep 17 00:00:00 2001
From: Itamar Reis Peixoto <itamarjp at fedoraproject.org>
Date: Thu, 29 Jan 2009 00:34:12 +0000
Subject: Initial RPM release


diff --git a/.cvsignore b/.cvsignore
index e69de29..a58cd2d 100644
--- a/.cvsignore
+++ b/.cvsignore
@@ -0,0 +1 @@
+DBIx-Safe-1.2.5.tar.gz
diff --git a/import.log b/import.log
new file mode 100644
index 0000000..be429c8
--- /dev/null
+++ b/import.log
@@ -0,0 +1 @@
+perl-DBIx-Safe-1_2_5-4_fc10:HEAD:perl-DBIx-Safe-1.2.5-4.fc10.src.rpm:1233189187
diff --git a/perl-DBIx-Safe.spec b/perl-DBIx-Safe.spec
new file mode 100644
index 0000000..fe3d09d
--- /dev/null
+++ b/perl-DBIx-Safe.spec
@@ -0,0 +1,72 @@
+%define         realname DBIx-Safe
+Name:           perl-DBIx-Safe
+Version:        1.2.5
+Release:        4%{?dist}
+Summary:        Safer access to your database through a DBI database handle
+License:        BSD
+Group:          Development/Libraries
+URL:            http://search.cpan.org/dist/DBIx-Safe/
+Source0:        http://search.cpan.org/CPAN/authors/id/T/TU/TURNSTEP/%{realname}-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+Requires:       perl(:MODULE_COMPAT_%(eval "`%{__perl} -V:version`"; echo $version))
+
+# core
+BuildRequires:  perl(ExtUtils::MakeMaker) 
+BuildRequires:  perl(DBD::Pg)
+BuildRequires:  perl(DBI)
+BuildRequires:  perl(Test::More)
+BuildRequires:  perl(Test::Simple)
+
+%description
+The purpose of this module is to give controlled, limited access to an
+application, rather than simply passing it a raw database handle through
+DBI. DBIx::Safe acts as a wrapper to the database, by only allowing
+through the commands you tell it to. It filters all things related to
+the database handle - methods and attributes.
+
+%prep
+%setup -q -n %{realname}-%{version}
+
+%build
+%{__perl} Makefile.PL INSTALLDIRS=vendor
+make %{?_smp_mflags}
+
+%install
+rm -rf %{buildroot}
+
+make pure_install PERL_INSTALL_ROOT=%{buildroot}
+
+find %{buildroot} -type f -name .packlist -exec rm -f {} + 
+find %{buildroot} -depth -type d -exec rmdir {} 2>/dev/null \;
+%{_fixperms} %{buildroot}/* 
+
+%check
+# note this test suite is noisy! :-)
+make test
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root,-)
+%doc Changes  INSTALL  LICENSE  README TODO SIGNATURE t/
+%{perl_vendorlib}/*
+%{_mandir}/man3/*
+
+%changelog
+* Mon Jan 29 2009 Itamar Reis Peixoto <itamar at ispbrasil.com.br> 1.2.5-4
+- include make test in %%check section
+
+* Mon Jan 29 2009 Itamar Reis Peixoto <itamar at ispbrasil.com.br> 1.2.5-3
+- include %%{_fixperms} %%{buildroot}/* after %%install section, replace tab to space in spec.
+
+* Mon Jan 26 2009 Itamar Reis Peixoto <itamar at ispbrasil.com.br> 1.2.5-2
+- fix from BZ #481528  Comment #1
+- fix source url
+- Fix license tag (BSD)
+- Include all BR's needed DBD::Pg, DBI, Test::More , Test::Simple
+
+* Sun Jan 25 2009 Itamar Reis Peixoto <itamar at ispbrasil.com.br> 1.2.5-1
+- Initial RPM release
+
diff --git a/sources b/sources
index e69de29..b8f2906 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+ca5abd5fec19da9d51e6312f6707c534  DBIx-Safe-1.2.5.tar.gz
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/perl-DBIx-Safe.git/commit/?h=epel7&id=a7752133fae4275dec4d167e180aad419bb66544


More information about the perl-devel mailing list