Accepting request 713708 from Application:Geo

OBS-URL: https://build.opensuse.org/request/show/713708
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zbar?expand=0&rev=11
This commit is contained in:
Dominique Leuenberger 2019-07-22 10:14:49 +00:00 committed by Git OBS Bridge
commit 33a0be7258
4 changed files with 24 additions and 11 deletions

View File

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

3
zbar-0.23.tar.bz2 Normal file
View File

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

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Sat Jul 6 10:07:41 UTC 2019 - Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Update to version 0.23:
* Support for Gtk3 (backward support with Gtk2 will be maintained.
* Support for Python 3 (backward support with Python2 will be maintained);
* Support for ZBar Gtk GObject Introspection (GIR). That allows using ZBar
Gtk3 widgets on any language that it is compatible with GIR, including
python 2 and python 3.
- Switch from ImageMagick to GraphicsMagick, the latter has significantly
less build dependencies. As it is only used by the zbarimg tool to
load images, this does not affect users of the zbar library.
- Update URL tag to point to the current upstream location
-------------------------------------------------------------------
Thu Mar 28 16:23:42 UTC 2019 - Martin Pluskal <mpluskal@suse.com>

View File

@ -20,18 +20,18 @@
%define sover 0
%define libname lib%{name}%{sover}
Name: zbar
Version: 0.22
Version: 0.23
Release: 0
Summary: Bar code reader
License: LGPL-2.0-or-later
Group: Productivity/Other
URL: http://zbar.sourceforge.net/
URL: https://github.com/mchehab/zbar
Source0: https://linuxtv.org/downloads/%{name}/%{name}-%{version}.tar.bz2
Source98: baselibs.conf
BuildRequires: libjpeg-devel
BuildRequires: pkgconfig >= 0.9.0
BuildRequires: xmlto
BuildRequires: pkgconfig(ImageMagick)
BuildRequires: pkgconfig(GraphicsMagick)
BuildRequires: pkgconfig(Qt5Core)
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Widgets)
@ -107,7 +107,7 @@ test -x "$(type -p gcc-8)" && export CC=$_
--docdir=%{_docdir}/%{name} \
--disable-static \
--without-java \
--without-python2 \
--with-python=no \
--without-gtk
make %{?_smp_mflags} V=1
@ -115,19 +115,18 @@ make %{?_smp_mflags} V=1
%make_install
find %{buildroot} -name "*.la" -or -name "*.a" | xargs rm -f
rm -rf %{buildroot}%{_datadir}/doc/zbar-%{version}/
rm -f %{buildroot}%{_docdir}/zbar/{COPYING,LICENSE,INSTALL}
rm -f %{buildroot}%{_docdir}/zbar/{COPYING,LICENSE.md,INSTALL.md}
# Lets wait for review first
rm -rf %{buildroot}%{_sysconfdir}/dbus-1/system.d/org.linuxtv.Zbar.conf
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%post -n libzbarqt0 -p /sbin/ldconfig
%postun -n libzbarqt0 -p /sbin/ldconfig
%files
%license COPYING LICENSE
%license COPYING LICENSE.md
%{_defaultdocdir}/%{name}/
%{_bindir}/zbarimg
%{_bindir}/zbarcam
@ -138,7 +137,7 @@ rm -rf %{buildroot}%{_sysconfdir}/dbus-1/system.d/org.linuxtv.Zbar.conf
%{_libdir}/libzbar.so.%{sover}*
%files -n lib%{name}-devel
%doc HACKING TODO
%doc HACKING.md TODO.md
%dir %{_includedir}/%{name}
%{_includedir}/zbar.h
%{_includedir}/zbar/Exception.h