forked from pool/zxing-cpp
Accepting request 833742 from home:alarrosa:branches:devel:libraries:c_c++
- Add fix for pkg-config file so the version and library are set properly in the resulting .pc file: * fix-pkg-config-file.patch OBS-URL: https://build.opensuse.org/request/show/833742 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/zxing-cpp?expand=0&rev=11
This commit is contained in:
@@ -25,6 +25,7 @@ License: Apache-2.0 AND Zlib AND LGPL-2.1-with-Qt-Company-Qt-exception-1.
|
||||
Group: Development/Languages/C and C++
|
||||
URL: https://github.com/nu-book/zxing-cpp/
|
||||
Source0: https://github.com/nu-book/zxing-cpp/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||
Patch0: fix-pkg-config-file.patch
|
||||
BuildRequires: cmake >= 3.10
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: pkgconfig
|
||||
@@ -35,8 +36,8 @@ processing library. This package provides a C++ implementation.
|
||||
|
||||
%package -n libZXing%{sover}
|
||||
Summary: Library for processing 1D and 2D barcodes
|
||||
Group: System/Libraries
|
||||
# called libZXing in the 1.1.0 update
|
||||
Group: System/Libraries
|
||||
Provides: libZXingCore%{sover} = %{version}
|
||||
Obsoletes: libZXingCore%{sover} < %{version}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user