package created using the webbuild interface [release 1.0.8-1mamba;Sat Jan 11 2020]

This commit is contained in:
Silvan Calarco 2024-01-05 20:05:47 +01:00
parent 13b9dec2cf
commit f35e1136ef
2 changed files with 82 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# zxing-cpp
C++ port of ZXing.

zxing-cpp.spec Normal file
View File

@ -0,0 +1,80 @@
Name: zxing-cpp
Version: 1.0.8
Release: 1mamba
Summary: C++ port of ZXing
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <>
## GITSOURCE v1.0.8
License: Apache License 2.0
BuildRequires: glibc-devel
BuildRequires: ldconfig
BuildRequires: libgcc
BuildRequires: libstdc++6-devel
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
BuildRoot: %{_tmppath}/%{name}-%{version}-root
C++ port of ZXing.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
%description -n lib%{name}
C++ port of ZXing.
This package contains shared libraries for %{name}.
%package -n lib%{name}-devel
Group: Development/Libraries
Summary: Development files for %{name}
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
Requires: pkg-config
%description -n lib%{name}-devel
This package contains libraries and header files for developing applications that use %{name}.
%setup -q
%cmake -d build
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name} -p /sbin/ldconfig
%postun -n lib%{name} -p /sbin/ldconfig
%files -n lib%{name}
%files -n lib%{name}-devel
%dir %{_includedir}/ZXing
%dir %{_libdir}/cmake/ZXing
* Sat Jan 11 2020 Silvan Calarco <> 1.0.8-1mamba
- package created using the webbuild interface