packages: kicad/kicad.spec - BR: boost-devel, which, wxWidgets-devel - use ...

sparky sparky at pld-linux.org
Mon Nov 30 02:30:38 CET 2009


Author: sparky                       Date: Mon Nov 30 01:30:38 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- BR: boost-devel, which, wxWidgets-devel
- use %{rpm*flags} and %{__cxx} macros

---- Files affected:
packages/kicad:
   kicad.spec (1.10 -> 1.11) 

---- Diffs:

================================================================
Index: packages/kicad/kicad.spec
diff -u packages/kicad/kicad.spec:1.10 packages/kicad/kicad.spec:1.11
--- packages/kicad/kicad.spec:1.10	Sat Sep 27 19:34:40 2008
+++ packages/kicad/kicad.spec	Mon Nov 30 02:30:33 2009
@@ -16,9 +16,12 @@
 # Source2-md5:	fcfbc94f675a19db51370e97b88803b1
 Source3:	%{name}.desktop
 URL:		http://kicad.sourceforge.net/
+BuildRequires:	boost-devel
 BuildRequires:	sed >= 4.0
+BuildRequires:	which
 BuildRequires:	wxGTK2-unicode-devel
 BuildRequires:	wxGTK2-unicode-gl-devel
+BuildRequires:	wxWidgets-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -55,6 +58,12 @@
 %build
 export WX_CONFIG="`which wx-gtk2-unicode-config`"
 %{__make} -f makefile.gtk \
+	CC="%{__cc}" \
+	CXX="%{__cxx}" \
+	LD="%{__cxx}" \
+	CLAGS="%{rpmcflags}" \
+	CXXLAGS="%{rpmcxxflags}" \
+	LDFLAGS="%{rpmldflags} %{rpmcxxflags}" \
 	WXXFLAGS="`$WX_CONFIG --cxxflags`" \
 	WXPATH=%{_libdir} \
 	PREFIX_WX_LIBS="lib`$WX_CONFIG --basename`" \
@@ -84,7 +93,7 @@
 
 for loc in $RPM_BUILD_ROOT%{_datadir}/%{name}/help/*; do
 	if [ -d $loc/docs_src ]; then
-		rm -rf $loc/docs_src; 
+		rm -rf $loc/docs_src;
 	fi
 done
 
@@ -109,6 +118,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.11  2009/11/30 01:30:33  sparky
+- BR: boost-devel, which, wxWidgets-devel
+- use %{rpm*flags} and %{__cxx} macros
+
 Revision 1.10  2008/09/27 17:34:40  lkrotowski
 - added library and help files
 - removed obsolete patch
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/kicad/kicad.spec?r1=1.10&r2=1.11&f=u



More information about the pld-cvs-commit mailing list