forked from pool/gtranslator
Accepting request 55121 from home:vuntz:branches:GNOME:Apps
OBS-URL: https://build.opensuse.org/request/show/55121 OBS-URL: https://build.opensuse.org/package/show/GNOME:Apps/gtranslator?expand=0&rev=12
This commit is contained in:
parent
c9711a6a07
commit
43eb491251
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:8dfe6bb381633c14d9a1c45dc4cfe5717e10e8df1d237e6fcfb482c4d68c8b7b
|
|
||||||
size 4627831
|
|
3
gtranslator-1.9.13.tar.bz2
Normal file
3
gtranslator-1.9.13.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:c0b371b81630cf2e4efb6968c20f7580c62c34d9161c852a5d008622cd91408e
|
||||||
|
size 4655865
|
40
gtranslator-disable-update-db.patch
Normal file
40
gtranslator-disable-update-db.patch
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
Index: gtranslator-1.9.13/configure.ac
|
||||||
|
===================================================================
|
||||||
|
--- gtranslator-1.9.13.orig/configure.ac
|
||||||
|
+++ gtranslator-1.9.13/configure.ac
|
||||||
|
@@ -239,6 +239,16 @@ fi
|
||||||
|
AC_MSG_RESULT($enable_debug)
|
||||||
|
|
||||||
|
dnl -------------------------------------------------------------------
|
||||||
|
+dnl Use update-desktop-database?
|
||||||
|
+dnl -------------------------------------------------------------------
|
||||||
|
+
|
||||||
|
+AC_ARG_ENABLE(update-mimedb,
|
||||||
|
+ AC_HELP_STRING([--disable-update-mimedb],
|
||||||
|
+ [disable the update-mime-database after install [default=no]]),,
|
||||||
|
+ enable_update_mimedb=yes)
|
||||||
|
+AM_CONDITIONAL(ENABLE_UPDATE_MIMEDB, test x$enable_update_mimedb = xyes)
|
||||||
|
+
|
||||||
|
+dnl -------------------------------------------------------------------
|
||||||
|
dnl Get the date for the man-page and substitute it there and anywhere.
|
||||||
|
dnl -------------------------------------------------------------------
|
||||||
|
MY_DATE=`date +%Y-%m-%d`
|
||||||
|
Index: gtranslator-1.9.13/data/desktop/Makefile.am
|
||||||
|
===================================================================
|
||||||
|
--- gtranslator-1.9.13.orig/data/desktop/Makefile.am
|
||||||
|
+++ gtranslator-1.9.13/data/desktop/Makefile.am
|
||||||
|
@@ -19,6 +19,7 @@ EXTRA_DIST = $(Application_DATA) \
|
||||||
|
|
||||||
|
CLEANFILES = $(Application_DATA)
|
||||||
|
|
||||||
|
+if ENABLE_UPDATE_MIMEDB
|
||||||
|
UPDATE_DESKTOP = \
|
||||||
|
if [ -f $(Applicationdir)/defaults.list ] ; then \
|
||||||
|
if which update-desktop-database>/dev/null 2>&1 ; then \
|
||||||
|
@@ -31,4 +32,6 @@ install-data-hook:
|
||||||
|
|
||||||
|
uninstall-hook:
|
||||||
|
$(UPDATE_DESKTOP)
|
||||||
|
+endif
|
||||||
|
+
|
||||||
|
-include $(top_srcdir)/git.mk
|
@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 8 08:49:42 CET 2010 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
- Update to version 1.9.13:
|
||||||
|
+ Enable use of local mirrors of open-tran.eu
|
||||||
|
+ Adapt the OpenTran plugin to the new open-tran.eu API
|
||||||
|
+ Misc Bugfixes
|
||||||
|
+ Updated translations.
|
||||||
|
- Add gtranslator-disable-update-db.patch: add a
|
||||||
|
--disable-update-mimedb configure option to not run
|
||||||
|
update-desktop-database on install.
|
||||||
|
- Pass --disable-update-mimedb to configure.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Oct 9 10:49:09 CEST 2010 - vuntz@opensuse.org
|
Sat Oct 9 10:49:09 CEST 2010 - vuntz@opensuse.org
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#
|
#
|
||||||
# spec file for package gtranslator (Version 1.9.12)
|
# spec file for package gtranslator (Version 1.9.13)
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
@ -19,18 +19,22 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: gtranslator
|
Name: gtranslator
|
||||||
Version: 1.9.12
|
Version: 1.9.13
|
||||||
Release: 1
|
Release: 1
|
||||||
License: GPLv3+
|
License: GPLv3+
|
||||||
Summary: A GNOME po file editor with many bells and whistles
|
Summary: A GNOME po file editor with many bells and whistles
|
||||||
Group: Development/Tools/Other
|
Group: Development/Tools/Other
|
||||||
Url: http://gtranslator.sourceforge.net
|
Url: http://gtranslator.sourceforge.net
|
||||||
Source: http://www.kabalak.net/gtranslator/download/releases/%{version}/%{name}-%{version}.tar.bz2
|
Source: http://www.kabalak.net/gtranslator/download/releases/%{version}/%{name}-%{version}.tar.bz2
|
||||||
|
# PATCH-FIX-UPSTREAM gtranslator-disable-update-db.patch bgo#636749 vuntz@opensuse.org -- Add --disable-update-mimedb configure option
|
||||||
|
Patch0: gtranslator-disable-update-db.patch
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: gnome-doc-utils-devel
|
BuildRequires: gnome-doc-utils-devel
|
||||||
BuildRequires: gdl-devel
|
BuildRequires: gdl-devel
|
||||||
BuildRequires: glib2-devel
|
BuildRequires: glib2-devel
|
||||||
|
# Needed for patch0
|
||||||
|
BuildRequires: gnome-common
|
||||||
BuildRequires: gnome-utils-devel
|
BuildRequires: gnome-utils-devel
|
||||||
BuildRequires: gtk2-devel >= 2.16
|
BuildRequires: gtk2-devel >= 2.16
|
||||||
BuildRequires: gtksourceview-devel
|
BuildRequires: gtksourceview-devel
|
||||||
@ -66,11 +70,15 @@ files imminently.
|
|||||||
%lang_package
|
%lang_package
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
|
%patch0 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# Needed for patch0
|
||||||
|
NOCONFIGURE=1 gnome-autogen.sh
|
||||||
%configure \
|
%configure \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--disable-scrollkeeper \
|
--disable-scrollkeeper \
|
||||||
|
--disable-update-mimedb \
|
||||||
--with-gtkspell \
|
--with-gtkspell \
|
||||||
--with-dictionary
|
--with-dictionary
|
||||||
%{__make} %{?jobs:-j%jobs}
|
%{__make} %{?jobs:-j%jobs}
|
||||||
|
Loading…
Reference in New Issue
Block a user