osc copypac from project:home:cgoncalves package:zbar revision:3
OBS-URL: https://build.opensuse.org/package/show/Application:Geo/zbar?expand=0&rev=1
This commit is contained in:
commit
b00d633c99
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
zbar-0.10.tar.bz2
Normal file
3
zbar-0.10.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:234efb39dbbe5cef4189cc76f37afbe3cfcfb45ae52493bfe8e191318bdbadc6
|
||||||
|
size 592602
|
5
zbar.changes
Normal file
5
zbar.changes
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Apr 2 15:45:58 UTC 2010 - cgoncalves@opensuse.org
|
||||||
|
|
||||||
|
- initial package (version 0.10)
|
||||||
|
|
225
zbar.spec
Normal file
225
zbar.spec
Normal file
@ -0,0 +1,225 @@
|
|||||||
|
#
|
||||||
|
# spec file for package zbar (Version 0.10)
|
||||||
|
#
|
||||||
|
# Copyright 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
# Copyright 2010 Carlos Goncalves <cgoncalves@opensuse.org>.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# norootforbuild
|
||||||
|
|
||||||
|
%define libname libzbar0
|
||||||
|
|
||||||
|
Name: zbar
|
||||||
|
Version: 0.10
|
||||||
|
Release: 1
|
||||||
|
Summary: Bar code reader
|
||||||
|
Group: Productivity/Other
|
||||||
|
License: LGPLv2.1+
|
||||||
|
Url: http://zbar.sourceforge.net
|
||||||
|
BuildRequires: ImageMagick-devel libqt4-devel gtk2-devel python-gtk-devel
|
||||||
|
Source: %{name}-%{version}.tar.bz2
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
AutoReqProv: on
|
||||||
|
|
||||||
|
%description
|
||||||
|
ZBar is an open source software suite for reading bar codes from various
|
||||||
|
sources, such as video streams, image files and raw intensity sensors. It
|
||||||
|
supports many popular symbologies (types of bar codes) including EAN-13/UPC-A,
|
||||||
|
UPC-E, EAN-8, Code 128, Code 39, Interleaved 2 of 5 and QR Code.
|
||||||
|
|
||||||
|
The flexible, layered implementation facilitates bar code scanning and decoding
|
||||||
|
for any application: use it stand-alone with the included GUI and command line
|
||||||
|
programs, easily integrate a bar code scanning widget into your Qt, GTK+ or
|
||||||
|
PyGTK GUI application, leverage one of the script or programming interfaces
|
||||||
|
(Python, Perl, C++) ...all the way down to a streamlined C library suitable for
|
||||||
|
embedded use.
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Jeff Brown <spadix@users.sourceforge.net>
|
||||||
|
|
||||||
|
%package -n %{libname}
|
||||||
|
Summary: ZBar library
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
|
%description -n %{libname}
|
||||||
|
This package provides the ZBar library.
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Jeff Brown <spadix@users.sourceforge.net>
|
||||||
|
|
||||||
|
|
||||||
|
%package -n %{libname}-devel
|
||||||
|
Summary: Development environment for the ZBar library
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: %{libname} = %{version}, pkgconfig
|
||||||
|
|
||||||
|
%description -n %{libname}-devel
|
||||||
|
This package contains all necessary include files, libraries,
|
||||||
|
configuration files and development tools needed to compile and link
|
||||||
|
applications using the zbar library.
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Jeff Brown <spadix@users.sourceforge.net>
|
||||||
|
|
||||||
|
%package -n python-zbar
|
||||||
|
Summary: ZBar Python bindings
|
||||||
|
Group: Productivity/Other
|
||||||
|
Requires: %{libname} = %{version}
|
||||||
|
%{py_requires}
|
||||||
|
|
||||||
|
%description -n python-zbar
|
||||||
|
This package provides ZBar Python bindings.
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Jeff Brown <spadix@users.sourceforge.net>
|
||||||
|
|
||||||
|
%package -n libzbarqt0
|
||||||
|
Summary: ZBar Qt bindings
|
||||||
|
Group: Productivity/Other
|
||||||
|
Requires: %{libname} = %{version}
|
||||||
|
|
||||||
|
%description -n libzbarqt0
|
||||||
|
This package provides ZBar Qt bindings.
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Jeff Brown <spadix@users.sourceforge.net>
|
||||||
|
|
||||||
|
%package -n libzbarqt0-devel
|
||||||
|
Summary: Development environment for the ZBar Qt bindings library
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: libzbarqt0 = %{version}, pkgconfig
|
||||||
|
|
||||||
|
%description -n libzbarqt0-devel
|
||||||
|
This package contains all necessary include files, libraries,
|
||||||
|
configuration files and development tools needed to compile and link
|
||||||
|
applications using the zbar-qt library.
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Jeff Brown <spadix@users.sourceforge.net>
|
||||||
|
|
||||||
|
%package -n libzbargtk0
|
||||||
|
Summary: ZBar Gtk bindings
|
||||||
|
Group: Productivity/Other
|
||||||
|
Requires: %{libname} = %{version}
|
||||||
|
|
||||||
|
%description -n libzbargtk0
|
||||||
|
This package provides ZBar Gtk bindings.
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Jeff Brown <spadix@users.sourceforge.net>
|
||||||
|
|
||||||
|
%package -n libzbargtk0-devel
|
||||||
|
Summary: Development environment for the ZBar Gtk bindings library
|
||||||
|
Group: Development/Libraries/C and C++
|
||||||
|
Requires: libzbargtk0 = %{version}, pkgconfig
|
||||||
|
|
||||||
|
%description -n libzbargtk0-devel
|
||||||
|
This package contains all necessary include files, libraries,
|
||||||
|
configuration files and development tools needed to compile and link
|
||||||
|
applications using the zbar-gtk library.
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Jeff Brown <spadix@users.sourceforge.net>
|
||||||
|
|
||||||
|
%package -n python-zbar-gtk
|
||||||
|
Summary: ZBar Python-Gtk bindings
|
||||||
|
Group: Productivity/Other
|
||||||
|
Requires: python-zbar = %{version}
|
||||||
|
%{py_requires}
|
||||||
|
|
||||||
|
%description -n python-zbar-gtk
|
||||||
|
This package provides ZBar Python-Gtk bindings.
|
||||||
|
|
||||||
|
Authors:
|
||||||
|
--------
|
||||||
|
Jeff Brown <spadix@users.sourceforge.net>
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure --docdir=%{_docdir}/%{name}
|
||||||
|
make %{?jobs:-j%jobs}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%makeinstall
|
||||||
|
find ${RPM_BUILD_ROOT} -name '*.la' -or -name '*.a' | xargs rm -f
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%post -n %{libname} -p /sbin/ldconfig
|
||||||
|
%post -n libzbarqt0 -p /sbin/ldconfig
|
||||||
|
%post -n libzbargtk0 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%postun -n %{libname} -p /sbin/ldconfig
|
||||||
|
%postun -n libzbarqt0 -p /sbin/ldconfig
|
||||||
|
%postun -n libzbargtk0 -p /sbin/ldconfig
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc ChangeLog README COPYING LICENSE NEWS
|
||||||
|
%_bindir/zbar*
|
||||||
|
|
||||||
|
%files -n %{libname}
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%_libdir/libzbar.so.0.2.0
|
||||||
|
%doc %{_mandir}/man1/*
|
||||||
|
|
||||||
|
%files -n %{libname}-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%dir %_includedir/%{name}
|
||||||
|
%_includedir/zbar.h
|
||||||
|
%_includedir/%{name}/*.h
|
||||||
|
%_libdir/libzbar.so
|
||||||
|
%_libdir/libzbar.so.0
|
||||||
|
%_libdir/pkgconfig/zbar.pc
|
||||||
|
|
||||||
|
%files -n python-zbar
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{py_sitedir}/zbar.so
|
||||||
|
|
||||||
|
%files -n libzbarqt0
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%_libdir/libzbarqt.so.0.0.2
|
||||||
|
|
||||||
|
%files -n libzbarqt0-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%_includedir/%{name}/QZBar*.h
|
||||||
|
%_libdir/libzbarqt.so
|
||||||
|
%_libdir/libzbarqt.so.0
|
||||||
|
%_libdir/pkgconfig/zbar-qt.pc
|
||||||
|
|
||||||
|
%files -n libzbargtk0
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%_libdir/libzbargtk.so.0.0.2
|
||||||
|
|
||||||
|
%files -n libzbargtk0-devel
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%_includedir/%{name}/zbargtk.h
|
||||||
|
%_libdir/libzbargtk.so
|
||||||
|
%_libdir/libzbargtk.so.0
|
||||||
|
%_libdir/pkgconfig/zbar-gtk.pc
|
||||||
|
|
||||||
|
%files -n python-zbar-gtk
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%{py_sitedir}/zbarpygtk.so
|
||||||
|
|
||||||
|
%changelog
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user