649943
Summary: Windows MetaFile Library
649943
Name: libwmf
649943
Version: 0.2.12
9bc045
Release: 10%{?dist}
649943
#libwmf is under the LGPLv2+, however...
649943
#1. The tarball contains an old version of the urw-fonts under GPL+.
649943
#   Those fonts are not installed
649943
#2. The header of the command-line wmf2plot utility places it under the GPLv2+.
649943
#   wmf2plot is neither built or install
649943
License: LGPLv2+ and GPLv2+ and GPL+
649943
Source: https://github.com/caolanm/libwmf/archive/v%{version}.tar.gz
649943
URL: https://github.com/caolanm/libwmf
649943
649943
Provides: bundled(gd) = 2.0.0
649943
649943
Requires: urw-fonts
649943
Requires: %{name}-lite = %{version}-%{release}
649943
649943
# for file triggers
649943
Requires: gdk-pixbuf2%{?_isa} >= 2.31.5-2.fc24
649943
649943
BuildRequires: gtk2-devel, libtool, libxml2-devel, libpng-devel
649943
BuildRequires: libjpeg-devel, libXt-devel, libX11-devel, dos2unix, libtool
649943
BuildRequires: make
649943
649943
%description
649943
A library for reading and converting Windows MetaFile vector graphics (WMF).
649943
649943
%package lite
649943
Summary: Windows Metafile parser library
649943
649943
%description lite
649943
A library for parsing Windows MetaFile vector graphics (WMF).
649943
649943
%package devel
649943
Summary: Support files necessary to compile applications with libwmf
649943
Requires: libwmf = %{version}-%{release}
649943
Requires: gtk2-devel, libxml2-devel, libjpeg-devel
649943
649943
%description devel
649943
Libraries, headers, and support files necessary to compile applications 
649943
using libwmf.
649943
649943
%prep
649943
%setup -q
649943
f=README ; iconv -f iso-8859-2 -t utf-8 $f > $f.utf8 ; mv $f.utf8 $f
649943
649943
%build
649943
autoreconf -i -f -Ipatches
649943
%configure --with-libxml2 --disable-static --disable-dependency-tracking --with-gsfontdir=/usr/share/fonts/urw-base35
649943
%make_build
649943
649943
%install
649943
%make_install
649943
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
649943
649943
rm -rf $RPM_BUILD_ROOT%{_includedir}/libwmf/gd
649943
find doc -name "Makefile*" -exec rm {} \;
649943
649943
#we're carrying around duplicate fonts
649943
rm -rf $RPM_BUILD_ROOT%{_datadir}/libwmf/fonts/*afm
649943
rm -rf $RPM_BUILD_ROOT%{_datadir}/libwmf/fonts/*t1
649943
sed -i $RPM_BUILD_ROOT%{_datadir}/libwmf/fonts/fontmap -e 's#libwmf/fonts#fonts/urw-base35#g'
649943
649943
%ldconfig_scriptlets
649943
%ldconfig_scriptlets lite
649943
649943
%files
649943
%{_libdir}/libwmf-0.2.so.7*
649943
%{_libdir}/gdk-pixbuf-2.0/*/loaders/*.so
649943
%{_bindir}/wmf2svg
649943
%{_bindir}/wmf2gd
649943
%{_bindir}/wmf2eps
649943
%{_bindir}/wmf2fig
649943
%{_bindir}/wmf2x
649943
%{_bindir}/libwmf-fontmap
649943
%{_datadir}/libwmf/
649943
649943
%files lite
649943
%doc AUTHORS README
649943
%license COPYING
649943
%{_libdir}/libwmflite-0.2.so.7*
649943
649943
%files devel
649943
%doc doc/*.html
649943
%doc doc/*.png
649943
%doc doc/*.gif
649943
%doc doc/html
649943
%doc doc/caolan
649943
%{_libdir}/libwmf*.so
649943
%{_libdir}/pkgconfig/libwmf.pc
649943
%{_includedir}/libwmf/
649943
%{_bindir}/libwmf-config
649943
649943
649943
%changelog
9bc045
* Mon Aug 15 2022 Josef Ridky <jridky@redhat.com> - 0.2.12-10
9bc045
- ship libwmf-devel in CRB
9bc045
649943
* Wed Feb 09 2022 Josef Ridky <jridky@redhat.com> - 0.2.12-9
649943
- add gating.yaml file
649943
649943
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.12-8
649943
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
649943
649943
* Thu Jul 22 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.12-7
649943
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
649943
649943
* Tue May 18 2021 Caolán McNamara <caolanm@redhat.com> - 0.2.12-6
649943
- document that libwmf bundles a modified old copy of gd 2.0.1
649943
  https://fedoraproject.org/wiki/Bundled_Libraries#Requirement_if_you_bundle
649943
649943
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.12-5
649943
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
649943
649943
* Tue Jul 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.12-4
649943
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
649943
649943
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.12-3
649943
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
649943
649943
* Thu Jul 25 2019 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.12-2
649943
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
649943
649943
* Fri Feb 01 2019 Caolán McNamara <caolanm@redhat.com> - 0.2.12-1
649943
- Related: rhbz#1671392/rhbz#1671621 unwanted soname bump
649943
649943
* Fri Feb 01 2019 Rex Dieter <rdieter@fedoraproject.org> - 0.2.11-2
649943
- track library sonames so bumps aren't a surprise
649943
- use %%make_build %%make_install macros
649943
649943
* Thu Jan 31 2019 Caolán McNamara <caolanm@redhat.com> - 0.2.11-1
649943
- Resolves: rhbz#1671392 CVE-2019-6978 latest version
649943
649943
* Fri Aug 10 2018 Caolán McNamara <caolanm@redhat.com> - 0.2.10-1
649943
- latest version
649943
649943
* Fri Aug 10 2018 Caolán McNamara <caolanm@redhat.com> - 0.2.9-5
649943
- Related: rhbz#1602602 fix more clang warnings
649943
649943
* Fri Aug 10 2018 Igor Gnatenko <ignatenkobrain@fedoraproject.org> - 0.2.9-4
649943
- Switch to %%ldconfig_scriptlets
649943
649943
* Fri Aug 10 2018 Caolán McNamara <caolanm@redhat.com> - 0.2.9-3
649943
- Related: rhbz#1602602 fix more clang warnings
649943
649943
* Fri Aug 10 2018 Caolán McNamara <caolanm@redhat.com> - 0.2.9-2
649943
- Related: rhbz#1602602 fix clang warnings
649943
649943
* Wed Aug 08 2018 Caolán McNamara <caolanm@redhat.com> - 0.2.9-1
649943
- Resolves: rhbz#1602602 new version with covscan warnings fixed
649943
- all cve fixes merged to that new upstream
649943
649943
* Wed Aug 08 2018 Caolán McNamara <caolanm@redhat.com> - 0.2.8.4-56
649943
- Resolves: rhbz#1595490 make libwmf work again with recent urw-fonts
649943
649943
* Fri Jul 13 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8.4-55
649943
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
649943
649943
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8.4-54
649943
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
649943
649943
* Tue Sep 12 2017 Caolán McNamara <caolanm@redhat.com> - 0.2.8.4-53
649943
- Resolves: rhbz#1489844 CVE-2017-6362 remove afflicted but unused function
649943
649943
* Thu Aug 03 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8.4-52
649943
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
649943
649943
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8.4-51
649943
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
649943
649943
* Wed Feb 08 2017 Caolán McNamara <caolanm@redhat.com> - 0.2.8.4-50
649943
- CVE-2016-9317, CVE-2016-10167, CVE-2016-10168
649943
649943
* Wed Oct 26 2016 Caolán McNamara <caolanm@redhat.com> - 0.2.8.4-49
649943
- Resolves: rhbz#1388451 (CVE-2016-9011) check max claimed record len
649943
            against max seekable position
649943
649943
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 0.2.8.4-48
649943
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
649943
649943
* Wed Sep 02 2015 Caolán McNamara <caolanm@redhat.com> - 0.2.8.4-47
649943
- Related: rhbz#1227244 CVE-2015-4696 fix patch context
649943
649943
* Fri Aug 14 2015 Matthias Clasen <mclasen@redhat.com> - 0.2.8.4-46
649943
- Rely on gdk-pixbuf2 file triggers
649943
649943
* Tue Jun 23 2015 Caolán McNamara <caolanm@redhat.com> - 0.2.8.4-45
649943
- Related: rhbz#1227244 CVE-2015-4695 meta_pen_create heap buffer overflow
649943
- Related: rhbz#1227244 CVE-2015-4696 wmf2gd/wmf2eps use after free
649943
649943
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.8.4-44
649943
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
649943
649943
* Tue Jun 09 2015 Caolán McNamara <caolanm@redhat.com> - 0.2.8.4-43
649943
- Resolves: rhbz#1227244 CVE-2015-0848 heap overflow when decoding BMP images
649943
649943
* Tue Jun 02 2015 Caolán McNamara <caolanm@redhat.com> - 0.2.8.4-42
649943
- Resolves: rhbz#1227244 CVE-2015-0848 heap overflow when decoding BMP images
649943
649943
* Sat Feb 21 2015 Till Maas <opensource@till.name> - 0.2.8.4-41
649943
- Rebuilt for Fedora 23 Change
649943
  https://fedoraproject.org/wiki/Changes/Harden_all_packages_with_position-independent_code
649943
649943
* Sun Aug 17 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.8.4-40
649943
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild
649943
649943
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.8.4-39
649943
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
649943
649943
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.8.4-38
649943
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
649943
649943
* Thu Apr 04 2013 Caolán McNamara <caolanm@redhat.com> - 0.2.8.4-37
649943
- Resolves: rhbz#925929 support aarch64
649943
649943
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.8.4-36
649943
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
649943
649943
* Fri Jan 18 2013 Adam Tkac <atkac redhat com> - 0.2.8.4-35
649943
- rebuild due to "jpeg8-ABI" feature drop
649943
649943
* Fri Dec 21 2012 Adam Tkac <atkac redhat com> - 0.2.8.4-34
649943
- rebuild against new libjpeg
649943
649943
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.8.4-33
649943
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
649943
649943
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.8.4-32
649943
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
649943
649943
* Mon Dec 05 2011 Adam Jackson <ajax@redhat.com> 0.2.8.4-31
649943
- Rebuild for new libpng
649943
649943
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.8.4-30
649943
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
649943
649943
* Tue Dec 07 2010 Caolán McNamara <caolanm@redhat.com> - 0.2.8.4-29
649943
- drop bogus buildrequires
649943
649943
* Mon Dec 06 2010 Caolán McNamara <caolanm@redhat.com> - 0.2.8.4-28
649943
- Resolves: rhbz#660161 security issues
649943
649943
* Mon Oct 18 2010 Parag Nemade <paragn AT fedoraproject.org> - 0.2.8.4-27
649943
- Merge-review cleanup (#226058)
649943
649943
* Thu Jul 08 2010 Caolán McNamara <caolanm@redhat.com> - 0.2.8.4-26
649943
- Move docs into -lite subpackage that all the rest require to
649943
  fulfil subpackage licencing rules
649943
649943
* Tue Jun 29 2010 Matthias Clasen <mclasen@redhat.com> - 0.2.8.4-25
649943
- Remove explicit file deps
649943
649943
* Mon Jun 28 2010 Matthias Clasen <mclasen@redhat.com> - 0.2.8.4-23
649943
- Adapt to standalone gdk-pixbuf
649943
649943
* Fri Apr 16 2010 Caolán McNamara <caolanm@redhat.com> - 0.2.8.4-22
649943
- Clarify licences
649943
649943
* Sat Jul 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.8.4-21
649943
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
649943
649943
* Tue May 26 2009 Caolán McNamara <caolanm@redhat.com> - 0.2.8.4-20
649943
- Resolves: CVE-2009-1364
649943
649943
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.2.8.4-19
649943
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
649943
649943
* Wed Feb 13 2008 Ville Skyttä <ville.skytta at iki.fi> - 0.2.8.4-18
649943
- Split libwmflite (WMF parser) into -lite subpackage (#432651).
649943
- Build with dependency tracking disabled.
649943
- Convert docs to UTF-8.
649943
649943
* Wed Aug 29 2007 Caolan McNamara <caolanm@redhat.com> 0.2.8.4-17
649943
- rebuild
649943
649943
* Thu Aug 02 2007 Caolan McNamara <caolanm@redhat.com> 0.2.8.4-16
649943
- I wrote it and still had to check the headers to see if I had
649943
  cut and pasted "and later" into then
649943
649943
* Thu May 24 2007 Caolan McNamara <caolanm@redhat.com> 0.2.8.4-15
649943
- drop duplicate font metrics
649943
649943
* Thu Feb 15 2007 Caolan McNamara <caolanm@redhat.com> 0.2.8.4-14
649943
- remove use of archaic autotools
649943
649943
* Fri Feb 09 2007 Caolan McNamara <caolanm@redhat.com> 0.2.8.4-13
649943
- Resolves: rhbz#222734 no need for Makefiles in doc dirs
649943
649943
* Tue Jan 16 2007 Caolan McNamara <caolanm@redhat.com> 0.2.8.4-12
649943
- Resolves: rhbz#222734 no need for Makefiles in doc dirs
649943
649943
* Thu Nov 16 2006 Caolan McNamara <caolanm@redhat.com> 0.2.8.4-11
649943
- Resolves: rhbz#215925 reduce exported symbols
649943
649943
* Fri Jul 14 2006 Caolan McNamara <caolanm@redhat.com> 0.2.8.4-10
649943
- retweak for 64bit
649943
649943
* Wed Jul 12 2006 Jesse Keating <jkeating@redhat.com> - 0.2.8.4-9.1
649943
- rebuild
649943
649943
* Wed Jul 12 2006 Caolan McNamara <caolanm@redhat.com> 0.2.8.4-9
649943
- CVE-2006-3376 libwmf integer overflow
649943
649943
* Tue May 16 2006 Caolan McNamara <caolanm@redhat.com> 0.2.8.4-8
649943
- rh#191971# BuildRequires
649943
649943
* Fri May  5 2006 Matthias Clasen <mclasen@redhat.com> 0.2.8.4-7
649943
- Rebuild against the new GTK+
649943
- Require GTK+ 2.9.0
649943
649943
* Tue May 02 2006 Caolan McNamara <caolanm@redhat.com> 0.2.8.4-6
649943
- add a .pc and base libwmf-devel on pkg-config output
649943
649943
* Tue Feb 28 2006 Caolan McNamara <caolanm@redhat.com> 0.2.8.4-5
649943
- rh#143096# extra deps according to libwmf-config
649943
649943
* Fri Feb 10 2006 Jesse Keating <jkeating@redhat.com> - 0.2.8.4-4.2
649943
- bump again for double-long bug on ppc(64)
649943
649943
* Tue Feb 07 2006 Jesse Keating <jkeating@redhat.com> - 0.2.8.4-4.1
649943
- rebuilt for new gcc4.1 snapshot and glibc changes
649943
649943
* Thu Jan 19 2006 Caolan McNamara <caolanm@redhat.com> 0.2.8.4-4
649943
- rh#178275# match srvg gtk2 _host usage for pixbuf loaders
649943
649943
* Tue Jan 03 2006 Caolan McNamara <caolanm@redhat.com> 0.2.8.4-3
649943
- add libwmf-0.2.8.4-fallbackfont.patch for rh#176620#
649943
649943
* Fri Dec 09 2005 Jesse Keating <jkeating@redhat.com> 0.2.8.4-2.1
649943
- rebuilt
649943
649943
* Wed Nov 23 2005 Caolan McNamara <caolanm@redhat.com> 0.2.8.4-2
649943
- rh#173299# modify pre/post requires
649943
649943
* Thu Jul 28 2005 Caolan McNamara <caolanm@redhat.com> 0.2.8.4-1
649943
- get patches merged upstream
649943
- drop integrated libwmf-0.2.8.3-warnings.patch
649943
- drop integrated libwmf-0.2.8.3-noextras.patch
649943
- drop integrated libwmf-0.2.8.3-rh154813.patch
649943
649943
* Tue Jul 26 2005 Caolan McNamara <caolanm@redhat.com> 0.2.8.3-9
649943
- rh#154813# wmf upsidedown, spec (what of is there is) says that
649943
  this shouldn't happen, but...
649943
649943
* Wed Mar  2 2005 Caolan McNamara <caolanm@redhat.com> 0.2.8.3-8
649943
- rebuild with gcc4
649943
649943
* Thu Dec 16 2004 Caolan McNamara <caolanm@redhat.com> 0.2.8.3-7
649943
- RH#143096# No need for extra X libs to be linked against
649943
649943
* Tue Nov  2 2004 Caolan McNamara <caolanm@redhat.com> 0.2.8.3-6
649943
- #rh137878# Extra BuildRequires
649943
649943
* Thu Oct  7 2004 Caolan McNamara <caolanm@redhat.com> 0.2.8.3-5
649943
- #rh134945# Extra BuildRequires
649943
649943
* Wed Sep  1 2004 Caolan McNamara <caolanm@redhat.com> 0.2.8.3-4
649943
- #131373# cleanup compiletime warnings
649943
649943
* Thu Jul  8 2004 Matthias Clasen <mclasen@redhat.com> - 0.2.8.3-3
649943
- Update to use the new update-gdk-pixbuf-loaders script in gtk2-2.4.1-2
649943
649943
* Thu May 20 2004 Caolan McNamara <caolanm@redhat.com>
649943
- Initial version