legacy package [release 3.4.4-2mamba;Mon Aug 27 2018]

This commit is contained in:
Silvan Calarco 2024-01-06 05:30:21 +01:00
parent 231e0cd31b
commit 15fc4af47f
3 changed files with 100 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# libqrencode3 # libqrencode3
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 robust.

View File

@ -0,0 +1,12 @@
diff -Nru qrencode-3.1.1.orig//configure.ac qrencode-3.1.1/configure.ac
--- qrencode-3.1.1.orig//configure.ac 2010-02-03 01:42:12.000000000 +0100
+++ qrencode-3.1.1/configure.ac 2011-08-08 12:27:17.283893858 +0200
@@ -36,7 +36,7 @@
[build_tools=$withval], [build_tools=yes])
AM_CONDITIONAL(BUILD_TOOLS, [test "x$build_tools" = "xyes" ])
if test x$build_tools = xyes ; then
- PKG_CHECK_MODULES(png, "libpng12")
+ PKG_CHECK_MODULES(png, "libpng")
fi
dnl --with-tests

86
libqrencode3.spec Normal file
View File

@ -0,0 +1,86 @@
Name: libqrencode3
Version: 3.4.4
Release: 2mamba
Summary: A C library for encoding data in a QR Code symbol,
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://fukuchi.org/works/qrencode/index.en.html
Source: http://fukuchi.org/works/qrencode/qrencode-%{version}.tar.bz2
Patch0: libqrencode-3.1.1-libpng.patch
License: LGPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libpng-devel
BuildRequires: libz-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
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 robust.
%package devel
Group: Development/Libraries
Summary: Static libraries and headers for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
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 robust.
This package contains static libraries and header files need for development.
%prep
%setup -q -n qrencode-%{version}
#%patch0 -p1
%build
#./autogen.sh
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_bindir}/qrencode
%{_libdir}/libqrencode.so.*
%{_mandir}/man1/qrencode.1*
%doc COPYING ChangeLog NEWS README TODO
%files devel
%defattr(-,root,root)
%{_includedir}/qrencode.h
%{_libdir}/libqrencode.la
%{_libdir}/libqrencode.so
%{_libdir}/pkgconfig/libqrencode.pc
%changelog
* Mon Aug 27 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 3.4.4-2mamba
- legacy package
* Sat Jul 26 2014 Automatic Build System <autodist@mambasoft.it> 3.4.4-1mamba
- automatic version update by autodist
* Mon Aug 12 2013 Automatic Build System <autodist@mambasoft.it> 3.4.3-1mamba
- automatic version update by autodist
* Fri Mar 01 2013 Automatic Build System <autodist@mambasoft.it> 3.4.2-1mamba
- automatic version update by autodist
* Fri Oct 26 2012 Automatic Build System <autodist@mambasoft.it> 3.4.1-1mamba
- automatic version update by autodist
* Tue Aug 07 2012 Automatic Build System <autodist@mambasoft.it> 3.3.1-1mamba
- automatic version update by autodist
* Mon Aug 08 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 3.1.1-1mamba
- package created by autospec