remove archaic duplicate fonts
This commit is contained in:
parent
3be255c8ff
commit
0e193b7aaf
12
libwmf.spec
12
libwmf.spec
@ -1,7 +1,7 @@
|
||||
Summary: Windows Metafile Library
|
||||
Name: libwmf
|
||||
Version: 0.2.8.4
|
||||
Release: 14%{?dist}
|
||||
Release: 15%{?dist}
|
||||
Group: System Environment/Libraries
|
||||
License: LGPL
|
||||
Source: http://downloads.sourceforge.net/wvware/%{name}-%{version}.tar.gz
|
||||
@ -14,6 +14,7 @@ Patch3: libwmf-0.2.8.4-deps.patch
|
||||
Patch4: libwmf-0.2.8.4-multiarchdevel.patch
|
||||
Patch5: libwmf-0.2.8.4-intoverflow.patch
|
||||
Patch6: libwmf-0.2.8.4-reducesymbols.patch
|
||||
Requires: urw-fonts
|
||||
Requires(post): %{_bindir}/update-gdk-pixbuf-loaders
|
||||
Requires(postun): %{_bindir}/update-gdk-pixbuf-loaders
|
||||
BuildRequires: gtk2-devel, libtool, libxml2-devel, gd-devel, libpng-devel
|
||||
@ -61,6 +62,10 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/*/loaders/*.a
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/gtk-2.0/*/loaders/*.la
|
||||
rm -rf $RPM_BUILD_ROOT%{_includedir}/libwmf/gd
|
||||
find doc -name "Makefile*" -exec rm {} \;
|
||||
#we're carrying around duplicate fonts
|
||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/libwmf/fonts/*afm
|
||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/libwmf/fonts/*pfb
|
||||
sed -i $RPM_BUILD_ROOT%{_datadir}/libwmf/fonts/fontmap -e 's#libwmf/fonts#fonts/default/Type1#g'
|
||||
|
||||
%post
|
||||
/sbin/ldconfig
|
||||
@ -81,7 +86,7 @@ find doc -name "Makefile*" -exec rm {} \;
|
||||
%{_bindir}/wmf2fig
|
||||
%{_bindir}/wmf2x
|
||||
%{_bindir}/libwmf-fontmap
|
||||
%{_datadir}/libwmf
|
||||
%{_datadir}/libwmf/
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root,-)
|
||||
@ -99,6 +104,9 @@ find doc -name "Makefile*" -exec rm {} \;
|
||||
rm -r $RPM_BUILD_ROOT
|
||||
|
||||
%changelog
|
||||
* Thu May 24 2007 Caolan McNamara <caolanm@redhat.com> 0.2.8.4-15
|
||||
- drop duplicate font metrics
|
||||
|
||||
* Thu Feb 15 2007 Caolan McNamara <caolanm@redhat.com> 0.2.8.4-14
|
||||
- remove use of archaic autotools
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user