From b005519d51d8aecb2d1f535ae63f76411ae11f01 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 20:04:47 +0100 Subject: [PATCH] package created by silvan using the webbuild interface [release 2.4.3-1mamba;Thu Aug 29 2013] --- README.md | 17 +++++++++ zint.spec | 103 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 120 insertions(+) create mode 100644 zint.spec diff --git a/README.md b/README.md index 139d210..75f9c9b 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,19 @@ # zint +Zint is a suite of programs to allow easy encoding of data in any of the wide range of public domain barcode standards and to allow integration of this capability into your own programs. + +Zint is able to encode data in the following formats: + +Code 11, Standard Code 2 of 5, IATA Code 2 of 5, Industrial Code 2 of 5, +Interleaved Code 2 of 5, Code 2 of 5 Data Logic, ITF-14, Deutche Post +Leitcode, Deutche Post Identcode, UPC-A, UPC-E, EAN-2, EAN-5, EAN-8, +EAN-13, UK Plessey, MSI Plessey, Telepen Alpha, Telepen Numeric, Code 39, +Extended Code 39, Code 93, PZN, Code 23, LOGMARS, Codabar, Pharmacode, Code +128, EAN-128, NVE-18, Code 16k, PDF417, MicroPDF417, Two-Track Pharmacode, +PostNet, PLANET, Australia Post 4-State Symbols, RM4SCC, USPS OneCode, GS1 +DataBar, DataBar-14, DataBar Limited, DataBar Extended, DataBar Stacked, +Composite Symbology, Data Matrix, QR Code, Maxicode, Aztec Code, EAN-13, +Micro QR, Korea Post Barcode, HIBC Code 128, HIBC Code 39, HIBC Data Matrix, +HIBC PDF417, HIBC MicroPDF417, HIBC QR Code, HIBC Aztec Code, Japanese Postal +Code, Code 49, Channel Code, Code One, Grid Matrix, FIM and Flattermarken. + diff --git a/zint.spec b/zint.spec new file mode 100644 index 0000000..6eba8bf --- /dev/null +++ b/zint.spec @@ -0,0 +1,103 @@ +Name: zint +Version: 2.4.3 +Release: 1mamba +Summary: A suite of programs to allow easy encoding of data in barcode standards +Group: Graphical Desktop/Applications/Tools +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://sourceforge.net/projects/zint +Source: http://downloads.sourceforge.net/project/zint/zint/%{version}/zint-%{version}.tar.gz +License: GPL +## AUTOBUILDREQ-BEGIN +BuildRequires: glibc-devel +BuildRequires: libgcc +BuildRequires: libpng-devel +BuildRequires: libqt4-devel +BuildRequires: libstdc++6-devel +BuildRequires: libz-devel +## AUTOBUILDREQ-END +BuildRequires: cmake +Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +Zint is a suite of programs to allow easy encoding of data in any of the wide range of public domain barcode standards and to allow integration of this capability into your own programs. + +Zint is able to encode data in the following formats: + +Code 11, Standard Code 2 of 5, IATA Code 2 of 5, Industrial Code 2 of 5, +Interleaved Code 2 of 5, Code 2 of 5 Data Logic, ITF-14, Deutche Post +Leitcode, Deutche Post Identcode, UPC-A, UPC-E, EAN-2, EAN-5, EAN-8, +EAN-13, UK Plessey, MSI Plessey, Telepen Alpha, Telepen Numeric, Code 39, +Extended Code 39, Code 93, PZN, Code 23, LOGMARS, Codabar, Pharmacode, Code +128, EAN-128, NVE-18, Code 16k, PDF417, MicroPDF417, Two-Track Pharmacode, +PostNet, PLANET, Australia Post 4-State Symbols, RM4SCC, USPS OneCode, GS1 +DataBar, DataBar-14, DataBar Limited, DataBar Extended, DataBar Stacked, +Composite Symbology, Data Matrix, QR Code, Maxicode, Aztec Code, EAN-13, +Micro QR, Korea Post Barcode, HIBC Code 128, HIBC Code 39, HIBC Data Matrix, +HIBC PDF417, HIBC MicroPDF417, HIBC QR Code, HIBC Aztec Code, Japanese Postal +Code, Code 49, Channel Code, Code One, Grid Matrix, FIM and Flattermarken. + +%package -n lib%{name} +Group: System/Libraries +Summary: Shared libraries for %{name} + +%description -n lib%{name} +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} + +%description -n lib%{name}-devel +This package contains libraries and header files for developing applications that use %{name}. + + +%debug_package + +%prep +%setup -q + +%build +%cmake -d build +%make + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +%makeinstall -C build + +install -D -m0644 zint-qt.desktop %{buildroot}%{_datadir}/applications/zint-qt.desktop +install -D -m0644 frontend_qt4/res/zint.ico %{buildroot}%{_datadir}/pixmaps/zint.ico + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post -n lib%{name} -p /sbin/ldconfig +%postun -n lib%{name} -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%{_bindir}/zint +%{_bindir}/zint-qt +%{_datadir}/applications/zint-qt.desktop +%{_datadir}/pixmaps/zint.ico + +%files -n lib%{name} +%defattr(-,root,root) +%{_libdir}/libQZint.so.* +%{_libdir}/libzint.so.* +%doc COPYING + +%files -n lib%{name}-devel +%defattr(-,root,root) +%{_includedir}/qzint.h +%{_includedir}/zint.h +%{_libdir}/libQZint.so +%{_libdir}/libzint.so +%{_datadir}/cmake/Modules/FindZint.cmake + +%changelog +* Thu Aug 29 2013 Silvan Calarco 2.4.3-1mamba +- package created by silvan using the webbuild interface