rpms/geda-examples/FC-6 geda-examples.spec,1.4,1.5

Chitlesh GOORAH (chitlesh) fedora-extras-commits at redhat.com
Mon Apr 2 11:25:24 UTC 2007


Author: chitlesh

Update of /cvs/extras/rpms/geda-examples/FC-6
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30682/FC-6

Modified Files:
	geda-examples.spec 
Log Message:



Index: geda-examples.spec
===================================================================
RCS file: /cvs/extras/rpms/geda-examples/FC-6/geda-examples.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- geda-examples.spec	29 Mar 2007 07:31:52 -0000	1.4
+++ geda-examples.spec	2 Apr 2007 11:24:51 -0000	1.5
@@ -2,7 +2,7 @@
 
 Name:       geda-examples
 Version:    20070216
-Release:    1%{?dist}
+Release:    2%{?dist}
 
 Summary:    Circuit examples for gEDA
 Group:      Applications/Engineering
@@ -20,12 +20,30 @@
 This package contains circuit examples for the gEDA project.
 
 %prep
+
 %setup -q
+# some files have Windows-type end-of-type encoding.
 for f in `find . -name \*.mod -or -name \*.cir -or -name \*.netlist | sort` ;
 do
    sed -i -e 's|\r||' $f ;
 done
 
+# correcting TwoStageAmp example to fit the geda-spice package
+# please note that geda-spice is not provided
+# neither geda/gaf nor the fedoraproject due to license restrictions
+sed -i  \
+'s|.INCLUDE /home/sdb/TwoStageAmp/Simulation.cmd|.INCLUDE %{gedaexampledir}/TwoStageAmp/Simulation.cmd|' \
+    TwoStageAmp/spice.netlist
+
+sed -i -e \
+'s|file=./models/2N3904.mod|file=%{_datadir}/gEDA/models/bjt/2N3904.mod|' \
+    TwoStageAmp/TwoStageAmp.sch
+
+sed -i -e \
+'s|file=Simulation.cmd|file=%{gedaexampledir}/TwoStageAmp/Simulation.cmd|' \
+    TwoStageAmp/TwoStageAmp.sch
+
+
 %build
 %configure
 %{__make} %{?_smp_mflags}
@@ -84,6 +102,9 @@
 %{gedaexampledir}/RF_Amp
 
 %Changelog
+* Sun Apr 01 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 20070216-2
+- TwoStageAmp bug fixes
+
 * Wed Mar 28 2007 Chitlesh Goorah <chitlesh [AT] fedoraproject DOT org> - 20070216-1
 - new upstream release on 2007 02 16
 




More information about the scm-commits mailing list