Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Evergreen:11.4
perl-DBD-ODBC
perl-DBD-ODBC.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File perl-DBD-ODBC.spec of Package perl-DBD-ODBC
# # spec file for package perl-DBD-ODBC # # Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild %bcond_with test Name: perl-DBD-ODBC %define cpan_name DBD-ODBC Summary: ODBC Driver for DBI Version: 1.27 Release: 1 License: GPL+ or Artistic Group: Development/Libraries/Perl Url: http://search.cpan.org/dist/DBD-ODBC/ #Source: http://www.cpan.org/modules/by-module/DBD/DBD-ODBC-%{version}.tar.gz Source: %{cpan_name}-%{version}.tar.bz2 Patch0: %{name}-%{version}-Makefile.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %{perl_requires} BuildRequires: perl BuildRequires: perl-macros %if %{with test} BuildRequires: perl(Test::Pod::Coverage) >= 1.04 %endif BuildRequires: perl(DBI) >= 1.21 BuildRequires: unixODBC-devel Requires: perl(DBI) >= 1.21 Requires: unixODBC %description This module is needed to access ODBC databases from within Perl. The module uses the unixODBC manager to connect to the database. Authors: -------- Tim Bunce Jeff Urlwin Thomas K. Wenrich %prep %setup -q -n %{cpan_name}-%{version} %patch0 #rpmlint: wrong-file-end-of-line-encoding for file in README.af README.unicode; do %{__perl} -p -i -e "s|\r\n|\n|" "$file" done pushd examples #rpmlint: wrong-file-end-of-line-encoding find -type f -exec %{__perl} -p -i -e "s|\r\n|\n|" {} \; #rpmlint: wrong-script-interpreter for ex in $(ls -1); do %{__sed} -i -e 's,#[!|#]perl\(.*\),#!%{__perl}\1,' "$ex" %{__sed} -i -e 's,#!perl.exe -w,#!%{__perl} -w,' "$ex" done popd %build %{__perl} Makefile.PL INSTALLDIRS=vendor OPTIMIZE="$RPM_OPT_FLAGS" %{__make} %{?_smp_mflags} %check %{__make} test %install %perl_make_install %perl_process_packlist %perl_gen_filelist %clean %{__rm} -rf $RPM_BUILD_ROOT %files -f %{name}.files %defattr(-,root,root,-) %doc Changes FAQ if_you_are_taking_over_this_code.txt %doc README README.adabas README.af README.informix README.sqlserver README.unicode %doc test_results.txt examples %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor