SHA256
1
0
forked from pool/eom

Accepting request 349654 from X11:MATE:Factory

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/349654
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/eom?expand=0&rev=10
This commit is contained in:
Dominique Leuenberger 2015-12-21 11:05:02 +00:00 committed by Git OBS Bridge
commit 2268d99373
5 changed files with 59 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:6d8967853bcef555cebf5c22e613ee4681392fbdc38db035bbf2e80e125473a6
size 2218924

3
eom-1.12.1.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1bc839c5f5314b3d8e9e78bdca885dfc1160ea00cc80c39842944c959df5b645
size 2213420

View File

@ -0,0 +1,22 @@
--- a/configure.ac
+++ b/configure.ac
@@ -142,6 +142,8 @@ else
have_introspection=no
fi
+AM_CONDITIONAL(HAVE_INTROSPECTION, test "x$have_introspection" = xyes)
+
# ***************
# ZLIB (required)
# ***************
--- a/src/main.c
+++ b/src/main.c
@@ -30,7 +30,7 @@
#include <dbus/dbus-glib-bindings.h>
#include <gdk/gdkx.h>
#endif
-#ifdef HAVE_INSTROSPECTION
+#ifdef HAVE_INTROSPECTION
#include <girepository.h>
#endif

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Mon Dec 7 15:13:31 UTC 2015 - sor.alexei@meowr.ru
- Update to 1.12.1:
* Fix shortcuts for several menu items in en_US locale.
* Some more fixes and cleanups.
- Enable GObject Introspection.
- Add eom-fix-introspection.patch: fixes compilation with
GObject Introspection enabled.
-------------------------------------------------------------------
Thu Nov 5 20:43:01 UTC 2015 - sor.alexei@meowr.ru

View File

@ -16,15 +16,18 @@
#
%define typelib typelib-1_0-Eom-1_0
%define _version 1.12
Name: eom
Version: 1.12.0
Version: 1.12.1
Release: 0
Summary: MATE Desktop graphics viewer
License: GPL-2.0+ and LGPL-2.1+
Group: System/GUI/Other
Url: http://mate-desktop.org/
Source: http://pub.mate-desktop.org/releases/%{_version}/%{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM eom-fix-introspection.patch -- Fix compilation with GObject Introspection enabled.
Patch0: %{name}-fix-introspection.patch
BuildRequires: hicolor-icon-theme
BuildRequires: libjpeg-devel
BuildRequires: libxml2-python
@ -34,6 +37,7 @@ BuildRequires: yelp-tools
BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(exempi-2.0)
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
BuildRequires: pkgconfig(gobject-introspection-1.0)
BuildRequires: pkgconfig(gtk+-2.0)
BuildRequires: pkgconfig(gtk+-unix-print-2.0)
BuildRequires: pkgconfig(lcms2)
@ -45,6 +49,7 @@ BuildRequires: pkgconfig(pygobject-2.0)
BuildRequires: pkgconfig(pygtk-2.0)
Requires: mate-desktop-gsettings-schemas >= %{_version}
Recommends: %{name}-lang
# mate-image-viewer was last used in openSUSE 13.1.
Provides: mate-image-viewer = %{version}
Obsoletes: mate-image-viewer < %{version}
Obsoletes: mate-image-viewer-lang < %{version}
@ -71,10 +76,22 @@ which uses the gdk-pixbuf library. It can deal with large images,
and zoom and scroll with constant memory usage. Its goals are
simplicity and standards compliance.
%package -n %{typelib}
Summary: MATE Desktop graphics viewer typelib
Group: SSystem/Libraries
%description -n %{typelib}
The Eye of MATE is a simple graphics viewer for the MATE Desktop
which uses the gdk-pixbuf library. It can deal with large images,
and zoom and scroll with constant memory usage. Its goals are
simplicity and standards compliance.
%prep
%setup -q
%patch0 -p1
%build
NOCONFIGURE=1 mate-autogen
%configure \
--libexecdir=%{_libexecdir}/%{name}
make %{?_smp_mflags}
@ -113,13 +130,18 @@ fi
%{_datadir}/icons/hicolor/*/apps/%{name}.*
%{_mandir}/man?/%{name}.?%{?ext_man}
%files lang -f %{name}.lang
%defattr(-,root,root)
%files devel
%defattr(-,root,root)
%{_includedir}/%{name}-2.20/
%{_libdir}/pkgconfig/%{name}.pc
%{_datadir}/gir-1.0/Eom-1.0.gir
%{_datadir}/gtk-doc/html/%{name}/
%files lang -f %{name}.lang
%files -n %{typelib}
%defattr(-,root,root)
%{_libdir}/girepository-1.0/Eom-1.0.typelib
%changelog