Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2
libdmtx
libdmtx.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File libdmtx.spec of Package libdmtx
# # spec file for package libdmtx # # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany. # # 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. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: libdmtx Version: 0.7.4 Release: 0 Summary: Software for reading and writing Data Matrix barcodes License: BSD-2-Clause Group: Development/Libraries/C and C++ Url: http://libdmtx.sourceforge.net/ Source: http://downloads.sf.net/libdmtx/%{name}-%{version}.tar.bz2 Source1: baselibs.conf Patch0: libdmtx-0.7.4.diff # PATCH-FIX-UPSTREAM libdmtx-DmtxPropRowPadBytes.patch Patch1: libdmtx-DmtxPropRowPadBytes.patch # PATCH-FIX-UPSTREAM libdmtx-mosaic.patch Patch2: libdmtx-mosaic.patch # PATCH-FIX-UPSTREAM libdmtx-explicit-cast.patch Patch3: libdmtx-explicit-cast.patch BuildRequires: ImageMagick-devel BuildRequires: pkg-config BuildRoot: %{_tmppath}/%{name}-%{version}-build %description libdmtx is open source software for reading and writing Data Matrix barcodes. At its core libdmtx is a native shared library, allowing C/C++ programs to use its capabilities without extra restrictions or overhead. %package -n libdmtx0 Summary: Software for reading and writing Data Matrix barcodes License: GPL-2.0+ and LGPL-2.1+ Group: System/Libraries %description -n libdmtx0 libdmtx is open source software for reading and writing Data Matrix barcodes. At its core libdmtx is a native shared library, allowing C/C++ programs to use its capabilities without extra restrictions or overhead. %package devel Summary: Software for reading and writing Data Matrix barcodes License: GPL-2.0+ and LGPL-2.1+ Group: Development/Libraries/C and C++ Requires: libdmtx0 = %{version} %description devel libdmtx is open source software for reading and writing Data Matrix barcodes. At its core libdmtx is a native shared library, allowing C/C++ programs to use its capabilities without extra restrictions or overhead. %prep %setup -q %patch0 -p1 %patch1 -p1 %patch2 -p1 %patch3 -p1 %build %configure --disable-static make %{?_smp_mflags} %install make DESTDIR=%{buildroot} install %{?_smp_mflags} find %{buildroot} -type f -name "*.la" -delete -print %post -n libdmtx0 -p /sbin/ldconfig %postun -n libdmtx0 -p /sbin/ldconfig %files -n libdmtx0 %defattr(-,root,root,-) %doc AUTHORS LICENSE ChangeLog KNOWNBUG README %{_mandir}/man?/*dmtx* %{_libdir}/libdmtx.so.* %files devel %defattr(-,root,root,-) %{_includedir}/dmtx.h %{_libdir}/libdmtx.so %{_libdir}/pkgconfig/libdmtx.pc %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor