rpms/postgresql-odbcng/F-8 postgresql-odbcng.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Devrim GÜNDÜZ (devrim) fedora-extras-commits at redhat.com
Wed May 21 18:44:30 UTC 2008


Author: devrim

Update of /cvs/extras/rpms/postgresql-odbcng/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv907/F-8

Modified Files:
	.cvsignore sources 
Added Files:
	postgresql-odbcng.spec 
Log Message:
Initial commit of postgresql-odbcng to back branches.




--- NEW FILE postgresql-odbcng.spec ---
%define debug_package %{nil} 

%define sname	odbcng

Name:		postgresql-%{sname}
Summary:	PostgreSQL ODBCng driver
Version:	0.90.101
Release:	1%{?dist}
License:	LGPLv2
Group:		Applications/Databases
Url:		http://projects.commandprompt.com/public/%{sname}

# This is not the actual URL to tarball. It also includes ?format=raw 
# at the end, but I had to skip that part.
Source0:	https://projects.commandprompt.com/public/%{sname}/attachment/wiki/Downloads/%{sname}-%{version}.tar.gz

BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildRequires:	openssl-devel, unixODBC-devel
BuildRequires:	libtool automake autoconf 

%description
ODBCng is a written from scratch ODBC driver for PostgreSQL 8.x.
ODBCng is a wire-level ODBC driver meaning that we do not require 
libpq or any PostgreSQL libraries be installed to function.

%prep
%setup -q -n %{sname}-%{version}

aclocal
libtoolize --force
autoconf

%build

%configure --with-ssl

make

%install
rm -rf %{buildroot}
install -m 755 -d %{buildroot}/%{_libdir}
install -m 755 ./.libs/libmodbc.so* %{buildroot}/%{_libdir}

pushd %{buildroot}/%{_libdir}
popd
#strip %{buildroot}/%{_libdir}/*.so

%clean
rm -rf %{buildroot}

%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig

%files
%defattr(-,root,root)
%attr(755,root,root) %{_libdir}/libmodbc.so*
%doc COPYING COPYRIGHT LICENSE.txt

%changelog
* Sat May 17 2008 Devrim GUNDUZ <devrim at commandprompt.com> - 0.90.101-1
- initial build for Fedora


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/postgresql-odbcng/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	21 May 2008 18:27:42 -0000	1.1
+++ .cvsignore	21 May 2008 18:43:44 -0000	1.2
@@ -0,0 +1 @@
+odbcng-0.90.101.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/postgresql-odbcng/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	21 May 2008 18:27:42 -0000	1.1
+++ sources	21 May 2008 18:43:44 -0000	1.2
@@ -0,0 +1 @@
+17f167a13e360c3f0a02c695fe22574f  odbcng-0.90.101.tar.gz




More information about the fedora-extras-commits mailing list