SHA256
1
0
forked from pool/qrencode

Accepting request 511348 from KDE:Distro:Factory

1

OBS-URL: https://build.opensuse.org/request/show/511348
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/qrencode?expand=0&rev=20
This commit is contained in:
Dominique Leuenberger 2017-07-25 09:39:09 +00:00 committed by Git OBS Bridge
parent 210e3a61ea
commit e3c881833b
4 changed files with 27 additions and 22 deletions

View File

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

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

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

View File

@ -1,3 +1,17 @@
-------------------------------------------------------------------
Tue Jul 18 14:23:32 UTC 2017 - tchvatal@suse.com
- Switch to github as an url so people can see the progress
* web is not really up-to-date
- Remove compat support for sle11
-------------------------------------------------------------------
Fri Oct 3 19:42:37 UTC 2014 - cgiboudeaux@gmx.com
- Update to 3.4.4
* Bugfix release. See the changelog file for the list of changes.
* New option "--verbose" has been added to the command line tool.
-------------------------------------------------------------------
Thu Sep 11 14:40:56 UTC 2014 - hrvoje.senjan@gmail.com

View File

@ -1,7 +1,7 @@
#
# spec file for package qrencode
#
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2017 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
@ -17,23 +17,17 @@
%define so_ver 3
Name: qrencode
Version: 3.4.3
Version: 3.4.4
Release: 0
Summary: C library for encoding data in a QR Code symbol
License: LGPL-2.1+
Group: Productivity/Graphics/Other
Url: http://fukuchi.org/works/qrencode/index.en.html
Source: http://fukuchi.org/works/qrencode/%{name}-%{version}.tar.bz2
Url: https://github.com/fukuchi/libqrencode
Source0: http://fukuchi.org/works/qrencode/%{name}-%{version}.tar.bz2
Source1: baselibs.conf
BuildRequires: pkg-config
%if !0%{?sles_version}
BuildRequires: pkgconfig
BuildRequires: pkgconfig(libpng)
%else
BuildRequires: libpng-devel
%endif
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
Libqrencode is a C library for encoding data in a QR Code symbol, a kind of 2D
@ -68,29 +62,26 @@ This package contains the development files for libqrencode.
%setup -q
%build
%configure
%configure \
--with-tools
make %{?_smp_mflags}
%install
make DESTDIR=%{buildroot} install
rm -f %{buildroot}%{_libdir}/*.la
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
%post -n libqrencode%{so_ver} -p /sbin/ldconfig
%postun -n libqrencode%{so_ver} -p /sbin/ldconfig
%files
%defattr(-,root,root,-)
%doc README TODO NEWS COPYING ChangeLog
%doc %{_mandir}/man1/qrencode.1.gz
%{_mandir}/man1/qrencode.1%{ext_man}
%{_bindir}/qrencode
%files -n libqrencode%{so_ver}
%defattr(-,root,root,-)
%{_libdir}/libqrencode.so.%{so_ver}*
%files devel
%defattr(-,root,root,-)
%{_includedir}/qrencode.h
%{_libdir}/libqrencode.so
%{_libdir}/pkgconfig/libqrencode.pc