Ana Guerrero 2024-05-27 09:44:48 +00:00 committed by Git OBS Bridge
commit 1e70e9fbdb
4 changed files with 24 additions and 7 deletions

View File

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

3
libpaper-2.2.5.tar.gz Normal file
View File

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

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Fri May 24 07:55:14 UTC 2024 - Dr. Werner Fink <werner@suse.de>
- Update 2.2.5:
* This release exports the symbol defaultpaper, which was previously missing.
* Former release adds missing license files (GPL 3 and MIT) to the source tarball.
* Former release fixes the build when configured without --enable-relocatable
* Former release fixes the license headers of paper.c and paper.h
* Former release merely puts the correct copyright holders in the copy of
the MIT License.
* Former release adds the option of using the library under the MIT license
when it is built without relocation support (--enable-relocatable).
It achieves this by replacing all the other LGPLed code from gnulib
with alternative code.
-------------------------------------------------------------------
Thu Feb 15 13:39:20 UTC 2024 - Paolo Stivanin <info@paolostivanin.com>

View File

@ -19,7 +19,7 @@
%define sover 2
Name: libpaper
Version: 2.1.3
Version: 2.2.5
Release: 0
Summary: Enables users to indicate their preferred paper size
License: GPL-3.0-or-later
@ -71,12 +71,14 @@ This package contains all devel files needed by the libpaper package
%build
%configure \
--disable-static
--disable-static \
--enable-relocatable \
--enable-year2038
%make_build
%install
%make_install
rm -vRf %{buildroot}%{_datadir}/doc/libpaper/README
rm -vRf %{buildroot}%{_datadir}/doc/libpaper/README.md
find %{buildroot}%{_libdir} -name *libpaper.la -delete
%post -n %{name}%{sover} -p /sbin/ldconfig
@ -84,7 +86,7 @@ find %{buildroot}%{_libdir} -name *libpaper.la -delete
%files
%license COPYING
%doc README
%doc README.md
%config %{_sysconfdir}/paperspecs
%{_mandir}/man5/paperspecs.5.gz