]> git.pld-linux.org Git - packages/MyODBC.git/blobdiff - MyODBC.spec
- massive attack: adding Source-md5
[packages/MyODBC.git] / MyODBC.spec
index 36f1510d6d9a6f9719eb03b4476f49086ddba4ed..e035d963783ce540e6864cb5fd6f0324f7d5e858 100644 (file)
@@ -2,20 +2,21 @@
 Summary:       MyODBC: an ODBC driver for MySQL
 Summary(pl):   MyODBC: driver ODBC dla MySQL
 Name:          MyODBC
-Version:       2.50.39
-Release:       1
+Version:       3.51.05
+Release:       2
 License:       Public Domain
 Vendor:                MySQL AB
 Group:         Applications/Databases
 #Source0:      http://www.mysql.com/Downloads/MyODBC/%{name}-%{version}.tar.gz
-Source0:       ftp://sunsite.icm.edu.pl/pub/unix/mysql/Downloads/MyODBC/%{name}-%{version}.tar.gz
+Source0:       ftp://sunsite.icm.edu.pl/pub/unix/mysql/Downloads/MyODBC3/%{name}-%{version}.tar.gz
+# Source0-md5: 78cdf7175de224fb445daf2634683e98
 URL:           http://www.mysql.com/
 %if %{?_with_iodbc:0}%{!?_with_iodbc:1}
 BuildRequires: unixODBC-devel
 %else
 BuildRequires: libiodbc-devel
 %endif
-BuildRequires: mysql-devel >= 3.23.38-2
+BuildRequires: mysql-devel >= 4.0.10
 BuildRequires: autoconf
 BuildRequires: automake
 BuildRequires: libtool
@@ -33,10 +34,10 @@ MyODBC: sterownik ODBC dla MySQL.
 %build
 rm -f missing
 %{__libtoolize}
-aclocal
-automake -a -c -i
+%{__aclocal}
+%{__automake} -i
 %{__autoconf}
-autoheader
+%{__autoheader}
 %configure \
        %{!?_with_iodbc:--with-unixODBC=/usr} \
        %{?_with_iodbc:--with-iODBC=/usr --with-odbc-ini=/etc/odbc.ini} 
@@ -46,12 +47,10 @@ autoheader
 rm -rf $RPM_BUILD_ROOT
 %{__make} DESTDIR=$RPM_BUILD_ROOT install
 
-gzip -9fn INSTALL ChangeLog
-
 %clean 
 rm -rf $RPM_BUILD_ROOT
 
 %files 
 %defattr(644,root,root,755)
-%doc {INSTALL,ChangeLog}.gz
+%doc INSTALL ChangeLog
 %attr(755,root,root) %{_libdir}/libmyodbc*
This page took 0.034588 seconds and 4 git commands to generate.