Name: libdmtx Version: 0.7.7 Release: 1 Summary: Library for working with Data Matrix 2D bar-codes License: BSD-2-Clause-Views URL: https://github.com/dmtx Source0: https://github.com/dmtx/%{name}/archive/v%{version}/%{name}-%{version}.tar.gz BuildRequires: gcc BuildRequires: libtool BuildRequires: make %description libdmtx is open source software for reading and writing Data Matrix 2D bar-codes on Linux, Unix, OS X, Windows, and mobile devices. At its core libdmtx is a shared library, allowing C/C++ programs to use its capabilities without restrictions or overhead. %package devel Summary: Development files for %{name} Requires: %{name} = %{version}-%{release} %description devel The %{name}-devel package contains libraries and header files for developing applications that use %{name}. %prep %autosetup -p1 ./autogen.sh %build %configure --disable-static %make_build %install %make_install find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';' %check make check pushd test for t in simple do ./${t}_test/${t}_test done popd %files %license LICENSE %doc AUTHORS ChangeLog KNOWNBUG README README.linux TODO %{_libdir}/%{name}.so.* %files devel %doc %{_includedir}/* %{_libdir}/%{name}.so %{_libdir}/pkgconfig/%{name}.pc %{_mandir}/man3/%{name}.3* %changelog * Mon Aug 21 2023 huayadong - 0.7.7-1 - update for 0.7.7-1 * Thu Jul 14 2022 misaka00251 - 0.7.5-1 - Init package