libdmtx/libdmtx.spec

98 lines
2.7 KiB
RPMSpec
Raw Normal View History

Name: libdmtx
Version: 0.7.7
Release: 1mamba
Summary: A library for reading and writing Data Matrix 2D barcodes
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Davide Madrisan <davide.madrisan@gmail.com>
URL: http://www.libdmtx.org/
Source: https://github.com/dmtx/libdmtx.git/v%{version}/libdmtx-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
%description
Libdmtx is open source software for reading and writing Data Matrix 2D barcodes.
Data Matrix barcodes are two-dimensional symbols that hold a dense pattern of data with built-in error correction.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
Libdmtx is open source software for reading and writing Data Matrix 2D barcodes.
Data Matrix barcodes are two-dimensional symbols that hold a dense pattern of data with built-in error correction.
This package contains static libraries and header files need for development.
%package tools
Group: Graphical Desktop/Applications/Graphics
Summary: Utility applications for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description tools
The %{name}-tools package contains utility applications for %{name}.
Data Matrix barcodes are two-dimensional symbols that hold a dense pattern of data with built-in error correction.
%prep
%setup -q
./autogen.sh
%build
%configure --disable-static
# --enable-java \
# --enable-php \
# --enable-python \
# --enable-ruby
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libdmtx.so.*
%doc AUTHORS LICENSE
%files devel
%defattr(-,root,root)
%{_includedir}/dmtx.h
%{_libdir}/libdmtx.la
%{_libdir}/libdmtx.so
%{_libdir}/pkgconfig/libdmtx.pc
%{_mandir}/man3/libdmtx.3*
%doc ChangeLog NEWS README README.linux TODO
#%files tools
#%defattr(-,root,root)
#%{_bindir}/dmtxquery
#%{_bindir}/dmtxread
#%{_bindir}/dmtxwrite
#%{_mandir}/man1/dmtxquery.1*
#%{_mandir}/man1/dmtxread.1*
#%{_mandir}/man1/dmtxwrite.1*
%changelog
* Mon Jul 04 2022 Automatic Build System <autodist@mambasoft.it> 0.7.7-1mamba
- automatic version update by autodist
* Fri Aug 02 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 0.7.5-1mamba
- update to 0.7.5
* Sun Jun 26 2011 Automatic Build System <autodist@mambasoft.it> 0.7.4-1mamba
- automatic update by autodist
* Sat Jan 29 2011 Davide Madrisan <davide.madrisan@gmail.com> 0.7.2-1mamba
- package created by autospec