SPECS: asymptote.spec - %build and %install cleanup - use auto{conf, header}...

pawelz pawelz at pld-linux.org
Sun Aug 10 02:42:53 CEST 2008


Author: pawelz                       Date: Sun Aug 10 00:42:53 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- %build and %install cleanup
- use auto{conf,header} to regenerate configure

---- Files affected:
SPECS:
   asymptote.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/asymptote.spec
diff -u SPECS/asymptote.spec:1.2 SPECS/asymptote.spec:1.3
--- SPECS/asymptote.spec:1.2	Sat Aug  9 18:00:26 2008
+++ SPECS/asymptote.spec	Sun Aug 10 02:42:48 2008
@@ -11,6 +11,7 @@
 Source0:	http://dl.sourceforge.net/asymptote/%{name}-%{version}.src.tgz
 # Source0-md5:	8f85e1d9c455700f304960a8c5f7f113
 URL:		http://asymptote.sourceforge.net
+BuildRequires:	autoconf
 BuildRequires:	gc-devel >= 7.0
 BuildRequires:	gsl-devel >= 1.7
 BuildRequires:	ncurses-devel
@@ -66,13 +67,15 @@
 %setup -q
 
 %build
+%{__autoheader}
+%{__autoconf}
 %configure \
 	CPPFLAGS=-I/usr/include/gc \
 	--disable-static \
 	--enable-gc=%{_includedir}/gc \
 	--with-docdir=%{_docdir}/%{name}-doc
 
-CPPFLAGS=-I/usr/include/gc %{__make}
+%{__make} all
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -80,7 +83,6 @@
 # I don't know why need it - maybe the bad tetex configuration?
 # And the solution suggested by asympote's doc doesn't work too :(
 cp %{_datadir}/texmf/tex/{plain/pdfcolor/pdfcolor.tex,generic/epsf/epsf.tex,texinfo/texinfo.tex} doc
-%{__make} all
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT%{_examplesdir}
@@ -112,6 +114,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2008/08/10 00:42:48  pawelz
+- %build and %install cleanup
+- use auto{conf,header} to regenerate configure
+
 Revision 1.2  2008/08/09 16:00:26  pawelz
 - pl %desciption and Summary
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/asymptote.spec?r1=1.2&r2=1.3&f=u



More information about the pld-cvs-commit mailing list