Accepting request 894012 from home:dimstar:Factory
- Fix build: add explicit BuildRequires for libexpat-devel, libjpeg-devel, and libpng-devel. OBS-URL: https://build.opensuse.org/request/show/894012 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/wv?expand=0&rev=24
This commit is contained in:
parent
e047a89439
commit
994a47f6e5
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue May 18 09:55:23 UTC 2021 - Dominique Leuenberger <dimstar@opensuse.org>
|
||||||
|
|
||||||
|
- Fix build: add explicit BuildRequires for libexpat-devel,
|
||||||
|
libjpeg-devel, and libpng-devel.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Feb 5 20:27:17 UTC 2018 - jengelh@inai.de
|
Mon Feb 5 20:27:17 UTC 2018 - jengelh@inai.de
|
||||||
|
|
||||||
|
18
wv.spec
18
wv.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package wv
|
# spec file for package wv
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2021 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,7 +12,7 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# 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/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
@ -21,9 +21,9 @@ Name: wv
|
|||||||
Version: 1.2.9
|
Version: 1.2.9
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Tools for Importing Microsoft Word (tm) Documents
|
Summary: Tools for Importing Microsoft Word (tm) Documents
|
||||||
License: GPL-2.0+
|
License: GPL-2.0-or-later
|
||||||
Group: Productivity/Publishing/Word
|
Group: Productivity/Publishing/Word
|
||||||
Url: http://wvware.sourceforge.net/
|
URL: http://wvware.sourceforge.net/
|
||||||
Source0: https://www.abisource.com/downloads/%{name}/%{version}/%{name}-%{version}.tar.gz
|
Source0: https://www.abisource.com/downloads/%{name}/%{version}/%{name}-%{version}.tar.gz
|
||||||
Patch0: wv-1.2.2-automake.patch
|
Patch0: wv-1.2.2-automake.patch
|
||||||
Patch5: wv-1.0.3-wvText.patch
|
Patch5: wv-1.0.3-wvText.patch
|
||||||
@ -31,6 +31,9 @@ Patch9: wv-1.2.2-fiximplicit.patch
|
|||||||
Patch10: wv-strcasecmp.patch
|
Patch10: wv-strcasecmp.patch
|
||||||
Patch11: wv-gsf.patch
|
Patch11: wv-gsf.patch
|
||||||
Patch12: wv-noansi.patch
|
Patch12: wv-noansi.patch
|
||||||
|
BuildRequires: libexpat-devel
|
||||||
|
BuildRequires: libjpeg-devel
|
||||||
|
BuildRequires: libpng-devel
|
||||||
BuildRequires: libtool
|
BuildRequires: libtool
|
||||||
BuildRequires: libwmf-devel
|
BuildRequires: libwmf-devel
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
@ -83,20 +86,21 @@ CFLAGS="%{optflags} %{warn_flags} -fno-strict-aliasing -fstack-protector" \
|
|||||||
--disable-dependency-tracking \
|
--disable-dependency-tracking \
|
||||||
--disable-static
|
--disable-static
|
||||||
|
|
||||||
make %{?_smp_mflags}
|
%make_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%make_install manonedir=%{_mandir}/man1
|
%make_install manonedir=%{_mandir}/man1
|
||||||
find %{buildroot} -type f -name "*.la" -delete -print
|
find %{buildroot} -type f -name "*.la" -delete -print
|
||||||
|
|
||||||
%check
|
%check
|
||||||
make %{?_smp_mflags} check
|
%make_build check
|
||||||
|
|
||||||
%post -n %{lname} -p /sbin/ldconfig
|
%post -n %{lname} -p /sbin/ldconfig
|
||||||
%postun -n %{lname} -p /sbin/ldconfig
|
%postun -n %{lname} -p /sbin/ldconfig
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%doc COPYING README
|
%license COPYING
|
||||||
|
%doc README
|
||||||
%{_bindir}/wvAbw
|
%{_bindir}/wvAbw
|
||||||
%{_bindir}/wvCleanLatex
|
%{_bindir}/wvCleanLatex
|
||||||
%{_bindir}/wvConvert
|
%{_bindir}/wvConvert
|
||||||
|
Loading…
Reference in New Issue
Block a user