Sophie

Sophie

distrib > Arklinux > devel > i586 > media > main-src > by-pkgid > a3efce5b401852c995b086ccbe3bcd6f > files > 3

MyODBC-3.51.11-1ark.src.rpm

Name: MyODBC
Version: 3.51.11
Release: 1ark
Summary: ODBC connector for MySQL
URL: http://www.mysql.com/products/connector/odbc
Source: %name-%version.tar.bz2
Patch: MyODBC-compile.patch
License: GPL
Group: Applications/Databases
Prefix: %{_prefix}
BuildRoot: %{_tmppath}/%{name}-root

%description
ODBC connector for MySQL

%prep
%setup
%patch -p1 -b .compile~
libtoolize --force
aclocal
automake -a
autoconf
%configure

%build
make %?_smp_mflags

%install
rm -rf $RPM_BUILD_ROOT
make %?_smp_mflags install DESTDIR="$RPM_BUILD_ROOT"

%files
%defattr(-,root,root)
# Leaving the "/" in here is _BAD_, but will generally work [packaging all
# files] for testing.
# Please replace it with an actual file list to prevent your package from
# owning all system directories.
/

%clean
rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/%{name}-%{version}

%changelog
* Mon May 16 2005 Bernhard Rosenkraenzer <bero@arklinux.org> 3.51.11-1ark
- initial RPM