forked from pool/iodbc
Accepting request 87435 from KDE:Distro:Factory
- Split doc package (fix for RPMLINT warning) - Cleaned up spec file formatting (forwarded request 87102 from TheBlackCat) OBS-URL: https://build.opensuse.org/request/show/87435 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iodbc?expand=0&rev=10
This commit is contained in:
parent
46642fbfda
commit
34287b9828
@ -1,6 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 27 14:39:41 UTC 2011 - toddrme2178@gmail.com
|
||||
|
||||
- Split doc package (fix for RPMLINT warning)
|
||||
- Cleaned up spec file formatting
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 27 14:39:41 UTC 2011 - toddrme2178@gmail.com
|
||||
|
||||
- Various RPMLINT fixes
|
||||
- Clarified summaries and descriptions
|
||||
|
||||
|
98
iodbc.spec
98
iodbc.spec
@ -15,19 +15,17 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
|
||||
Name: iodbc
|
||||
Url: http://www.iodbc.org/
|
||||
License: LGPLv2.1+
|
||||
Group: Development/Libraries/C and C++
|
||||
Summary: ODBC compliant driver manager
|
||||
BuildRequires: gtk2-devel
|
||||
Version: 3.52.7
|
||||
Release: 2
|
||||
License: LGPLv2.1+
|
||||
Summary: ODBC compliant driver manager
|
||||
Url: http://www.iodbc.org/
|
||||
Group: Development/Libraries/C and C++
|
||||
Source: libiodbc-%{version}.tar.bz2
|
||||
Patch1: fix-nonvoid-return.diff
|
||||
Patch2: config-h.diff
|
||||
BuildRequires: pkgconfig(gtk+-2.0)
|
||||
Requires: libiodbc3 = %{version}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
@ -37,36 +35,20 @@ ODBC compliant driver manager which allows developers to write ODBC
|
||||
compliant applications that can connect to various databases using
|
||||
appropriate backend drivers.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Ke Jin
|
||||
OpenLink Software
|
||||
|
||||
%package -n libiodbc-devel
|
||||
License: LGPLv2.1+
|
||||
Group: Development/Libraries/C and C++
|
||||
Summary: Include Files and Libraries mandatory for Development
|
||||
Requires: libiodbc3 = %version
|
||||
Requires: %name = %version
|
||||
Requires: gtk2-devel
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{name} = %{version}
|
||||
Requires: pkgconfig(gtk+-2.0)
|
||||
|
||||
%description -n libiodbc-devel
|
||||
This package contains all necessary include files and libraries needed
|
||||
to develop applications that require these.
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Ke Jin <kejin@inprise.com>
|
||||
Patrick van Kleef <iodbc@openlinksw.com>
|
||||
|
||||
%package -n libiodbc3
|
||||
License: BSD3c ; LGPLv2.1+
|
||||
Group: Development/Libraries/C and C++
|
||||
Summary: Libraries needed to run iODBC
|
||||
Group: Development/Libraries/C and C++
|
||||
|
||||
%description -n libiodbc3
|
||||
The iODBC Driver Manager is a free implementation of the SAG CLI and
|
||||
@ -76,35 +58,21 @@ appropriate backend drivers.
|
||||
|
||||
This package provides the shared libraries needed by iODBC
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Ke Jin
|
||||
OpenLink Software
|
||||
|
||||
%package -n iodbc-admin
|
||||
%package admin
|
||||
License: BSD3c ; LGPLv2.1+
|
||||
Group: Development/Libraries/C and C++
|
||||
Summary: Administration tools for iODBC
|
||||
Group: Development/Libraries/C and C++
|
||||
|
||||
%description -n iodbc-admin
|
||||
%description admin
|
||||
The iODBC Driver Manager is a free implementation of the SAG CLI and
|
||||
ODBC compliant driver manager which allows developers to write ODBC
|
||||
compliant applications that can connect to various databases using
|
||||
appropriate backend drivers.
|
||||
|
||||
This package provides tools for configuring and administering iODBC
|
||||
|
||||
|
||||
|
||||
Authors:
|
||||
--------
|
||||
Ke Jin
|
||||
OpenLink Software
|
||||
This package provides tools for configuring and administering iODBC
|
||||
|
||||
%prep
|
||||
%setup -q -n libiodbc-%version
|
||||
%setup -q -n libiodbc-%{version}
|
||||
%patch1
|
||||
%patch2
|
||||
|
||||
@ -113,32 +81,27 @@ Authors:
|
||||
# Don't use rpath!
|
||||
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
|
||||
sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
|
||||
# make %{?jobs:-j%jobs}
|
||||
make
|
||||
|
||||
%install
|
||||
%makeinstall
|
||||
|
||||
%post -n libiodbc3 -p /sbin/ldconfig
|
||||
%make_install
|
||||
|
||||
%post -n libiodbc3 -p /sbin/ldconfig
|
||||
%postun -n libiodbc3 -p /sbin/ldconfig
|
||||
|
||||
%post -n iodbc-admin -p /sbin/ldconfig
|
||||
|
||||
%post -n iodbc-admin -p /sbin/ldconfig
|
||||
%postun -n iodbc-admin -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS LICENSE LICENSE.LGPL LICENSE.BSD ChangeLog NEWS README README.CVS
|
||||
%{_bindir}/iodbctest
|
||||
%{_bindir}/iodbctestw
|
||||
%{_mandir}/man1/iodbctest.1*
|
||||
%{_mandir}/man1/iodbctestw.1*
|
||||
#%config /etc/odbc.ini
|
||||
#%config /etc/odbcinst.ini
|
||||
|
||||
%files -n libiodbc3
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS LICENSE LICENSE.LGPL LICENSE.BSD ChangeLog NEWS README README.CVS
|
||||
%{_libdir}/libiodbc.so.*
|
||||
%{_libdir}/libiodbcinst.so.*
|
||||
|
||||
@ -146,34 +109,31 @@ Authors:
|
||||
%defattr(-,root,root)
|
||||
%doc etc/odbc.ini.sample
|
||||
%doc etc/odbcinst.ini.sample
|
||||
%{_bindir}/iodbc-config
|
||||
%{_datadir}/libiodbc
|
||||
%{_includedir}/iodbcext.h
|
||||
%{_includedir}/iodbcinst.h
|
||||
%{_includedir}/iodbcunix.h
|
||||
%{_includedir}/isqlext.h
|
||||
%{_includedir}/isql.h
|
||||
%{_includedir}/isqlext.h
|
||||
%{_includedir}/isqltypes.h
|
||||
%{_includedir}/odbcinst.h
|
||||
%{_includedir}/sql.h
|
||||
%{_includedir}/sqlext.h
|
||||
%{_includedir}/sqltypes.h
|
||||
%{_includedir}/sqlucode.h
|
||||
%{_includedir}/sqlext.h
|
||||
%{_includedir}/odbcinst.h
|
||||
%{_bindir}/iodbc-config
|
||||
%{_libdir}/libdrvproxy.la
|
||||
%{_libdir}/libdrvproxy.so
|
||||
%{_libdir}/libiodbc.la
|
||||
%{_libdir}/libiodbc.so
|
||||
%{_libdir}/libiodbcadm.la
|
||||
%{_libdir}/libiodbcadm.so
|
||||
%{_libdir}/libiodbcinst.la
|
||||
%{_libdir}/libiodbcinst.so
|
||||
%{_mandir}/man1/iodbc-config.1*
|
||||
%{_datadir}/libiodbc
|
||||
%{_datadir}/libiodbc/samples
|
||||
%{_datadir}/libiodbc/samples/Makefile
|
||||
%{_datadir}/libiodbc/samples/iodbctest.c
|
||||
%{_libdir}/pkgconfig/libiodbc.pc
|
||||
%{_libdir}/libdrvproxy.so
|
||||
%{_libdir}/libdrvproxy.la
|
||||
%{_libdir}/libiodbcadm.so
|
||||
%{_libdir}/libiodbcadm.la
|
||||
%{_mandir}/man1/iodbc-config.1*
|
||||
|
||||
%files -n iodbc-admin
|
||||
%files admin
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/iodbcadm-gtk
|
||||
%{_libdir}/libdrvproxy.so.*
|
||||
|
Loading…
x
Reference in New Issue
Block a user