1
0
forked from pool/gtranslator

Accepting request 74995 from home:vuntz:branches:GNOME:Apps

tweak

OBS-URL: https://build.opensuse.org/request/show/74995
OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gtranslator?expand=0&rev=23
This commit is contained in:
Vincent Untz 2011-07-01 12:19:14 +00:00 committed by Git OBS Bridge
parent 2a0b1e77bd
commit 402885ae9d
2 changed files with 13 additions and 10 deletions

View File

@ -1,15 +1,17 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jun 15 11:15:18 UTC 2011 - dimstar@opensuse.org Wed Jun 15 11:15:18 UTC 2011 - dimstar@opensuse.org
- Replace pkgconfig(libgda-4.0) BuildRequires with libgda-devel: - Add optional port to libgda 5.0:
this allows us to use libgda-4.0 and libgda-5.0 without knowledge + Add gtranslator-libgda-5.0.patch: add support for libgda-5.0
of what is in the repository. with a new --with-gda parameter.
- Pass --with-gda=4.0|5.0 to configure (4.0 and 5.0 is extracted + Add gnome-common BuildRequires and call to gnome-autogen.sh,
from the rpm database, based on what libgda-devel has been needed for the patch to be taken into account.
installed) + Replace pkgconfig(libgda-4.0) BuildRequires with libgda-devel:
- Add gtranslator-libgda-5.0.patch: Add support for libgda-5.0 with this allows us to use libgda-4.0 and libgda-5.0 without
a new --with-gda parameter. knowledge of what version is in the repository.
- Add gnome-common BuildRequires plus call to gnome-autogen.sh. + Pass --with-gda=4.0|5.0 to configure: the version (4.0 or 5.0)
is extracted from the rpm database, based on the libgda-devel
package that has been installed.
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Jun 15 09:56:24 CEST 2011 - vuntz@opensuse.org Wed Jun 15 09:56:24 CEST 2011 - vuntz@opensuse.org

View File

@ -28,10 +28,11 @@ Source: http://www.kabalak.net/gtranslator/download/releases/%{version}/
# PATCH-FIX-UPSTREAM gtranslator-libgda-5.0.patch bgo#652639 dimstar@opensuse.org -- Add support for libgda 5.0 # PATCH-FIX-UPSTREAM gtranslator-libgda-5.0.patch bgo#652639 dimstar@opensuse.org -- Add support for libgda 5.0
Patch0: gtranslator-libgda-5.0.patch Patch0: gtranslator-libgda-5.0.patch
BuildRequires: fdupes BuildRequires: fdupes
# Require by patch0 # Needed by patch0
BuildRequires: gnome-common BuildRequires: gnome-common
BuildRequires: gnome-doc-utils-devel BuildRequires: gnome-doc-utils-devel
BuildRequires: intltool BuildRequires: intltool
# Not using a pkgconfig() BuildRequires, to allow building against libgda 4.0 and 5.0
BuildRequires: libgda-devel BuildRequires: libgda-devel
BuildRequires: translation-update-upstream BuildRequires: translation-update-upstream
BuildRequires: update-desktop-files BuildRequires: update-desktop-files