]> git.pld-linux.org Git - packages/MyODBC.git/blob - MyODBC.spec
- BuildRequires: autoconf, automake, libtool
[packages/MyODBC.git] / MyODBC.spec
1 Name:           MyODBC
2 Summary:        MyODBC: an ODBC driver for MySQL
3 Summary(pl):    MyODBC: driver ODBC dla MySQL
4 Group:          Applications/Databases
5 Group(de):      Applikationen/Dateibanken
6 Group(pl):      Aplikacje/Bazy danych
7 Version:        2.50.37
8 Release:        1
9 License:        Public Domain
10 Source0:        http://www.mysql.com/Downloads/MyODBC/%{name}-%{version}.tar.gz
11 URL:            http://www.mysql.com/
12 Vendor:         MySQL AB
13 BuildRequires:  unixODBC-devel
14 BuildRequires:  mysql-devel >= 3.23.38-2
15 BuildRequires:  autoconf
16 BuildRequires:  automake
17 BuildRequires:  libtool
18 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19
20 %description
21 MyODBC: an ODBC driver for MySQL.
22
23 %description -l pl
24 MyODBC: driver ODBC dla MySQL.
25
26 %prep
27 %setup -q
28
29 %build
30 rm -f missing
31 libtoolize --copy --force
32 aclocal
33 automake -a -c -i
34 autoconf
35 autoheader
36 %configure \
37         --with-unixODBC=/usr
38 %{__make}
39
40 %install
41 rm -rf $RPM_BUILD_ROOT
42 %{__make} DESTDIR=$RPM_BUILD_ROOT install
43
44 gzip -9fn INSTALL ChangeLog
45
46 %clean 
47 rm -rf $RPM_BUILD_ROOT
48
49 %files 
50 %defattr(644,root,root,755)
51 %doc {INSTALL,ChangeLog}.gz
52 %attr(755,root,root) %{_libdir}/libmyodbc*
This page took 0.049251 seconds and 4 git commands to generate.