|
|
|
@ -1,16 +1,18 @@
|
|
|
|
|
Summary: Windows MetaFile Library
|
|
|
|
|
Name: libwmf
|
|
|
|
|
Version: 0.2.12
|
|
|
|
|
Release: 10%{?dist}
|
|
|
|
|
Version: 0.2.13
|
|
|
|
|
Release: 6%{?dist}
|
|
|
|
|
#libwmf is under the LGPLv2+, however...
|
|
|
|
|
#1. The tarball contains an old version of the urw-fonts under GPL+.
|
|
|
|
|
# Those fonts are not installed
|
|
|
|
|
#2. The header of the command-line wmf2plot utility places it under the GPLv2+.
|
|
|
|
|
# wmf2plot is neither built or install
|
|
|
|
|
License: LGPLv2+ and GPLv2+ and GPL+
|
|
|
|
|
License: LGPL-2.1-or-later AND GPL-2.0-or-later AND GPL-1.0-or-later
|
|
|
|
|
Source: https://github.com/caolanm/libwmf/archive/v%{version}.tar.gz
|
|
|
|
|
URL: https://github.com/caolanm/libwmf
|
|
|
|
|
|
|
|
|
|
Patch0: 1f87c35bc2a36fdca760a4577761d30d9cc876e2.patch
|
|
|
|
|
|
|
|
|
|
Provides: bundled(gd) = 2.0.0
|
|
|
|
|
|
|
|
|
|
Requires: urw-fonts
|
|
|
|
@ -19,7 +21,7 @@ Requires: %{name}-lite = %{version}-%{release}
|
|
|
|
|
# for file triggers
|
|
|
|
|
Requires: gdk-pixbuf2%{?_isa} >= 2.31.5-2.fc24
|
|
|
|
|
|
|
|
|
|
BuildRequires: gtk2-devel, libtool, libxml2-devel, libpng-devel
|
|
|
|
|
BuildRequires: freetype-devel, gdk-pixbuf2-devel, libtool, libxml2-devel, libpng-devel
|
|
|
|
|
BuildRequires: libjpeg-devel, libXt-devel, libX11-devel, dos2unix, libtool
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
|
|
|
|
@ -35,7 +37,7 @@ A library for parsing Windows MetaFile vector graphics (WMF).
|
|
|
|
|
%package devel
|
|
|
|
|
Summary: Support files necessary to compile applications with libwmf
|
|
|
|
|
Requires: libwmf = %{version}-%{release}
|
|
|
|
|
Requires: gtk2-devel, libxml2-devel, libjpeg-devel
|
|
|
|
|
Requires: freetype-devel, libX11-devel, libxml2-devel, libjpeg-devel, libpng-devel
|
|
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
|
Libraries, headers, and support files necessary to compile applications
|
|
|
|
@ -45,6 +47,8 @@ using libwmf.
|
|
|
|
|
%setup -q
|
|
|
|
|
f=README ; iconv -f iso-8859-2 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f
|
|
|
|
|
|
|
|
|
|
%patch -P 0 -p1
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
autoreconf -i -f -Ipatches
|
|
|
|
|
%configure --with-libxml2 --disable-static --disable-dependency-tracking --with-gsfontdir=/usr/share/fonts/urw-base35
|
|
|
|
@ -94,11 +98,38 @@ sed -i $RPM_BUILD_ROOT%{_datadir}/libwmf/fonts/fontmap -e 's#libwmf/fonts#fonts/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Aug 15 2022 Josef Ridky <jridky@redhat.com> - 0.2.12-10
|
|
|
|
|
- ship libwmf-devel in CRB
|
|
|
|
|
* Wed Dec 25 2024 Arkady L. Shane <tigro@msvsphere-os.ru> - 0.2.13-6
|
|
|
|
|
- Rebuilt for MSVSphere 10
|
|
|
|
|
|
|
|
|
|
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.13-6
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Jan 31 2024 Gwyn Ciesla <gwync@protonmail.com> - 0.2.13-5
|
|
|
|
|
- Upstream patch to fix FTBFS.
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.13-4
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.13-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.13-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Mon Apr 17 2023 Caolán McNamara <caolanm@redhat.com> - 0.2.13-1
|
|
|
|
|
- latest release
|
|
|
|
|
|
|
|
|
|
* Mon Apr 03 2023 Yaakov Selkowitz <yselkowi@redhat.com> - 0.2.12-12
|
|
|
|
|
- Fix build and devel dependencies
|
|
|
|
|
|
|
|
|
|
* Thu Feb 23 2023 Caolán McNamara <caolanm@redhat.com> - 0.2.12-11
|
|
|
|
|
- migrated to SPDX license
|
|
|
|
|
|
|
|
|
|
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.12-10
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Wed Feb 09 2022 Josef Ridky <jridky@redhat.com> - 0.2.12-9
|
|
|
|
|
- add gating.yaml file
|
|
|
|
|
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.12-9
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.12-8
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
|
|
|
|
|