rpms/kicad/devel kicad-2006.08.28.rpm.opt.flags.diff, NONE, 1.1 kicad.spec, 1.5, 1.6
Alain Portal (dionysos)
fedora-extras-commits at redhat.com
Thu Feb 8 12:13:03 UTC 2007
Author: dionysos
Update of /cvs/extras/rpms/kicad/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv386
Modified Files:
kicad.spec
Added Files:
kicad-2006.08.28.rpm.opt.flags.diff
Log Message:
- Add patch to build with RPM_OPT_FLAGS and remove -s from LDFLAGS
Contribution of Ville Skyttä <ville[DOT]skytta[AT]iki[DOT]fi>
Fix #227757
- Fix typo in french summary
kicad-2006.08.28.rpm.opt.flags.diff:
--- NEW FILE kicad-2006.08.28.rpm.opt.flags.diff ---
--- kicad-dev/eeschema/makefile.gtk~ 2007-02-07 23:33:48.000000000 +0200
+++ kicad-dev/eeschema/makefile.gtk 2007-02-08 00:13:19.000000000 +0200
@@ -6,14 +6,14 @@
FINAL = 1
-LDFLAGS = -s
+LDFLAGS =
include ../libs.linux
TARGET = eeschema
-CPPFLAGS = -Wall -O2 `wx-config --cxxflags`
+CPPFLAGS = -Wall -O2 `wx-config --cxxflags` $(RPM_OPT_FLAGS)
all: $(TARGET)
--- kicad-dev/common/makefile.gtk~ 2006-06-02 13:45:44.000000000 +0300
+++ kicad-dev/common/makefile.gtk 2007-02-08 00:13:05.000000000 +0200
@@ -2,7 +2,7 @@
CC = gcc
# Compiler flags.
-CPPFLAGS = -Wall -O2 -I./ -I../include `wx-config --cflags`
+CPPFLAGS = -Wall -O2 -I./ -I../include `wx-config --cflags` $(RPM_OPT_FLAGS)
EDACPPFLAGS = $(CPPFLAGS)
--- kicad-dev/pcbnew/makefile.gtk~ 2007-02-07 23:33:48.000000000 +0200
+++ kicad-dev/pcbnew/makefile.gtk 2007-02-08 00:13:00.000000000 +0200
@@ -4,9 +4,9 @@
# Compiler flags.
-CPPFLAGS = -Wall -O2 `wx-config --cxxflags`
+CPPFLAGS = -Wall -O2 `wx-config --cxxflags` $(RPM_OPT_FLAGS)
-LDFLAGS = -s
+LDFLAGS =
include ../libs.linux
--- kicad-dev/cvpcb/makefile.gtk~ 2007-02-07 23:33:48.000000000 +0200
+++ kicad-dev/cvpcb/makefile.gtk 2007-02-08 00:12:50.000000000 +0200
@@ -8,9 +8,9 @@
# Compiler flags.
-CPPFLAGS = -Wall -O2 `wx-config --cxxflags`
+CPPFLAGS = -Wall -O2 `wx-config --cxxflags` $(RPM_OPT_FLAGS)
-LDFLAGS = -s
+LDFLAGS =
EDACPPFLAGS = $(CPPFLAGS)
--- kicad-dev/kicad/makefile.gtk~ 2007-02-07 23:33:48.000000000 +0200
+++ kicad-dev/kicad/makefile.gtk 2007-02-08 00:12:43.000000000 +0200
@@ -7,8 +7,8 @@
FINAL = 1
# Compiler flags.
-CPPFLAGS = -Wall -O2 `wx-config --cxxflags`
-LDFLAGS = -s
+CPPFLAGS = -Wall -O2 `wx-config --cxxflags` $(RPM_OPT_FLAGS)
+LDFLAGS =
include ../libs.linux
--- kicad-dev/gerbview/makefile.gtk~ 2007-02-07 23:33:48.000000000 +0200
+++ kicad-dev/gerbview/makefile.gtk 2007-02-08 00:12:35.000000000 +0200
@@ -3,9 +3,9 @@
LD = gcc
# Compiler flags.
-CPPFLAGS = -Wall -O2 `wx-config --cxxflags`
+CPPFLAGS = -Wall -O2 `wx-config --cxxflags` $(RPM_OPT_FLAGS)
-LDFLAGS = -s
+LDFLAGS =
include ../libs.linux
--- kicad-dev/3d-viewer/makefile.gtk~ 2006-06-02 13:45:52.000000000 +0300
+++ kicad-dev/3d-viewer/makefile.gtk 2007-02-08 00:12:26.000000000 +0200
@@ -4,7 +4,7 @@
# Compiler flags.
CPPFLAGS = -Wall -O2 -DPCBNEW -I../pcbnew -I ../include -I../common\
- `wx-config --cxxflags`
+ `wx-config --cxxflags` $(RPM_OPT_FLAGS)
include ../libs.linux
Index: kicad.spec
===================================================================
RCS file: /cvs/extras/rpms/kicad/devel/kicad.spec,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- kicad.spec 28 Dec 2006 22:01:28 -0000 1.5
+++ kicad.spec 8 Feb 2007 12:12:31 -0000 1.6
@@ -1,8 +1,8 @@
Name: kicad
Version: 2006.08.28
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: Electronic schematic diagrams and printed circuit board artwork
-Summary(fr): Saisie de schéma électronique et tracé de cicrcuit imprimé
+Summary(fr): Saisie de schéma électronique et tracé de circuit imprimé
Group: Applications/Engineering
License: GPL
@@ -11,6 +11,7 @@
Source1: http://linuxelectronique.free.fr/download/kicad-src-extras-2006-08-28.tar.bz2
Source2: %{name}.desktop
Patch: %{name}-%{version}.destdir.diff
+Patch1: %{name}-%{version}.rpm.opt.flags.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Requires: wxGTK
@@ -53,6 +54,7 @@
done
%patch0 -p1
+%patch1 -p1
%build
@@ -243,6 +245,12 @@
%{_datadir}/pixmaps/kicad_icon.png
%changelog
+* Thu Feb 8 2007 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2006.08.28-4
+ - Add patch to build with RPM_OPT_FLAGS and remove -s from LDFLAGS
+ Contribution of Ville Skyttä <ville[DOT]skytta[AT]iki[DOT]fi>
+ Fix #227757
+ - Fix typo in french summary
+
* Thu Dec 28 2006 Jason L Tibbitts III <tibbs at math.uh.edu> 2006.08.28-3
- Rebuild with wxGTK 2.8.
More information about the fedora-extras-commits
mailing list