diff --git a/unixODBC-man.patch b/unixODBC-man.patch new file mode 100644 index 0000000..02b03ea --- /dev/null +++ b/unixODBC-man.patch @@ -0,0 +1,63 @@ +diff -urN unixODBC-2.3.2.old/man/Makefile.am unixODBC-2.3.2/man/Makefile.am +--- unixODBC-2.3.2.old/man/Makefile.am 2013-10-24 12:01:31.188624319 +0200 ++++ unixODBC-2.3.2/man/Makefile.am 2013-10-24 12:02:41.306813429 +0200 +@@ -1,2 +1,2 @@ +-dist_man_MANS = isql.1 odbc.ini.5 odbcinst.1 odbcinst.ini.5 ++dist_man_MANS = isql.1 odbc.ini.5 odbcinst.1 odbcinst.ini.5 unixODBC.7 + +diff -urN unixODBC-2.3.2.old/man/unixODBC.7 unixODBC-2.3.2/man/unixODBC.7 +--- unixODBC-2.3.2.old/man/unixODBC.7 1970-01-01 01:00:00.000000000 +0100 ++++ unixODBC-2.3.2/man/unixODBC.7 2013-10-24 12:02:07.643722514 +0200 +@@ -0,0 +1,52 @@ ++.TH unixODBC 7 "Tue 22. Oct 2013" "version 2.3.2" "unixODBC manual pages" ++ ++.SH NAME ++unixODBC \- An ODBC implementation for Unix ++ ++.SH DESCRIPTION ++ODBC is an open specification for providing application developers with a ++predictable API with which to access Data Sources. Data Sources include SQL ++Servers and any Data Source with an ODBC Driver. ++ ++The unixODBC Project goals are to develop and promote unixODBC to be the ++definitive standard for ODBC on non MS Windows platforms. ++ ++.SH ENVIRONMENT VARIABLES ++ ++.IP \fBODBCSYSINI ++Overloads path to unixODBC configuration files. By default equals to '/etc'. ++ ++.IP \fBODBCINSTINI ++Overloads the name of the drivers configuration file. It is relative to ++\fBODBCSYSINI\fR and by default set to 'odbcinst.ini'. ++ ++.IP \fBODBCINSTUI ++Overloads the library name for UI. The final name that is searched for is ++evaluated as "lib$ODBCINSTUI". By default it is set to 'odbcinstQ4', so ++the resulting library name is 'libodbcinstQ4'. ++ ++.IP \fBODBCSEARCH ++Overloads the configuration mode and determines where to look for configuration ++files. Must be set to one of ODBC_SYSTEM_DSN, ODBC_USER_DSN or ODBC_BOTH_DSN ++(the last one is the default value). ++ ++.IP \fBODBCINI ++Overloads the path to user configuration file. By default it is set ++to "~/.odbc.ini". ++ ++.SH SEE ALSO ++.BR isql (1), ++.BR odbcinst (1), ++.BR odbc.ini (5), ++.BR odbcinst.ini (5) ++ ++.SH AUTHORS ++ ++The authors of unixODBC are Peter Harvey <\fIpharvey@codebydesign.com\fR> and ++Nick Gorham <\fInick@easysoft.com\fR>. For the full list of contributors see the ++AUTHORS file. ++ ++.SH COPYRIGHT ++ ++unixODBC is licensed under the GNU Lesser General Public License. For details ++about the license, see the COPYING file. diff --git a/unixODBC.spec b/unixODBC.spec index 629e5f8..ed58c19 100644 --- a/unixODBC.spec +++ b/unixODBC.spec @@ -1,7 +1,7 @@ Summary: A complete ODBC driver manager for Linux Name: unixODBC Version: 2.3.2 -Release: 1%{?dist} +Release: 2%{?dist} Group: System Environment/Libraries URL: http://www.unixODBC.org/ # Programs are GPL, libraries are LGPL, except News Server library is GPL. @@ -16,6 +16,7 @@ Patch1: depcomp.patch Patch6: export-symbols.patch Patch8: so-version-bump.patch Patch9: keep-typedefs.patch +Patch10: unixODBC-man.patch Conflicts: iodbc @@ -43,6 +44,7 @@ ODBC, you need to install this package. %patch6 -p1 %patch8 -p1 %patch9 -p1 +%patch10 -p1 chmod 0644 Drivers/MiniSQL/*.c chmod 0644 Drivers/nn/*.c @@ -142,7 +144,10 @@ done %postun -p /sbin/ldconfig %changelog -* Thu Oct 10 2013 Jan Stanek 2.3.2-1 +* Thu Oct 24 2013 Jan Stanek - 2.3.2-2 +- Add man page describing enviromental variables (#991018) + +* Thu Oct 10 2013 Jan Stanek - 2.3.2-1 - Update to 2.3.2 version - Removed extra man-pages and patch already shipped by upstream