SHA256
1
0
forked from pool/qrencode

Accepting request 728726 from KDE:Distro:Factory

OBS-URL: https://build.opensuse.org/request/show/728726
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qrencode?expand=0&rev=22
This commit is contained in:
Dominique Leuenberger 2019-09-09 10:19:53 +00:00 committed by Git OBS Bridge
parent e89e6c0c95
commit db0f8cfcfb
5 changed files with 26 additions and 25 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c90035e16921117d4086a7fdee65aab85be32beb4a376f6b664b8a425d327d0b
size 429244

3
qrencode-4.0.2.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c9cb278d3b28dcc36b8d09e8cad51c0eca754eb004cb0247d4703cb4472b58b4
size 430309

View File

@ -1,7 +1,7 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f08b2cb..b87d2ac 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
Index: qrencode-4.0.2/CMakeLists.txt
===================================================================
--- qrencode-4.0.2.orig/CMakeLists.txt
+++ qrencode-4.0.2/CMakeLists.txt
@@ -110,7 +110,7 @@ endif()
set(prefix "${CMAKE_INSTALL_PREFIX}")
@ -11,15 +11,3 @@ index f08b2cb..b87d2ac 100644
set(includedir "${CMAKE_INSTALL_PREFIX}/include")
set(VERSION "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")
@@ -118,9 +118,9 @@ configure_file(qrencode.1.in qrencode.1 @ONLY)
configure_file(libqrencode.pc.in libqrencode.pc @ONLY)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/qrencode.1 DESTINATION share/man/man1)
-install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libqrencode.pc DESTINATION lib/pkgconfig)
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libqrencode.pc DESTINATION lib${LIB_SUFFIX}/pkgconfig)
install(FILES qrencode.h DESTINATION include)
-install(TARGETS qrencode DESTINATION lib)
+install(TARGETS qrencode DESTINATION lib${LIB_SUFFIX})
## Build utility tools
if(WITH_TOOLS AND TARGET PNG::PNG)

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Fri Sep 6 08:17:07 UTC 2019 - Luigi Baldoni <aloisio@gmx.com>
- Update to version 4.0.2
* Build script fixes. (Thanks to @mgorny)
version 4.0.1
* CMake support improved.
* New test scripts have been added.
* Some compile time warnings have been fixed.
- Refreshed qrencode-fix-installation.patch
-------------------------------------------------------------------
Wed Jan 24 10:57:58 UTC 2018 - christophe@krop.fr

View File

@ -1,7 +1,7 @@
#
# spec file for package qrencode
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,19 +12,19 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define so_ver 4
Name: qrencode
Version: 4.0.0
Version: 4.0.2
Release: 0
Summary: C library for encoding data in a QR Code symbol
License: LGPL-2.1+
License: LGPL-2.1-or-later
Group: Productivity/Graphics/Other
Url: https://github.com/fukuchi/libqrencode
Source0: http://fukuchi.org/works/qrencode/%{name}-%{version}.tar.bz2
Source0: https://fukuchi.org/works/qrencode/%{name}-%{version}.tar.bz2
Source1: baselibs.conf
# PATCH-FIX-UPSTREAM -- qrencode-fix_installation.patch
Patch0: qrencode-fix-installation.patch
@ -76,7 +76,8 @@ This package contains the development files for libqrencode.
%postun -n libqrencode%{so_ver} -p /sbin/ldconfig
%files
%doc README TODO NEWS COPYING ChangeLog
%license COPYING
%doc README TODO NEWS ChangeLog
%{_mandir}/man1/qrencode.1%{ext_man}
%{_bindir}/qrencode