@ -3,7 +3,7 @@
Name: zbar
Version: 0.10
Release: 15 %{?dist}
Release: 16 %{?dist}
Summary: Bar code reader
Group: User Interface/X Hardware Support
@ -14,10 +14,9 @@ Patch0: zbar_update_to_hg.patch
Patch1: zbar_use_libv4l.patch
Patch2: zbar_choose_supported_format_first.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: ImageMagick-c++ libv4l libXv
BuildRequires: autoconf automake libtool python-devel gettext-devel
BuildRequires: qt4-devel gtk2-devel pygtk2-devel Image Magick-c++-devel
BuildRequires: qt4-devel gtk2-devel pygtk2-devel Graphics Magick-c++-devel
BuildRequires: libv4l-devel libXv-devel xmlto
%description
@ -90,8 +89,7 @@ scanning widget.
%build
autoreconf -vfi
autoconf
%configure --docdir=%{_docdir}/%{name}-%{version}
%configure --with-graphicsmagick --docdir=%{_docdir}/%{name}-%{version}
# rpath
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
@ -178,6 +176,9 @@ rm -rf $RPM_BUILD_ROOT
%{_includedir}/zbar/QZBar*.h
%changelog
* Fri Feb 22 2013 Mauro Carvalho Chehab <mchehab@redhat.com> - 0.10-16
- Change zbar to use GraphicsMagick instead of ImageMagick
* Fri Feb 22 2013 Mauro Carvalho Chehab <mchehab@redhat.com> - 0.10-15
- zbar 0.10 source generated via hg archive -r 0.10 ../zbar-0.10.tar.bz2
That allows to better handle the difference from 0.10 to -hg