libdmtx/libdmtx.spec

117 lines
3.3 KiB
RPMSpec
Raw Normal View History

Name: libdmtx
Version: 0.7.4
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://sourceforge.net/projects/libdmtx/files/libdmtx/%{version}/libdmtx-%{version}.tar.bz2
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libbzip2-devel
BuildRequires: libexpat-devel
BuildRequires: libfftw-devel
BuildRequires: libfontconfig-devel
BuildRequires: libfreetype-devel
BuildRequires: libglib-devel
BuildRequires: libgomp-devel
BuildRequires: libICE-devel
BuildRequires: libjpeg-devel
BuildRequires: liblcms-devel
BuildRequires: liblqr-devel
BuildRequires: libltdl-devel
BuildRequires: liblzma-devel
BuildRequires: libMagick-devel
BuildRequires: libpthread-stubs-devel
BuildRequires: libSM-devel
BuildRequires: libtiff-devel
BuildRequires: libuuid-devel
BuildRequires: libX11-devel
BuildRequires: libXau-devel
BuildRequires: libxcb-devel
BuildRequires: libXdmcp-devel
BuildRequires: libXext-devel
BuildRequires: libXt-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%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
%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
* 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