Author: qboosh                       Date: Wed Feb 16 17:49:21 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- refresh ac/am/lt to fix build on amd64; release 2

---- Files affected:
SPECS:
   psqlodbc.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: SPECS/psqlodbc.spec
diff -u SPECS/psqlodbc.spec:1.10 SPECS/psqlodbc.spec:1.11
--- SPECS/psqlodbc.spec:1.10    Wed Feb 16 16:08:01 2005
+++ SPECS/psqlodbc.spec Wed Feb 16 18:49:16 2005
@@ -10,16 +10,18 @@
 Summary(zh_CN):        ÓĂ ODBC ˇĂÎĘ Ňť¸ö PostgreSQL ĘýžÝżâľÄ ODBC ÇýśŻ
 Name:          psqlodbc
 Version:       7.2.5
-Release:       1
+Release:       2
 License:       LGPL
 Group:         Libraries
 Source0:       
ftp://ftp.postgresql.org/pub/odbc/versions/src/%{name}-%{version}.tar.gz
 # Source0-md5: 701c7c55831652d35937c2efaeaab26d
 URL:           http://gborg.postgresql.org/project/psqlodbc/projdisplay.php
+BuildRequires: autoconf >= 2.52
 BuildRequires: automake
 %{?with_iodbc:BuildRequires:   libiodbc-devel}
+BuildRequires: libtool
 BuildRequires: postgresql-devel
-%{?!with_iodbc:BuildRequires:  unixODBC-devel}
+%{!?with_iodbc:BuildRequires:  unixODBC-devel}
 %{?with_iodbc:Requires:        libiodbc}
 Obsoletes:     postgresql-odbc
 Obsoletes:     postgresql-odbc-devel
@@ -45,8 +47,16 @@
 %prep
 %setup -q
 
+# PGAC_* macros
+tail -n +874 aclocal.m4 | head -n 136 > acinclude.m4
+tail -n +4631 aclocal.m4 >> acinclude.m4
+
 %build
-cp -f /usr/share/automake/config.* .
+%{__libtoolize}
+%{__aclocal}
+%{__autoconf}
+%{__autoheader}
+%{__automake}
 %configure \
        %{?with_iodbc:--with-iodbc} \
        %{!?with_iodbc:--with-unixodbc}
@@ -68,8 +78,8 @@
 %files
 %defattr(644,root,root,755)
 %doc README.unix notice.txt
-%attr(755,root,root) %{_libdir}/*.so
-%{_libdir}/*.la
+%attr(755,root,root) %{_libdir}/psqlodbc.so
+%{_libdir}/psqlodbc.la
 %{_datadir}/%{name}
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -78,6 +88,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2005/02/16 17:49:16  qboosh
+- refresh ac/am/lt to fix build on amd64; release 2
+
 Revision 1.10  2005/02/16 15:08:01  qboosh
 - refresh config.sub
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/psqlodbc.spec?r1=1.10&r2=1.11&f=u


_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to