]> git.pld-linux.org Git - packages/perl-DBD-ODBC.git/commitdiff
- new
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 22 Mar 2002 22:12:30 +0000 (22:12 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    perl-DBD-ODBC.spec -> 1.1

perl-DBD-ODBC.spec [new file with mode: 0644]

diff --git a/perl-DBD-ODBC.spec b/perl-DBD-ODBC.spec
new file mode 100644 (file)
index 0000000..2e63a6a
--- /dev/null
@@ -0,0 +1,50 @@
+%include       /usr/lib/rpm/macros.perl
+%define        pdir    DBD
+%define        pnam    ODBC
+Summary:       DBD::ODBC perl module
+Summary(pl):   Modu³ perla DBD::ODBC
+Name:          perl-DBD-ODBC
+Version:       0.39
+Release:       1
+License:       GPL or Artistic
+Group:         Development/Languages/Perl
+Source0:       ftp://ftp.perl.org/pub/CPAN/modules/by-module/%{pdir}/%{pdir}-%{pnam}-%{version}.tar.gz
+BuildRequires: perl-DBI > 1.20
+BuildRequires: rpm-perlprov >= 3.0.3-16
+BuildRequires: unixODBC-devel
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+DBD::ODBC - DBD module interfacing the ODBC databases.
+
+%description -l pl
+DBD::ODBC - modu³ DBD komunikuj±cy siê z bazami danych z u¿yciem
+ODBC.
+
+%prep
+%setup -q -n %{pdir}-%{pnam}-%{version}
+
+%build
+perl Makefile.PL -o /usr
+
+%{__make} OPTIMIZE="%{rpmcflags}"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+       DESTDIR=$RPM_BUILD_ROOT
+
+gzip -9nf Changes README
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc *.gz
+%{perl_sitearch}/DBD/ODBC.pm
+%dir %{perl_sitearch}/auto/DBD/ODBC
+%{perl_sitearch}/auto/DBD/ODBC/ODBC.bs
+%attr(755,root,root) %{perl_sitearch}/auto/DBD/ODBC/ODBC.so
+%{_mandir}/man3/*
This page took 0.090917 seconds and 4 git commands to generate.