forked from pool/qrencode
Accepting request 184496 from KDE:Distro:Factory
Update to 3.4.2, Removed qrencode-libpng16.patch (fixed upstream) (forwarded request 184454 from adra) OBS-URL: https://build.opensuse.org/request/show/184496 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qrencode?expand=0&rev=15
This commit is contained in:
parent
a21f0eac69
commit
7b977e07ef
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:8b7a5a5fc7389a5bcaec4f2ad814c2562424991ab908067d00f8e0868d2aa5f0
|
||||
size 375563
|
3
qrencode-3.4.2.tar.bz2
Normal file
3
qrencode-3.4.2.tar.bz2
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:fc492a506a1460c1ce850ff6137db55cb2e3d466f4c559108aae3a96d623c1b1
|
||||
size 375876
|
@ -1,12 +0,0 @@
|
||||
Index: qrencode-3.4.1/qrenc.c
|
||||
===================================================================
|
||||
--- qrencode-3.4.1.orig/qrenc.c
|
||||
+++ qrencode-3.4.1/qrenc.c
|
||||
@@ -26,6 +26,7 @@
|
||||
#endif
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
+#include <string.h>
|
||||
#include <png.h>
|
||||
#include <getopt.h>
|
||||
|
@ -1,3 +1,12 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Jul 26 20:24:06 UTC 2013 - asterios.dramis@gmail.com
|
||||
|
||||
- Update to 3.4.2:
|
||||
* Memory leak bug has been fixed.
|
||||
* Micro QR Code encoding bug has been fixed.
|
||||
* String splitting has been improved.
|
||||
- Removed qrencode-libpng16.patch (fixed upstream).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 15 11:48:31 UTC 2013 - pgajdos@suse.com
|
||||
|
||||
|
@ -16,16 +16,16 @@
|
||||
#
|
||||
|
||||
|
||||
%define so_ver 3
|
||||
|
||||
Name: qrencode
|
||||
Version: 3.4.1
|
||||
Version: 3.4.2
|
||||
Release: 0
|
||||
Summary: C library for encoding data in a QR Code symbol
|
||||
License: LGPL-2.1+
|
||||
Group: Development/Libraries/C and C++
|
||||
Group: Productivity/Graphics/Other
|
||||
Url: http://fukuchi.org/works/qrencode/index.en.html
|
||||
Source: http://fukuchi.org/works/qrencode/%{name}-%{version}.tar.bz2
|
||||
# PATCH-FIX-UPSTREAM libharu-libpng16.patch -- fix build with libpng 1.6.0, sent to kentaro@fukuchi.org
|
||||
Patch0: qrencode-libpng16.patch
|
||||
Source0: http://fukuchi.org/works/qrencode/%{name}-%{version}.tar.bz2
|
||||
BuildRequires: pkg-config
|
||||
%if !0%{?sles_version}
|
||||
BuildRequires: pkgconfig(libpng)
|
||||
@ -36,43 +36,47 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%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.
|
||||
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 -n libqrencode3
|
||||
%package -n libqrencode%{so_ver}
|
||||
Summary: C library for encoding data in a QR Code symbol
|
||||
Group: Development/Libraries/C and C++
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n libqrencode3
|
||||
%description -n libqrencode%{so_ver}
|
||||
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.
|
||||
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
|
||||
Summary: C library for encoding data in a QR Code symbol
|
||||
Summary: C library for encoding data in a QR Code symbol - Development files
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: libqrencode3 = %{version}
|
||||
Requires: libqrencode%{so_ver} = %{version}
|
||||
|
||||
%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.
|
||||
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 the development files for libqrencode.
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
|
||||
%build
|
||||
%configure --with-tools
|
||||
%configure
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make DESTDIR=%{buildroot} install
|
||||
rm -f %{buildroot}%{_libdir}/*.la
|
||||
|
||||
%post -n libqrencode3 -p /sbin/ldconfig
|
||||
%post -n libqrencode%{so_ver} -p /sbin/ldconfig
|
||||
|
||||
%postun -n libqrencode3 -p /sbin/ldconfig
|
||||
%postun -n libqrencode%{so_ver} -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
@ -80,9 +84,9 @@ rm -f %{buildroot}%{_libdir}/*.la
|
||||
%doc %{_mandir}/man1/qrencode.1.gz
|
||||
%{_bindir}/qrencode
|
||||
|
||||
%files -n libqrencode3
|
||||
%files -n libqrencode%{so_ver}
|
||||
%defattr(-,root,root,-)
|
||||
%{_libdir}/libqrencode.so.*
|
||||
%{_libdir}/libqrencode.so.%{so_ver}*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
|
Loading…
Reference in New Issue
Block a user