source: projects/specs/trunk/M/MyODBC/MyODBC-vl.spec @ 521

Revision 521, 1.7 KB checked in by daisuke, 12 years ago (diff)

import VineSeed package specs

Line 
1%define __libtoolize true
2
3Summary: ODBC driver for MySQL
4Name: MyODBC
5Version: 3.51.11
6Release: 1%{?_dist_release}
7URL: http://www.mysql.com/downloads/api-myodbc.html
8Source: http://www.mysql.com/Downloads/MyODBC/MyODBC-%{version}.tar.gz
9License: Public Domain
10Group: System Environment/Libraries
11Requires: unixODBC
12BuildRequires: MySQL-devel unixODBC-devel XOrg-devel qt-devel
13BuildRoot: %{_tmppath}/%{name}-%{version}-root
14
15%description
16An ODBC driver for MySQL, for use with unixODBC.
17
18%prep
19%setup -q
20
21%build
22%configure \
23    --with-unixODBC=%{_prefix} \
24    --with-odbc-ini=/etc/odbc.ini \
25    --with-mysql-dirs=%{_libdir}/mysql \
26    --with-mysql-includes=%{_includedir}/mysql \
27    --with-ldflags=-L/usr/X11R6/%{_lib}
28make
29
30%install
31[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
32%makeinstall
33
34rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
35
36%clean
37[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
38
39%post -p /sbin/ldconfig
40
41%postun -p /sbin/ldconfig
42
43%files
44%defattr(-,root,root)
45%doc COPYING ChangeLog README README.unix
46%{_libdir}/lib*so
47
48%changelog
49* Sun Sep 14 2008 Shu KONNO <owa@bg.wakwak.com> 3.51.11-1vl5
50- applied new versioning policy, spec in utf-8
51
52* Thu Dec 20 2007 Shu KONNO <owa@bg.wakwak.com> 3.51.11-0vl4
53- updated lib to %%{_lib} in %%configure
54
55* Sun May 27 2007 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.51.11-0vl3
56- rebuilt with new toolchain
57
58* Mon Oct 30 2006 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.51.11-0vl2
59- rebuilt with MySQL 5.0.27
60- added %post and %postun section
61
62* Sat Sep 10 2005 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.51.11-0vl1
63- updated to 3.51.11
64
65* Sat Feb 23 2002 Satoshi MACHINO <machino@vinelinux.org> 2.50.39-0vl1
66- first build on VineLinux
Note: See TracBrowser for help on using the repository browser.