Browse Source

gambas2-2.24.0-6

git-svn-id: http://trac.vinelinux.org/repos/projects/specs@8785 ec354946-7b23-47d6-9f5a-488ba84defc7
tomop 9 years ago
parent
commit
8657d909fa
1 changed files with 9 additions and 3 deletions
  1. 9 3
      g/gambas2/gambas2-vl.spec

+ 9 - 3
g/gambas2/gambas2-vl.spec

@@ -2,19 +2,21 @@ Summary:	BASIC compiler, IDE and GUI builder
 Summary(ja): 	GUI ビルダーを備えた BASIC ベースの統合開発環境(IDE)
 Name:		gambas2
 Version:	2.24.0
-Release: 	5%{?_dist_release}
+Release: 	6%{?_dist_release}
 Source0:	%{name}-%{version}.tar.bz2
 Source1:	gambas2.desktop
 
 Patch0:		gambas2-2.24.0-poppler20.patch
 
+Patch100:	gambas2-2.24.0-postgresql-path.patch
+
 License:	GPL
 Group:		Applications/Development
 URL:		http://gambas.sourceforge.net/
 
 BuildRequires:	gcc >= 3.2, qt-devel >= 3.2, curl-devel >= 7.10.7
 BuildRequires:	libxml2-devel, libxslt-devel, zlib-devel, bzip2-devel
-BuildRequires:	postgresql8-devel
+BuildRequires:	libpq-devel
 BuildRequires:	libmysqlclient-devel
 BuildRequires:	unixODBC-devel, sqlite-devel, sqlite3-devel
 BuildRequires:	pcre-devel, librsvg2-devel
@@ -223,7 +225,7 @@ This component allows you to access MySQL databases.
 Summary:	The postgresql driver for the Gambas database component
 Summary(ja):	Gambas データベースコンポーネント用の postgresql ドライバ
 Group:		Applications/Development
-Requires:	%{name}-runtime = %{version}, %{name}-gb-db = %{version}, postgresql, postgresql-libs
+Requires:	%{name}-runtime = %{version}, %{name}-gb-db = %{version}
 
 %description gb-db-postgresql
 This component allows you to access postgresql databases.
@@ -773,6 +775,7 @@ GNOME 環境では gb.gtk コンポーネントを読み込むことができる
 %prep
 %setup -q
 %patch0 -p1 -b .poppler
+%patch100 -p1 -b .postgresql-path
 
 %ifarch ppc
 find . -type f -name configure -exec sed -i 's/-Os/-O2/' {} \;
@@ -1120,6 +1123,9 @@ xdg-mime install %{_datadir}/gambas2/application-x-gambas.xml
 
 
 %changelog
+* Fri Jul 11 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 2.24.0-6
+- made to use libpq-devel(PostgreSQL-9).
+
 * Sun Jul 06 2014 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.24.0-5
 - rebuild with libffi-3.0.13
 - change BuildRequires: postgresql8-devel instead of postgresql-devel