.gear/rules | 3 ++ .gear/tags/list | 1 + qrencode.spec | 110 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 114 insertions(+) diff --git a/.gear/rules b/.gear/rules new file mode 100644 index 0000000..274d7d6 --- /dev/null +++ b/.gear/rules @@ -0,0 +1,3 @@ +tar: v@version@:. +diff: v@version@:. . + diff --git a/.gear/tags/list b/.gear/tags/list new file mode 100644 index 0000000..4c988bc --- /dev/null +++ b/.gear/tags/list @@ -0,0 +1 @@ +715e29fd4cd71b6e452ae0f4e36d917b43122ce8 v4.1.1 diff --git a/qrencode.spec b/qrencode.spec new file mode 100644 index 0000000..afc71a1 --- /dev/null +++ b/qrencode.spec @@ -0,0 +1,110 @@ +%define _name qrencode +%define sover 4 +%define libname lib%_name%sover + +Name: %_name +Version: 4.1.1 +Release: alt1 + +Summary: Generate QR 2D barcodes +License: LGPLv2+ +Group: File tools +Url: https://fukuchi.org/works/qrencode/index.html.en + +Vcs: https://github.com/fukuchi/libqrencode.git +Source: %name-%version.tar +#Source: https://fukuchi.org/works/qrencode/qrencode-%version.tar.gz +Patch: %name-%version-%release.patch + +BuildRequires: glibc-devel libSDL2-devel libpng-devel + +%description +Qrencode is a utility to encode string data in a QR Code and save as a PNG image. + +%package -n lib%_name%sover +Summary: A C library for encoding data in a QR Code symbol +Group: System/Libraries + +%description -n lib%_name%sover +Libqrencode is a C library for encoding data in a QR Code symbol, a kind of 2D +symbology that can be scanned by handy terminals such as a mobile phone with +CCD. The capacity of QR Code is up to 7000 digits or 4000 characters, and is +highly robustness. + +Libqrencode supports QR Code model 2, described in JIS (Japanese Industrial +Standards) X0510:2004 or ISO/IEC 18004. + +%package -n lib%_name%sover-devel +Summary: The development files for the qrencode library +Group: Development/C +Requires: lib%_name%sover = %EVR +Provides: libqrencode-devel = %EVR + +%description -n lib%_name%sover-devel +This package contains the development files for the qrencode library. + +%prep +%setup +%patch -p1 +echo -e "#! /bin/sh\n\ntrue" > use/config.rpath +mkdir m4 + +%build +%autoreconf +%configure \ + --disable-rpath \ + --with-tests \ + +%make_build + +%install +%makeinstall_std + +%check +cd ./tests +./test_all.sh + +%files +%_bindir/* +%_man1dir/* + +%files -n lib%_name%sover +%_libdir/libqrencode.so.* + +%files -n lib%_name%sover-devel +%_includedir/* +%_libdir/*.so +%_pkgconfigdir/lib%_name.pc + +%changelog +* Thu Mar 16 2023 Yuri N. Sedunov 4.1.1-alt1 +- 4.1.1 +- switched to upstream git, added Vcs tag +- BR: (SDL -> SDL2) + +* Mon Sep 17 2018 Pavel Moseev 4.0.2-alt1 +- Updated to upstream version 4.0.2 + +* Mon Aug 10 2015 Sergey V Turchin 3.4.4-alt1 +- new version + +* Tue Mar 25 2014 Sergey V Turchin 3.4.3-alt0.M70P.1 +- built for M70P + +* Tue Mar 25 2014 Sergey V Turchin 3.4.3-alt1 +- new version + +* Fri Oct 05 2012 Eugeny A. Rostovtsev (REAL) 3.3.1-alt1.1 +- Rebuilt with libpng15 + +* Tue May 15 2012 Victor Forsiuk 3.3.1-alt1 +- 3.3.1 + +* Mon Apr 02 2012 Victor Forsiuk 3.3.0-alt1 +- 3.3.0 + +* Tue Dec 27 2011 Victor Forsiuk 3.2.0-alt1 +- 3.2.0 + +* Mon Apr 04 2011 Victor Forsiuk 3.1.1-alt1 +- Initial build.