From fe7eb930a7c3259a46d530b612ad9dcff65a8f27 Mon Sep 17 00:00:00 2001 From: Owen Taylor Date: May 10 2005 19:31:10 +0000 Subject: - Update to 20050502 - Fix the build to look for the docs where we install them --- diff --git a/.cvsignore b/.cvsignore index 34df309..299d07a 100644 --- a/.cvsignore +++ b/.cvsignore @@ -2,3 +2,5 @@ fontforge_full-20041231.tgz fontforge_htdocs-20041231.tgz fontforge_full-20050310.tgz fontforge_htdocs-20050310.tgz +fontforge_full-20050502.tgz +fontforge_htdocs-20050503.tgz diff --git a/fontforge.spec b/fontforge.spec index 7bfe355..a4b778a 100644 --- a/fontforge.spec +++ b/fontforge.spec @@ -1,14 +1,14 @@ Name: fontforge Version: 0.0 -Release: 2.20050310.fc4 +Release: 2.20050502.fc4 Summary: Outline and bitmap font editor Group: Applications/Publishing License: BSD URL: http://fontforge.sourceforge.net/ -Source0: http://dl.sf.net/fontforge/fontforge_full-20050310.tgz +Source0: http://dl.sf.net/fontforge/fontforge_full-20050502.tgz Source1: fontforge.desktop -Source2: http://dl.sf.net/fontforge/fontforge_htdocs-20050310.tgz +Source2: http://dl.sf.net/fontforge/fontforge_htdocs-20050503.tgz Patch1: fontforge-20040618-docview.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -31,7 +31,7 @@ fonts. It supports a range of font formats, including PostScript (Type2) and CID-keyed fonts. %prep -%setup -q -n %{name}-20050310 +%setup -q -n %{name}-20050502 %patch1 -p2 -b .docview mkdir htdocs @@ -51,9 +51,10 @@ sed -i -e 's/-rpath $(libdir)//' fontforge/Makefile*.in %build +export CPPFLAGS='-DDOCDIR=\"%{_docdir}/%{name}-%{version}/htdocs\"' %configure --with-regular-link --with-freetype-bytecode=no # Parallel make not working. -make DOCDIR=%{_docdir}/%{name}-%{version}/htdocs +make %install @@ -74,6 +75,10 @@ desktop-file-install \ chmod -x $RPM_BUILD_ROOT%{_libdir}/pkgconfig/fontforge.pc +# The fontforge makefiles install htdocs as well, but we +# prefer to have them under the standard RPM location, so +# remove the extra copy +rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/fontforge %clean rm -rf $RPM_BUILD_ROOT @@ -97,6 +102,10 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Tue May 10 2005 Owen Taylor - 0.0-2.20050502.fc4 +- Update to 20050502 +- Fix the build to look for the docs where we install them + * Sat Mar 19 2005 Owen Taylor - 0.0-2.20050310 - Update to 20050310 diff --git a/sources b/sources index 59a25f2..2e3eb9a 100644 --- a/sources +++ b/sources @@ -1,2 +1,2 @@ -55787a2c60fd84599d316e0311bcb3ae fontforge_full-20050310.tgz -10e27dbf02be98bddeb3098371e763e1 fontforge_htdocs-20050310.tgz +6a19fe0e0e6c1d70c49014b1f967b481 fontforge_full-20050502.tgz +1f8de0694c7955ee8de268e70ab70e37 fontforge_htdocs-20050503.tgz