SPECS: kicad.spec - rel 1 - added wx-config related params
luzik
luzik at pld-linux.org
Tue Nov 27 13:35:08 CET 2007
Author: luzik Date: Tue Nov 27 12:35:08 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- rel 1
- added wx-config related params
---- Files affected:
SPECS:
kicad.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/kicad.spec
diff -u SPECS/kicad.spec:1.1 SPECS/kicad.spec:1.2
--- SPECS/kicad.spec:1.1 Thu Nov 22 12:55:18 2007
+++ SPECS/kicad.spec Tue Nov 27 13:35:03 2007
@@ -4,12 +4,14 @@
Summary(pl.UTF-8): KiCad jest zestawem programów na licencji GPL zaliczanym do kategorii EDA
Name: kicad
Version: 20071004
-Release: 0.5
+Release: 1
License: GPL
Group: Applications
Source0: http://dl.sourceforge.net/kicad/%{name}-%{version}-%{_release}.tar.bz2
# Source0-md5: 8ef6310123e9361c5780d321ec07cc8b
URL: http://kicad.sourceforge.net/
+BuildRequires: wxGTK2-unicode-devel
+BuildRequires: wxGTK2-gl-devel
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -35,7 +37,16 @@
%setup -q -n %{name}
%build
-%{__make} -f makefile.gtk
+export WX_CONFIG="`which wx-gtk2-unicode-config`"
+%{__make} -f makefile.gtk \
+ WXXFLAGS="`$WX_CONFIG --cxxflags`" \
+ WXPATH=%{_libdir} \
+ PREFIX_WX_LIBS="lib`$WX_CONFIG --basename`" \
+ SUFFIX_WX_LIBSTD="`$WX_CONFIG --utility=`" \
+ SUFFIX_WX_LIBGL="_gl-`$WX_CONFIG --release`" \
+ LIBVERSION="`$WX_CONFIG --release`" \
+ WXSYSLIB="`$WX_CONFIG --libs std`" \
+ WXSYSLIB_WITH_GL="`$WX_CONFIG --libs std,gl`"
%install
rm -rf $RPM_BUILD_ROOT
@@ -61,6 +72,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2007-11-27 12:35:03 luzik
+- rel 1
+- added wx-config related params
+
Revision 1.1 2007-11-22 11:55:18 luzik
- initial PLD release
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/kicad.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list