* Tue Jun 25 2019 Paul Wouters <pwouters@redhat.com> - 4.0.2-1
- Update to 4.0.2 and cleanup by Vasiliy N. Glazov <vascom2@gmail.com>
This commit is contained in:
parent
a36b8a9ef3
commit
1704e42d1e
1
.gitignore
vendored
1
.gitignore
vendored
@ -4,3 +4,4 @@ qrencode-3.1.1.tar.gz
|
||||
/qrencode-3.4.1.tar.gz
|
||||
/qrencode-3.4.2.tar.bz2
|
||||
/qrencode-3.4.4.tar.bz2
|
||||
/qrencode-4.0.2.tar.bz2
|
||||
|
||||
@ -1,24 +1,23 @@
|
||||
Name: qrencode
|
||||
Version: 3.4.4
|
||||
Release: 8%{?dist}
|
||||
Version: 4.0.2
|
||||
Release: 1%{?dist}
|
||||
Summary: Generate QR 2D barcodes
|
||||
|
||||
License: LGPLv2+
|
||||
URL: http://fukuchi.org/works/qrencode/
|
||||
Source0: http://fukuchi.org/works/qrencode/%{name}-%{version}.tar.bz2
|
||||
Source0: http://fukuchi.org/works/qrencode/qrencode-%{version}.tar.bz2
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: chrpath
|
||||
BuildRequires: libpng-devel
|
||||
BuildRequires: SDL-devel
|
||||
BuildRequires: chrpath
|
||||
BuildRequires: libpng-devel
|
||||
BuildRequires: SDL-devel
|
||||
## For ARM 64 support (RHBZ 926414)
|
||||
BuildRequires: autoconf >= 2.69
|
||||
BuildRequires: autoconf >= 2.69
|
||||
|
||||
%description
|
||||
Qrencode is a utility software using libqrencode to encode string data in
|
||||
a QR Code and save as a PNG image.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: QR Code encoding library - Development files
|
||||
Requires: %{name}-libs%{?_isa} = %{version}-%{release}
|
||||
@ -35,31 +34,24 @@ Summary: QR Code encoding library - Shared libraries
|
||||
The qrencode-libs package contains the shared libraries and header files for
|
||||
applications that use qrencode.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
## Rebuild configure scripts for ARM 64 support. (RHBZ 926414)
|
||||
autoconf
|
||||
%configure --with-tests
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%make_build
|
||||
|
||||
%install
|
||||
make install DESTDIR=$RPM_BUILD_ROOT INSTALL="install -p"
|
||||
rm -rf $RPM_BUILD_ROOT%{_libdir}/libqrencode.la
|
||||
chrpath --delete $RPM_BUILD_ROOT%{_bindir}/qrencode
|
||||
|
||||
%make_install INSTALL="install -p"
|
||||
rm -f %{buildroot}%{_libdir}/libqrencode.la
|
||||
chrpath --delete %{buildroot}%{_bindir}/qrencode
|
||||
|
||||
%check
|
||||
cd ./tests
|
||||
sh test_all.sh
|
||||
|
||||
%ldconfig_scriptlets libs
|
||||
|
||||
|
||||
%files
|
||||
%{_bindir}/qrencode
|
||||
%{_mandir}/man1/qrencode.1*
|
||||
@ -75,8 +67,10 @@ sh test_all.sh
|
||||
%{_libdir}/libqrencode.so
|
||||
%{_libdir}/pkgconfig/libqrencode.pc
|
||||
|
||||
|
||||
%changelog
|
||||
* Tue Jun 25 2019 Paul Wouters <pwouters@redhat.com> - 4.0.2-1
|
||||
- Update to 4.0.2 and cleanup by Vasiliy N. Glazov <vascom2@gmail.com>
|
||||
|
||||
* Sat Feb 02 2019 Fedora Release Engineering <releng@fedoraproject.org> - 3.4.4-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
|
||||
|
||||
|
||||
2
sources
2
sources
@ -1 +1 @@
|
||||
SHA512 (qrencode-3.4.4.tar.bz2) = 4835d462542e37e5460635e0dd84e291ff0976a6aec61c63f9950c1e60b446bc913220726e14f6379322bfd32ccd9bcd5fceed9ca10cb95343c952d8472b983d
|
||||
+SHA512 (qrencode-4.0.2.tar.bz2) = 2429c7938e32eacbaf327c029c7745ba33259f879661a8b6470cc617c780daf5bd1d5689599151df62e84badd2568eccab6c12f157331e512ab24a3899e0f002
|
||||
|
||||
Loading…
Reference in New Issue
Block a user