|
|
@ -6,7 +6,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
Name: zbar
|
|
|
|
Name: zbar
|
|
|
|
Version: 0.23.90
|
|
|
|
Version: 0.23.90
|
|
|
|
Release: 3%{?dist}
|
|
|
|
Release: 5%{?dist}
|
|
|
|
Summary: Bar code reader
|
|
|
|
Summary: Bar code reader
|
|
|
|
|
|
|
|
|
|
|
|
License: LGPLv2+
|
|
|
|
License: LGPLv2+
|
|
|
@ -15,11 +15,21 @@ Source0: https://linuxtv.org/downloads/%{name}/%{name}-%{version}.tar.bz2
|
|
|
|
Patch0: use_python3_on_python_script.patch
|
|
|
|
Patch0: use_python3_on_python_script.patch
|
|
|
|
Patch1: py311.patch
|
|
|
|
Patch1: py311.patch
|
|
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
BuildRequires: autoconf
|
|
|
|
BuildRequires: autoconf automake libtool gettext-devel
|
|
|
|
BuildRequires: automake
|
|
|
|
BuildRequires: qt5-qtbase-devel qt5-qtx11extras-devel
|
|
|
|
BuildRequires: dbus-devel
|
|
|
|
BuildRequires: gtk3-devel GraphicsMagick-devel pygobject3-devel
|
|
|
|
BuildRequires: gettext-devel
|
|
|
|
BuildRequires: libv4l-devel libXv-devel xmlto dbus-devel libSM-devel
|
|
|
|
BuildRequires: GraphicsMagick-devel
|
|
|
|
|
|
|
|
BuildRequires: gtk3-devel
|
|
|
|
|
|
|
|
BuildRequires: libSM-devel
|
|
|
|
|
|
|
|
BuildRequires: libtool
|
|
|
|
|
|
|
|
BuildRequires: libv4l-devel
|
|
|
|
|
|
|
|
BuildRequires: libXv-devel
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
BuildRequires: pygobject3-devel
|
|
|
|
|
|
|
|
BuildRequires: qt5-qtbase-devel
|
|
|
|
|
|
|
|
BuildRequires: qt5-qtx11extras-devel
|
|
|
|
|
|
|
|
BuildRequires: xmlto
|
|
|
|
%if %{JAVA}
|
|
|
|
%if %{JAVA}
|
|
|
|
BuildRequires: java-11-openjdk-devel
|
|
|
|
BuildRequires: java-11-openjdk-devel
|
|
|
|
%endif
|
|
|
|
%endif
|
|
|
@ -33,7 +43,8 @@ Code 93, Code 39, Codabar, Interleaved 2 of 5, QR Code and SQ Code.
|
|
|
|
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
%package devel
|
|
|
|
Summary: Bar code library extra development files
|
|
|
|
Summary: Bar code library extra development files
|
|
|
|
Requires: pkgconfig, %{name} = %{version}-%{release}
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
%description devel
|
|
|
|
This package contains header files and additional libraries used for
|
|
|
|
This package contains header files and additional libraries used for
|
|
|
@ -58,7 +69,9 @@ support on any application compatible with GIR, like python3.
|
|
|
|
|
|
|
|
|
|
|
|
%package gtk-devel
|
|
|
|
%package gtk-devel
|
|
|
|
Summary: Bar code reader GTK widget extra development files
|
|
|
|
Summary: Bar code reader GTK widget extra development files
|
|
|
|
Requires: pkgconfig, %{name}-gtk = %{version}-%{release}, %{name}-devel = %{version}-%{release}
|
|
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: %{name}-gtk = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
|
|
|
|
%description gtk-devel
|
|
|
|
%description gtk-devel
|
|
|
|
This package contains header files and additional libraries used for
|
|
|
|
This package contains header files and additional libraries used for
|
|
|
@ -75,7 +88,9 @@ applications based on Qt4.
|
|
|
|
|
|
|
|
|
|
|
|
%package qt-devel
|
|
|
|
%package qt-devel
|
|
|
|
Summary: Bar code reader Qt widget extra development files
|
|
|
|
Summary: Bar code reader Qt widget extra development files
|
|
|
|
Requires: pkgconfig, %{name}-qt = %{version}-%{release}, %{name}-devel = %{version}-%{release}
|
|
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: %{name}-qt = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
|
|
|
|
%description qt-devel
|
|
|
|
%description qt-devel
|
|
|
|
This package contains header files and additional libraries used for
|
|
|
|
This package contains header files and additional libraries used for
|
|
|
@ -84,7 +99,8 @@ scanning widget.
|
|
|
|
|
|
|
|
|
|
|
|
%package python3
|
|
|
|
%package python3
|
|
|
|
Summary: Bar code reader PyGTK widget
|
|
|
|
Summary: Bar code reader PyGTK widget
|
|
|
|
Requires: python3-pillow, %{name} = %{version}-%{release}
|
|
|
|
Requires: %{name} = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: python3-pillow
|
|
|
|
|
|
|
|
|
|
|
|
%description python3
|
|
|
|
%description python3
|
|
|
|
This package contains a bar code scanning widget for use on
|
|
|
|
This package contains a bar code scanning widget for use on
|
|
|
@ -93,7 +109,9 @@ python applications that work with images.
|
|
|
|
%if %{JAVA}
|
|
|
|
%if %{JAVA}
|
|
|
|
%package java
|
|
|
|
%package java
|
|
|
|
Summary: Bar code reader Java library
|
|
|
|
Summary: Bar code reader Java library
|
|
|
|
Requires: pkgconfig, %{name}-gtk = %{version}-%{release}, %{name}-devel = %{version}-%{release}
|
|
|
|
Requires: %{name}-devel = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: %{name}-gtk = %{version}-%{release}
|
|
|
|
|
|
|
|
Requires: pkgconfig
|
|
|
|
|
|
|
|
|
|
|
|
%description java
|
|
|
|
%description java
|
|
|
|
This package contains header files and additional libraries used for
|
|
|
|
This package contains header files and additional libraries used for
|
|
|
@ -203,6 +221,9 @@ rm -rf $RPM_BUILD_ROOT/usr/share/doc/zbar-%{version}/
|
|
|
|
%{_docdir}/test_python.py
|
|
|
|
%{_docdir}/test_python.py
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
%changelog
|
|
|
|
|
|
|
|
* Fri Aug 26 2022 Kalev Lember <klember@redhat.com> - 0.23.90-5
|
|
|
|
|
|
|
|
- Sort BuildRequires and Requires and split them out one per line
|
|
|
|
|
|
|
|
|
|
|
|
* Mon Aug 01 2022 Gwyn Ciesla <gwync@protonmail.com> - 0.23.90-4
|
|
|
|
* Mon Aug 01 2022 Gwyn Ciesla <gwync@protonmail.com> - 0.23.90-4
|
|
|
|
- Only build Java on supported platforms.
|
|
|
|
- Only build Java on supported platforms.
|
|
|
|
|
|
|
|
|
|
|
|