diff --git a/zbar.spec b/zbar.spec index a68f6be..d4851e3 100644 --- a/zbar.spec +++ b/zbar.spec @@ -12,7 +12,6 @@ BuildRequires: autoconf automake libtool gettext-devel BuildRequires: qt5-qtbase-devel qt5-qtx11extras-devel BuildRequires: gtk2-devel GraphicsMagick-c++-devel BuildRequires: libv4l-devel libXv-devel xmlto -BuildRequires: python2-devel pygtk2-devel %description A layered bar code scanning and decoding library. Supports EAN, UPC, Code 128, @@ -48,15 +47,6 @@ This package contains header files and additional libraries used for developing GUI applications based on GTK+-2.0 that include a bar code scanning widget. -%package pygtk -Group: Development/Libraries -Summary: Bar code reader PyGTK widget -Requires: pygtk2, python2-pillow, %{name}-gtk = %{version}-%{release} - -%description pygtk -This package contains a bar code scanning widget for use in GUI -applications based on PyGTK. - %package qt Group: Development/Libraries Summary: Bar code reader Qt widget @@ -81,7 +71,7 @@ scanning widget. %build autoreconf -vfi -%configure --without-java --with-graphicsmagick --docdir=%{_docdir}/%{name}-%{version} +%configure --without-java --with-graphicsmagick --without-python2 --docdir=%{_docdir}/%{name}-%{version} # rpath sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool @@ -142,10 +132,6 @@ rm -rf $RPM_BUILD_ROOT/usr/share/doc/zbar-%{version}/ %{_libdir}/pkgconfig/zbar-gtk.pc %{_includedir}/zbar/zbargtk.h -%files pygtk -%{python2_sitearch}/zbarpygtk.so -%{python2_sitearch}/zbar.so - %files qt %{_libdir}/libzbarqt.so.* %{_bindir}/zbarcam-qt