Marcus Rückert 2017-08-10 16:51:52 +00:00 committed by Git OBS Bridge
parent 64383ba828
commit b696949b68
12 changed files with 23 additions and 711 deletions

7
_multibuild Normal file
View File

@ -0,0 +1,7 @@
<multibuild>
<package>postgresql93</package>
<package>postgresql94</package>
<package>postgresql95</package>
<package>postgresql96</package>
<package>postgresql10</package>
</multibuild>

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Aug 10 16:51:40 UTC 2017 - mrueckert@suse.de
- switch to multibuild
-------------------------------------------------------------------
Thu Feb 19 11:40:34 UTC 2015 - mrueckert@suse.de

View File

@ -1,9 +1,9 @@
#
%define gitname VERSION_3_0_9
%define pgversion ##
%define pgname @BUILD_FLAVOR@
%define realname orafce
Name: postgresql%{pgversion}-orafce
Name: %{pgname}-orafce
Version: 3.0.9
Release: 7
Summary: Implementation of some Oracle functions into PostgreSQL
@ -15,9 +15,12 @@ Source0: %{realname}-%{gitname}.tar.gz
# PATCH-FIX-UPSTREAM fix for upsteam https://github.com/orafce/orafce/pull/4
Patch1: orafce-orafce_sql_yyparse-bison26.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: postgresql%{pgversion}-devel openssl-devel krb5-devel bison flex
Requires: postgresql%{pgversion}-server
Provides: orafce
BuildRequires: %{pgname}-devel openssl-devel krb5-devel bison flex
Requires: %{pgname}-server
Provides: orafce = %{version}-%{release}
%if "%{pgversion}" == ""
ExclusiveArch: do_not_build
%endif
%description
The goal of this project is implementation some functions from Oracle database.
@ -43,7 +46,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYRIGHT.orafce INSTALL.orafce README.asciidoc NEWS
%{_prefix}/lib/postgresql%{pgversion}/%{_lib}
%{_datadir}/postgresql%{pgversion}/
%exclude %{_docdir}/postgresql%{pgversion}/
%{_prefix}/lib/%{pgname}/%{_lib}
%{_datadir}/%{pgname}/
%exclude %{_docdir}/%{pgname}/

View File

@ -1,124 +0,0 @@
-------------------------------------------------------------------
Thu Feb 19 11:40:34 UTC 2015 - mrueckert@suse.de
- update to 3.0.9
* PostgreSQL 9.4 compilation
* new datatype and related functions: oracle.date
* new varchar2, nvarchar2 types and related functions
(Amit Langote)
* oracle.substr emulate better Oracle substr function behave
(Vinayak Pokale)
* fix few internal issues that breaks a PGXN tests (Pavel Stehule)
-------------------------------------------------------------------
Mon Oct 14 12:56:20 UTC 2013 - darin@darins.net
- rename README.orafunc to README.asciidoc
-------------------------------------------------------------------
Wed Oct 9 18:12:43 UTC 2013 - darin@darins.net
- updated to verion 3.0.6
- generate specs for PG 9.3
-------------------------------------------------------------------
Thu Aug 8 13:30:27 UTC 2013 - darin@darins.net
- patch for compilation error with Bison >=2.6
See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710633
-------------------------------------------------------------------
Mon Dec 17 13:19:24 UTC 2012 - darin@darins.net
- renamed orafce.spec to orafce.spec.in
-------------------------------------------------------------------
Thu Nov 1 19:30:27 UTC 2012 - darin@darins.net
- updated name in template
- set proper install location
-------------------------------------------------------------------
Fri Oct 26 12:47:21 UTC 2012 - darin@darins.net
- added pre_checkin.sh to generate .spec and .changes
-------------------------------------------------------------------
Thu Oct 25 13:03:26 UTC 2012 - darin@darins.net
- updated to orafce-HEAD-36ccc5b from git repository which supports
postgresql 9.2. As there's no official release i'm calling it 5a
- created .specs to support multiple versions of PG
- removed/renamed orafce.spec
-------------------------------------------------------------------
Tue Dec 13 18:58:24 UTC 2011 - darin@darins.net
- Fixed non-standard Group
-------------------------------------------------------------------
Tue Dec 13 18:51:32 UTC 2011 - darin@darins.net
- added FLEX=/usr/bin/flex to make statement in %build.
See http://pgfoundry.org/forum/forum.php?set=custom&forum_id=410&style=nested&max_rows=25&submit=Change+View
-------------------------------------------------------------------
Tue Dec 13 18:34:07 UTC 2011 - darin@darins.net
- updated package to 3.0.4
-------------------------------------------------------------------
Tue Dec 13 16:28:51 UTC 2011 - darin@darins.net
- moved %changelog to .changes file
-------------------------------------------------------------------
Fri Apr 15 2011 - Darin Perusich <darin@darins.net>
- Ported to OpenSuSE
- Update to 3.0.3
-------------------------------------------------------------------
Wed Apr 28 2010 - Jean-Francois Saucier <jfsaucier@infoglobe.ca> - 3.0.1-3
- Rename back the package to orafce after discussion on devel list
-------------------------------------------------------------------
Mon Apr 19 2010 - Jean-Francois Saucier <jfsaucier@infoglobe.ca> - 3.0.1-2
- Make some cleanup as described in #251805
- Clean %%files section
- Rename the package back to postgresql-orafce to be consistent with other extensions
-------------------------------------------------------------------
Fri Oct 2 2009 - Devrim GUNDUZ <devrim@commandprompt.com> - 3.0.1-1
- Update to 3.0.1
- Remove patch0, it is in upstream now.
- Apply some 3.0 fixes to spec.
-------------------------------------------------------------------
Wed Aug 20 2008 - Devrim GUNDUZ <devrim@commandprompt.com> - 2.1.4-1
- Update to 2.1.4
-------------------------------------------------------------------
Sun Jan 20 2008 - Devrim GUNDUZ <devrim@commandprompt.com> - 2.1.3-2
- Spec file fixes, per bz review #251805
-------------------------------------------------------------------
Mon Jan 14 2008 - Devrim GUNDUZ <devrim@commandprompt.com> - 2.1.3-1
- Update to 2.1.3
-------------------------------------------------------------------
Fri Aug 10 2007 - Devrim GUNDUZ <devrim@commandprompt.com> - 2.1.1-1
- Update to 2.1.1
- Spec file cleanup
-------------------------------------------------------------------
Wed Aug 30 2006 - Devrim GUNDUZ <devrim@commandprompt.com> - 2.0.1-1
- Initial packaging

View File

@ -1,49 +0,0 @@
#
%define gitname VERSION_3_0_9
%define pgversion 91
%define realname orafce
Name: postgresql%{pgversion}-orafce
Version: 3.0.9
Release: 7
Summary: Implementation of some Oracle functions into PostgreSQL
Group: Productivity/Databases/Tools
License: BSD
URL: http://pgfoundry.org/projects/orafce/
#Source0: http://pgfoundry.org/frs/download.php/2361/%{name}-%{version}.tar.gz
Source0: %{realname}-%{gitname}.tar.gz
# PATCH-FIX-UPSTREAM fix for upsteam https://github.com/orafce/orafce/pull/4
Patch1: orafce-orafce_sql_yyparse-bison26.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: postgresql%{pgversion}-devel openssl-devel krb5-devel bison flex
Requires: postgresql%{pgversion}-server
Provides: orafce
%description
The goal of this project is implementation some functions from Oracle database.
Some date functions (next_day, last_day, trunc, round, ...) are implemented
now. Functionality was verified on Oracle 10g and module is useful
for production work.
%prep
%setup -q -n %{realname}-%{gitname}
#%patch1 -p1
#sed -i 's/\r//' doc/style.css
%build
make USE_PGXS=1 %{?_smp_mflags} FLEX=/usr/bin/flex
%install
rm -rf $RPM_BUILD_ROOT
make USE_PGXS=1 install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYRIGHT.orafce INSTALL.orafce README.asciidoc NEWS
%{_prefix}/lib/postgresql%{pgversion}/%{_lib}
%{_datadir}/postgresql%{pgversion}/
%exclude %{_docdir}/postgresql%{pgversion}/

View File

@ -1,124 +0,0 @@
-------------------------------------------------------------------
Thu Feb 19 11:40:34 UTC 2015 - mrueckert@suse.de
- update to 3.0.9
* PostgreSQL 9.4 compilation
* new datatype and related functions: oracle.date
* new varchar2, nvarchar2 types and related functions
(Amit Langote)
* oracle.substr emulate better Oracle substr function behave
(Vinayak Pokale)
* fix few internal issues that breaks a PGXN tests (Pavel Stehule)
-------------------------------------------------------------------
Mon Oct 14 12:56:20 UTC 2013 - darin@darins.net
- rename README.orafunc to README.asciidoc
-------------------------------------------------------------------
Wed Oct 9 18:12:43 UTC 2013 - darin@darins.net
- updated to verion 3.0.6
- generate specs for PG 9.3
-------------------------------------------------------------------
Thu Aug 8 13:30:27 UTC 2013 - darin@darins.net
- patch for compilation error with Bison >=2.6
See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710633
-------------------------------------------------------------------
Mon Dec 17 13:19:24 UTC 2012 - darin@darins.net
- renamed orafce.spec to orafce.spec.in
-------------------------------------------------------------------
Thu Nov 1 19:30:27 UTC 2012 - darin@darins.net
- updated name in template
- set proper install location
-------------------------------------------------------------------
Fri Oct 26 12:47:21 UTC 2012 - darin@darins.net
- added pre_checkin.sh to generate .spec and .changes
-------------------------------------------------------------------
Thu Oct 25 13:03:26 UTC 2012 - darin@darins.net
- updated to orafce-HEAD-36ccc5b from git repository which supports
postgresql 9.2. As there's no official release i'm calling it 5a
- created .specs to support multiple versions of PG
- removed/renamed orafce.spec
-------------------------------------------------------------------
Tue Dec 13 18:58:24 UTC 2011 - darin@darins.net
- Fixed non-standard Group
-------------------------------------------------------------------
Tue Dec 13 18:51:32 UTC 2011 - darin@darins.net
- added FLEX=/usr/bin/flex to make statement in %build.
See http://pgfoundry.org/forum/forum.php?set=custom&forum_id=410&style=nested&max_rows=25&submit=Change+View
-------------------------------------------------------------------
Tue Dec 13 18:34:07 UTC 2011 - darin@darins.net
- updated package to 3.0.4
-------------------------------------------------------------------
Tue Dec 13 16:28:51 UTC 2011 - darin@darins.net
- moved %changelog to .changes file
-------------------------------------------------------------------
Fri Apr 15 2011 - Darin Perusich <darin@darins.net>
- Ported to OpenSuSE
- Update to 3.0.3
-------------------------------------------------------------------
Wed Apr 28 2010 - Jean-Francois Saucier <jfsaucier@infoglobe.ca> - 3.0.1-3
- Rename back the package to orafce after discussion on devel list
-------------------------------------------------------------------
Mon Apr 19 2010 - Jean-Francois Saucier <jfsaucier@infoglobe.ca> - 3.0.1-2
- Make some cleanup as described in #251805
- Clean %%files section
- Rename the package back to postgresql-orafce to be consistent with other extensions
-------------------------------------------------------------------
Fri Oct 2 2009 - Devrim GUNDUZ <devrim@commandprompt.com> - 3.0.1-1
- Update to 3.0.1
- Remove patch0, it is in upstream now.
- Apply some 3.0 fixes to spec.
-------------------------------------------------------------------
Wed Aug 20 2008 - Devrim GUNDUZ <devrim@commandprompt.com> - 2.1.4-1
- Update to 2.1.4
-------------------------------------------------------------------
Sun Jan 20 2008 - Devrim GUNDUZ <devrim@commandprompt.com> - 2.1.3-2
- Spec file fixes, per bz review #251805
-------------------------------------------------------------------
Mon Jan 14 2008 - Devrim GUNDUZ <devrim@commandprompt.com> - 2.1.3-1
- Update to 2.1.3
-------------------------------------------------------------------
Fri Aug 10 2007 - Devrim GUNDUZ <devrim@commandprompt.com> - 2.1.1-1
- Update to 2.1.1
- Spec file cleanup
-------------------------------------------------------------------
Wed Aug 30 2006 - Devrim GUNDUZ <devrim@commandprompt.com> - 2.0.1-1
- Initial packaging

View File

@ -1,49 +0,0 @@
#
%define gitname VERSION_3_0_9
%define pgversion 92
%define realname orafce
Name: postgresql%{pgversion}-orafce
Version: 3.0.9
Release: 7
Summary: Implementation of some Oracle functions into PostgreSQL
Group: Productivity/Databases/Tools
License: BSD
URL: http://pgfoundry.org/projects/orafce/
#Source0: http://pgfoundry.org/frs/download.php/2361/%{name}-%{version}.tar.gz
Source0: %{realname}-%{gitname}.tar.gz
# PATCH-FIX-UPSTREAM fix for upsteam https://github.com/orafce/orafce/pull/4
Patch1: orafce-orafce_sql_yyparse-bison26.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: postgresql%{pgversion}-devel openssl-devel krb5-devel bison flex
Requires: postgresql%{pgversion}-server
Provides: orafce
%description
The goal of this project is implementation some functions from Oracle database.
Some date functions (next_day, last_day, trunc, round, ...) are implemented
now. Functionality was verified on Oracle 10g and module is useful
for production work.
%prep
%setup -q -n %{realname}-%{gitname}
#%patch1 -p1
#sed -i 's/\r//' doc/style.css
%build
make USE_PGXS=1 %{?_smp_mflags} FLEX=/usr/bin/flex
%install
rm -rf $RPM_BUILD_ROOT
make USE_PGXS=1 install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYRIGHT.orafce INSTALL.orafce README.asciidoc NEWS
%{_prefix}/lib/postgresql%{pgversion}/%{_lib}
%{_datadir}/postgresql%{pgversion}/
%exclude %{_docdir}/postgresql%{pgversion}/

View File

@ -1,124 +0,0 @@
-------------------------------------------------------------------
Thu Feb 19 11:40:34 UTC 2015 - mrueckert@suse.de
- update to 3.0.9
* PostgreSQL 9.4 compilation
* new datatype and related functions: oracle.date
* new varchar2, nvarchar2 types and related functions
(Amit Langote)
* oracle.substr emulate better Oracle substr function behave
(Vinayak Pokale)
* fix few internal issues that breaks a PGXN tests (Pavel Stehule)
-------------------------------------------------------------------
Mon Oct 14 12:56:20 UTC 2013 - darin@darins.net
- rename README.orafunc to README.asciidoc
-------------------------------------------------------------------
Wed Oct 9 18:12:43 UTC 2013 - darin@darins.net
- updated to verion 3.0.6
- generate specs for PG 9.3
-------------------------------------------------------------------
Thu Aug 8 13:30:27 UTC 2013 - darin@darins.net
- patch for compilation error with Bison >=2.6
See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710633
-------------------------------------------------------------------
Mon Dec 17 13:19:24 UTC 2012 - darin@darins.net
- renamed orafce.spec to orafce.spec.in
-------------------------------------------------------------------
Thu Nov 1 19:30:27 UTC 2012 - darin@darins.net
- updated name in template
- set proper install location
-------------------------------------------------------------------
Fri Oct 26 12:47:21 UTC 2012 - darin@darins.net
- added pre_checkin.sh to generate .spec and .changes
-------------------------------------------------------------------
Thu Oct 25 13:03:26 UTC 2012 - darin@darins.net
- updated to orafce-HEAD-36ccc5b from git repository which supports
postgresql 9.2. As there's no official release i'm calling it 5a
- created .specs to support multiple versions of PG
- removed/renamed orafce.spec
-------------------------------------------------------------------
Tue Dec 13 18:58:24 UTC 2011 - darin@darins.net
- Fixed non-standard Group
-------------------------------------------------------------------
Tue Dec 13 18:51:32 UTC 2011 - darin@darins.net
- added FLEX=/usr/bin/flex to make statement in %build.
See http://pgfoundry.org/forum/forum.php?set=custom&forum_id=410&style=nested&max_rows=25&submit=Change+View
-------------------------------------------------------------------
Tue Dec 13 18:34:07 UTC 2011 - darin@darins.net
- updated package to 3.0.4
-------------------------------------------------------------------
Tue Dec 13 16:28:51 UTC 2011 - darin@darins.net
- moved %changelog to .changes file
-------------------------------------------------------------------
Fri Apr 15 2011 - Darin Perusich <darin@darins.net>
- Ported to OpenSuSE
- Update to 3.0.3
-------------------------------------------------------------------
Wed Apr 28 2010 - Jean-Francois Saucier <jfsaucier@infoglobe.ca> - 3.0.1-3
- Rename back the package to orafce after discussion on devel list
-------------------------------------------------------------------
Mon Apr 19 2010 - Jean-Francois Saucier <jfsaucier@infoglobe.ca> - 3.0.1-2
- Make some cleanup as described in #251805
- Clean %%files section
- Rename the package back to postgresql-orafce to be consistent with other extensions
-------------------------------------------------------------------
Fri Oct 2 2009 - Devrim GUNDUZ <devrim@commandprompt.com> - 3.0.1-1
- Update to 3.0.1
- Remove patch0, it is in upstream now.
- Apply some 3.0 fixes to spec.
-------------------------------------------------------------------
Wed Aug 20 2008 - Devrim GUNDUZ <devrim@commandprompt.com> - 2.1.4-1
- Update to 2.1.4
-------------------------------------------------------------------
Sun Jan 20 2008 - Devrim GUNDUZ <devrim@commandprompt.com> - 2.1.3-2
- Spec file fixes, per bz review #251805
-------------------------------------------------------------------
Mon Jan 14 2008 - Devrim GUNDUZ <devrim@commandprompt.com> - 2.1.3-1
- Update to 2.1.3
-------------------------------------------------------------------
Fri Aug 10 2007 - Devrim GUNDUZ <devrim@commandprompt.com> - 2.1.1-1
- Update to 2.1.1
- Spec file cleanup
-------------------------------------------------------------------
Wed Aug 30 2006 - Devrim GUNDUZ <devrim@commandprompt.com> - 2.0.1-1
- Initial packaging

View File

@ -1,49 +0,0 @@
#
%define gitname VERSION_3_0_9
%define pgversion 93
%define realname orafce
Name: postgresql%{pgversion}-orafce
Version: 3.0.9
Release: 7
Summary: Implementation of some Oracle functions into PostgreSQL
Group: Productivity/Databases/Tools
License: BSD
URL: http://pgfoundry.org/projects/orafce/
#Source0: http://pgfoundry.org/frs/download.php/2361/%{name}-%{version}.tar.gz
Source0: %{realname}-%{gitname}.tar.gz
# PATCH-FIX-UPSTREAM fix for upsteam https://github.com/orafce/orafce/pull/4
Patch1: orafce-orafce_sql_yyparse-bison26.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: postgresql%{pgversion}-devel openssl-devel krb5-devel bison flex
Requires: postgresql%{pgversion}-server
Provides: orafce
%description
The goal of this project is implementation some functions from Oracle database.
Some date functions (next_day, last_day, trunc, round, ...) are implemented
now. Functionality was verified on Oracle 10g and module is useful
for production work.
%prep
%setup -q -n %{realname}-%{gitname}
#%patch1 -p1
#sed -i 's/\r//' doc/style.css
%build
make USE_PGXS=1 %{?_smp_mflags} FLEX=/usr/bin/flex
%install
rm -rf $RPM_BUILD_ROOT
make USE_PGXS=1 install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYRIGHT.orafce INSTALL.orafce README.asciidoc NEWS
%{_prefix}/lib/postgresql%{pgversion}/%{_lib}
%{_datadir}/postgresql%{pgversion}/
%exclude %{_docdir}/postgresql%{pgversion}/

View File

@ -1,124 +0,0 @@
-------------------------------------------------------------------
Thu Feb 19 11:40:34 UTC 2015 - mrueckert@suse.de
- update to 3.0.9
* PostgreSQL 9.4 compilation
* new datatype and related functions: oracle.date
* new varchar2, nvarchar2 types and related functions
(Amit Langote)
* oracle.substr emulate better Oracle substr function behave
(Vinayak Pokale)
* fix few internal issues that breaks a PGXN tests (Pavel Stehule)
-------------------------------------------------------------------
Mon Oct 14 12:56:20 UTC 2013 - darin@darins.net
- rename README.orafunc to README.asciidoc
-------------------------------------------------------------------
Wed Oct 9 18:12:43 UTC 2013 - darin@darins.net
- updated to verion 3.0.6
- generate specs for PG 9.3
-------------------------------------------------------------------
Thu Aug 8 13:30:27 UTC 2013 - darin@darins.net
- patch for compilation error with Bison >=2.6
See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=710633
-------------------------------------------------------------------
Mon Dec 17 13:19:24 UTC 2012 - darin@darins.net
- renamed orafce.spec to orafce.spec.in
-------------------------------------------------------------------
Thu Nov 1 19:30:27 UTC 2012 - darin@darins.net
- updated name in template
- set proper install location
-------------------------------------------------------------------
Fri Oct 26 12:47:21 UTC 2012 - darin@darins.net
- added pre_checkin.sh to generate .spec and .changes
-------------------------------------------------------------------
Thu Oct 25 13:03:26 UTC 2012 - darin@darins.net
- updated to orafce-HEAD-36ccc5b from git repository which supports
postgresql 9.2. As there's no official release i'm calling it 5a
- created .specs to support multiple versions of PG
- removed/renamed orafce.spec
-------------------------------------------------------------------
Tue Dec 13 18:58:24 UTC 2011 - darin@darins.net
- Fixed non-standard Group
-------------------------------------------------------------------
Tue Dec 13 18:51:32 UTC 2011 - darin@darins.net
- added FLEX=/usr/bin/flex to make statement in %build.
See http://pgfoundry.org/forum/forum.php?set=custom&forum_id=410&style=nested&max_rows=25&submit=Change+View
-------------------------------------------------------------------
Tue Dec 13 18:34:07 UTC 2011 - darin@darins.net
- updated package to 3.0.4
-------------------------------------------------------------------
Tue Dec 13 16:28:51 UTC 2011 - darin@darins.net
- moved %changelog to .changes file
-------------------------------------------------------------------
Fri Apr 15 2011 - Darin Perusich <darin@darins.net>
- Ported to OpenSuSE
- Update to 3.0.3
-------------------------------------------------------------------
Wed Apr 28 2010 - Jean-Francois Saucier <jfsaucier@infoglobe.ca> - 3.0.1-3
- Rename back the package to orafce after discussion on devel list
-------------------------------------------------------------------
Mon Apr 19 2010 - Jean-Francois Saucier <jfsaucier@infoglobe.ca> - 3.0.1-2
- Make some cleanup as described in #251805
- Clean %%files section
- Rename the package back to postgresql-orafce to be consistent with other extensions
-------------------------------------------------------------------
Fri Oct 2 2009 - Devrim GUNDUZ <devrim@commandprompt.com> - 3.0.1-1
- Update to 3.0.1
- Remove patch0, it is in upstream now.
- Apply some 3.0 fixes to spec.
-------------------------------------------------------------------
Wed Aug 20 2008 - Devrim GUNDUZ <devrim@commandprompt.com> - 2.1.4-1
- Update to 2.1.4
-------------------------------------------------------------------
Sun Jan 20 2008 - Devrim GUNDUZ <devrim@commandprompt.com> - 2.1.3-2
- Spec file fixes, per bz review #251805
-------------------------------------------------------------------
Mon Jan 14 2008 - Devrim GUNDUZ <devrim@commandprompt.com> - 2.1.3-1
- Update to 2.1.3
-------------------------------------------------------------------
Fri Aug 10 2007 - Devrim GUNDUZ <devrim@commandprompt.com> - 2.1.1-1
- Update to 2.1.1
- Spec file cleanup
-------------------------------------------------------------------
Wed Aug 30 2006 - Devrim GUNDUZ <devrim@commandprompt.com> - 2.0.1-1
- Initial packaging

View File

@ -1,49 +0,0 @@
#
%define gitname VERSION_3_0_9
%define pgversion 94
%define realname orafce
Name: postgresql%{pgversion}-orafce
Version: 3.0.9
Release: 7
Summary: Implementation of some Oracle functions into PostgreSQL
Group: Productivity/Databases/Tools
License: BSD
URL: http://pgfoundry.org/projects/orafce/
#Source0: http://pgfoundry.org/frs/download.php/2361/%{name}-%{version}.tar.gz
Source0: %{realname}-%{gitname}.tar.gz
# PATCH-FIX-UPSTREAM fix for upsteam https://github.com/orafce/orafce/pull/4
Patch1: orafce-orafce_sql_yyparse-bison26.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: postgresql%{pgversion}-devel openssl-devel krb5-devel bison flex
Requires: postgresql%{pgversion}-server
Provides: orafce
%description
The goal of this project is implementation some functions from Oracle database.
Some date functions (next_day, last_day, trunc, round, ...) are implemented
now. Functionality was verified on Oracle 10g and module is useful
for production work.
%prep
%setup -q -n %{realname}-%{gitname}
#%patch1 -p1
#sed -i 's/\r//' doc/style.css
%build
make USE_PGXS=1 %{?_smp_mflags} FLEX=/usr/bin/flex
%install
rm -rf $RPM_BUILD_ROOT
make USE_PGXS=1 install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc COPYRIGHT.orafce INSTALL.orafce README.asciidoc NEWS
%{_prefix}/lib/postgresql%{pgversion}/%{_lib}
%{_datadir}/postgresql%{pgversion}/
%exclude %{_docdir}/postgresql%{pgversion}/

View File

@ -1,11 +0,0 @@
#!/bin/sh
#
VERS="91 92 93 94"
#
spec=orafce.spec.in
for ii in $VERS
do
sed "s/pgversion ##/pgversion $ii/" $spec > postgresql${ii}-orafce.spec
cp orafce.changes postgresql${ii}-orafce.changes
done