Stephan Kulow 2013-08-05 18:45:00 +00:00 committed by Git OBS Bridge
commit 8cac49aae9
9 changed files with 797 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

View File

@ -0,0 +1,79 @@
diff -urN kicad-2012.01.19-orig/common/wineda_toolbar.cpp kicad-2012.01.19/common/wineda_toolbar.cpp
--- kicad-2012.01.19-orig/common/wineda_toolbar.cpp 2011-11-27 13:43:14.000000000 +0100
+++ kicad-2012.01.19/common/wineda_toolbar.cpp 2012-08-28 19:31:04.726787095 +0200
@@ -11,10 +11,8 @@
EDA_TOOLBAR::EDA_TOOLBAR( id_toolbar type, wxWindow * parent, wxWindowID id, bool horizontal ):
- wxAuiToolBar( parent, id, wxDefaultPosition, wxDefaultSize,
- wxAUI_TB_DEFAULT_STYLE | ( ( horizontal ) ?
- wxAUI_TB_HORZ_LAYOUT :
- wxAUI_TB_VERTICAL ) )
+ wxToolBar( parent, id, wxDefaultPosition, wxDefaultSize,
+ horizontal ? wxTB_HORIZONTAL : wxTB_VERTICAL )
{
m_Parent = parent;
m_Ident = type;
diff -urN kicad-2012.01.19-orig/eeschema/tool_sch.cpp kicad-2012.01.19/eeschema/tool_sch.cpp
--- kicad-2012.01.19-orig/eeschema/tool_sch.cpp 2011-11-27 13:43:14.000000000 +0100
+++ kicad-2012.01.19/eeschema/tool_sch.cpp 2012-08-28 19:58:10.582729686 +0200
@@ -140,7 +140,7 @@
_( "Back annotate component foot prints" ) );
// set icon paddings
- m_HToolBar->SetToolBorderPadding(3); // padding
+ //m_HToolBar->SetToolBorderPadding(3); // padding
m_HToolBar->SetToolSeparation(0);
//m_HToolBar->SetMargins(0,1); // margins width and height
@@ -225,7 +225,7 @@
HELP_DELETE_ITEMS, wxITEM_CHECK );
// set icon paddings
- m_VToolBar->SetToolBorderPadding(2); // padding
+ //m_VToolBar->SetToolBorderPadding(2); // padding
m_VToolBar->SetToolSeparation(0);
//m_VToolBar->SetMargins(1,0); // margins width and height
@@ -269,7 +269,7 @@
_( "HV orientation for wires and bus" ),
wxITEM_CHECK );
// set icon paddings
- m_OptionsToolBar->SetToolBorderPadding(2); // padding
+ //m_OptionsToolBar->SetToolBorderPadding(2); // padding
m_OptionsToolBar->SetToolSeparation(0);
//m_OptionsToolBar->SetMargins(4,0); // margins width and height
diff -urN kicad-2012.01.19-orig/include/wxstruct.h kicad-2012.01.19/include/wxstruct.h
--- kicad-2012.01.19-orig/include/wxstruct.h 2011-11-27 13:43:14.000000000 +0100
+++ kicad-2012.01.19/include/wxstruct.h 2012-08-28 19:41:20.270765363 +0200
@@ -900,7 +900,7 @@
* Class EDA_TOOLBAR
* is the base class for deriving KiCad tool bars.
*/
-class EDA_TOOLBAR : public wxAuiToolBar
+class EDA_TOOLBAR : public wxToolBar
{
public:
wxWindow* m_Parent;
@@ -910,7 +910,7 @@
public:
EDA_TOOLBAR( id_toolbar type, wxWindow* parent, wxWindowID id, bool horizontal );
- bool GetToolState( int toolId ) { return GetToolToggled(toolId); };
+// bool GetToolState( int toolId ) { return GetToolToggled(toolId); };
void AddRadioTool( int toolid,
const wxString& label,
diff -urN kicad-2012.01.19-orig/pcbnew/tool_pcb.cpp kicad-2012.01.19/pcbnew/tool_pcb.cpp
--- kicad-2012.01.19-orig/pcbnew/tool_pcb.cpp 2011-11-27 13:43:14.000000000 +0100
+++ kicad-2012.01.19/pcbnew/tool_pcb.cpp 2012-08-28 20:10:37.318703318 +0200
@@ -168,7 +168,7 @@
if( m_HToolBar && ! first_call )
{
- m_HToolBar->SetToolBitmap( ID_AUX_TOOLBAR_PCB_SELECT_LAYER_PAIR, *LayerPairBitmap );
+ //m_HToolBar->SetToolBitmap( ID_AUX_TOOLBAR_PCB_SELECT_LAYER_PAIR, *LayerPairBitmap );
m_HToolBar->Refresh();
}
}

View File

@ -0,0 +1,11 @@
diff -urN kicad-2012.01.19-orig/include/boost/polygon/polygon_90_set_data.hpp kicad-2012.01.19/include/boost/polygon/polygon_90_set_data.hpp
--- kicad-2012.01.19-orig/include/boost/polygon/polygon_90_set_data.hpp 2011-11-27 13:43:14.000000000 +0100
+++ kicad-2012.01.19/include/boost/polygon/polygon_90_set_data.hpp 2012-06-27 23:10:04.117079501 +0200
@@ -16,6 +16,7 @@
#include "detail/iterator_points_to_compact.hpp"
#include "detail/iterator_compact_to_points.hpp"
#include "polygon_traits.hpp"
+#include "detail/polygon_sort_adaptor.hpp"
//manhattan boolean algorithms
#include "detail/boolean_op.hpp"

3
kicad-20130331.tar.bz2 Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:ffae85a1016739548ef0556118e2cabdaa9e219d69091d7fc98c89abeb33c851
size 12101252

212
kicad-gost.changes Normal file
View File

@ -0,0 +1,212 @@
-------------------------------------------------------------------
Thu Jun 27 15:20:06 UTC 2013 - dmitry_r@opensuse.org
- Change package license to GPL-2.0+ [bnc#796377]
-------------------------------------------------------------------
Mon Apr 8 17:59:55 UTC 2013 - werner.ho@gmx.de
- new version 20130330
- removed version patch
-------------------------------------------------------------------
Wed Jan 23 20:22:07 UTC 2013 - dmitry_r@opensuse.org
- Update to version 20120521
* various bugfixes, no detailed changelog available
- Change package license to GPL-3.0 [bnc#796377]
- Build with Unicode support
- Add switcher for build with GOST support
- Fix displayed version
* kicad-version.patch
-------------------------------------------------------------------
Tue Aug 28 18:33:50 UTC 2012 - scorot@free.fr
- fix build with old wxWindow on SLE 11
-------------------------------------------------------------------
Wed Jun 27 21:02:39 UTC 2012 - scorot@free.fr
- add patch from debian to fix build with gcc-4.7
-------------------------------------------------------------------
Sat Feb 11 09:40:49 UTC 2012 - werner.ho@gmx.de
- new version 2012-01-19
-------------------------------------------------------------------
Tue Jan 17 22:25:39 UTC 2012 - werner.ho@gmx.de
- new version 2011-12-28
-------------------------------------------------------------------
Sun Aug 21 12:20:00 UTC 2011 - werner.ho@gmx.de
- new version 2011-07-08
-------------------------------------------------------------------
Thu May 27 21:20:00 UTC 2011 - werner.ho@gmx.de
- new version 2011-04-29
-------------------------------------------------------------------
Mon Mar 28 21:16:39 UTC 2011 - stefan.bruens@rwth-aachen.de
- explicit request for DOUBLEBUFFER and DEPTH>=16
fixes SwapBuffer() crash on Intel and Radeon GPUs
-------------------------------------------------------------------
Thu Mar 15 21:20:00 UTC 2011 - werner.ho@gmx.de
- build fix for openSUSE 11.4
-------------------------------------------------------------------
Sun Nov 07 11:20:00 UTC 2010 - werner.ho@gmx.de
- added l10n files and patch fixes bug [#650383]
-------------------------------------------------------------------
Fri Jul 23 11:00:31 UTC 2010 - mhopf@novell.com
- Update to 2010-05-05-stable
-------------------------------------------------------------------
Mon Apr 12 19:07:26 UTC 2010 - mhopf@novell.com
- Make it build with older wxGTK (wxAuiToolBar)
-------------------------------------------------------------------
Mon Apr 12 18:28:47 UTC 2010 - mhopf@novell.com
- Update to 2010-04-06-SVN2508
Currently only builds on 11.2
-------------------------------------------------------------------
Wed Jun 17 2009 Werner Hoch <werner.ho@gmx.de> - 2009.02.06
- new version 2009.02.06
-------------------------------------------------------------------
Sat Dec 20 2008 Werner Hoch <werner.ho@gmx.de> - 2008.08.25
- build fix for openSUSE 11.1
- added freeglut-devel and update_desktop_file
- directory fixes
-------------------------------------------------------------------
Sat Oct 04 2008 Werner Hoch <werner.ho@gmx.de> - 2008.08.25
- new version 2008.08.25
-------------------------------------------------------------------
Thu Mar 25 2008 Werner Hoch <werner.ho@gmx.de>
- new version 2008.03.20
-------------------------------------------------------------------
Thu Dec 25 2007 Werner Hoch <werner.ho@gmx.de>
- adapted spec file from kicad-2007.07.09-2.fc8.src.rpm
- removed french project descriptions
- use cmake build process
- new version 2007.11.29
-------------------------------------------------------------------
Mon Oct 15 2007 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2007.07.09-2
- Update desktop file
-------------------------------------------------------------------
Thu Oct 04 2007 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2007.07.09-1
- New upstream version
- Merge previous patches
- Remove X-Fedora, Electronics and Engineering categories
- Update desktop file
-------------------------------------------------------------------
Mon Aug 27 2007 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2007.01.15-4
- License tag clarification
-------------------------------------------------------------------
Thu Aug 23 2007 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2007.01.15-3
- Rebuild
-------------------------------------------------------------------
Wed Feb 14 2007 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2007.01.15-2
- Fix desktop entry. Fix #228598
-------------------------------------------------------------------
Thu Feb 8 2007 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2007.01.15-1
- New upstream version
-------------------------------------------------------------------
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@math.uh.edu> 2006.08.28-3
- Rebuild with wxGTK 2.8.
-------------------------------------------------------------------
Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 2006.08.28-2
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
-------------------------------------------------------------------
Fri Sep 22 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2006.08.28-1
- New upstream version
- Use macro style instead of variable style
- Install missing modules. Fix #206602
-------------------------------------------------------------------
Fri Sep 1 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2006.06.26-6
- FE6 rebuild
-------------------------------------------------------------------
Mon Jul 10 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2006.06.26-5
- Removing backup files is no more needed.
-------------------------------------------------------------------
Mon Jul 10 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2006.06.26-4
- Remove BR libGLU-devel that is no more needed (bug #197501 is closed)
- Fix files permissions.
-------------------------------------------------------------------
Mon Jul 3 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2006.06.26-3
- s/mesa-libGLU-devel/libGLU-devel/
-------------------------------------------------------------------
Mon Jul 3 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2006.06.26-2
- BR mesa-libGLU-devel
-------------------------------------------------------------------
Wed Jun 28 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2006.06.26-1
- New upstream version
-------------------------------------------------------------------
Tue Jun 13 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2006.04.24-5
- Change name
- Use %%{_docdir} instead of %%{_datadir}/doc
- Use %%find_lang
- Update desktop database
- Convert MSDOS EOL to Unix EOL
- Remove BR utrac
-------------------------------------------------------------------
Mon Jun 12 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2006-04-24-0-4
- Patch to suppress extra qualification compile time error on FC5
- BR utrac to convert MSDOS files before applying patch
This will be remove for the next upstream version.
-------------------------------------------------------------------
Tue May 23 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2006-04-24-0-3
- Install help in /usr/share/doc/kicad/ as the path is hardcoded
in gestfich.cpp
- Add desktop file
-------------------------------------------------------------------
Mon May 22 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2006-04-24-0-2
- Add a second tarball that contains many things that are not included in
the upstream source tarball such components and footprints librairies,
help, localisation, etc.
-------------------------------------------------------------------
Sun May 21 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2006-04-24-0-1
- Initial Fedora RPM

128
kicad-gost.spec Normal file
View File

@ -0,0 +1,128 @@
#
# spec file for package kicad
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define with_gost 1
# with_gost variable sets technical standard:
# 0 - international
# 1 - GOST
# it is sole difference between kicad.spec and kicad-gost.spec
%if 0%{?with_gost}
Name: kicad-gost
%else
Name: kicad
%endif
Version: 20130331
Release: 0
License: GPL-2.0+
%if 0%{?with_gost}
Summary: EDA software suite for the creation of schematics and PCB with GOST support
%else
Summary: EDA software suite for the creation of schematics and PCB
%endif
Group: Productivity/Scientific/Electronics
Url: http://kicad-pcb.org
# bzr branch lp:kicad/stable stable
# bzr export -r 3261 --root=kicad-[version] kicad-[version].tar.bz
Source: kicad-%{version}.tar.bz2
Patch0: kicad-2012.01.19-gcc-4.7.patch
Patch1: kicad-2012.01.19-build-with-old-wxwidgets.patch
BuildRequires: boost-devel
BuildRequires: cmake >= 2.4.6
BuildRequires: doxygen
BuildRequires: freeglut-devel
BuildRequires: gcc-c++
BuildRequires: update-desktop-files
BuildRequires: zlib-devel
%if 0%{?suse_version} < 1140
BuildRequires: wxGTK-devel >= 2.8
%else
BuildRequires: wxWidgets-devel >= 2.8.11
%endif
# fix directory owner
BuildRequires: hicolor-icon-theme
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: kicad-library
Recommends: kicad-doc
%if 0%{?with_gost}
Conflicts: kicad
Provides: kicad = %{version}
%endif
%description
Kicad is an open source (GPL) software for the creation of electronic schematic
diagrams and printed circuit board artwork up to 16 layers.
Kicad is a set of four softwares and a project manager:
- Eeschema: schematic entry
- Pcbnew: board editor
- Gerbview: GERBER viewer (photoplotter documents)
- Cvpcb: footprint selector for components used in the circuit design
- Kicad: project manager
%prep
%setup -q -n kicad-%{version}
%if 0%{?suse_version} > 1210
%patch0 -p1
%endif
%if 0%{?suse_version} <= 1110
%patch1 -p1
%endif
# fix plugin directory
sed -i 's|KICAD_PLUGINS lib/kicad/plugins|KICAD_PLUGINS %{_lib}/kicad/plugins|' CMakeLists.txt
# fix documentation directory
# sed -i 's|KICAD_DOCS share/doc/kicad|KICAD_DOCS share/doc/packages/kicad|' CMakeLists.txt
%build
cmake \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DwxWidgets_USE_STATIC=OFF \
-DwxUSE_UNICODE=ON \
%if 0%{?with_gost}
-DKICAD_GOST=ON \
%endif
-DKICAD_STABLE_VERSION=ON \
.
make %{?_smp_mflags}
%install
rm resources/linux/mime/applications/eeschema.desktop
make install DESTDIR="%buildroot"
%suse_update_desktop_file -r kicad "Education;Engineering"
%files
%defattr(-,root,root)
%doc COPYRIGHT.txt CHANGELOG.txt
%{_bindir}/*
%{_datadir}/kicad/
%{_datadir}/doc/kicad/
%{_libdir}/kicad/plugins/netlist_form_pads-pcb.xsl
%dir %{_libdir}/kicad/
%dir %{_libdir}/kicad/plugins/
%{_datadir}/applications/*.desktop
%{_datadir}/mime/packages/kicad.xml
%{_datadir}/mimelnk/application/x-kicad-*.desktop
%dir %{_datadir}/mimelnk/
%dir %{_datadir}/mimelnk/application/
%{_datadir}/icons/hicolor/*/mimetypes/application-x-kicad-project.*
%{_datadir}/icons/hicolor/*/apps/*.*
%changelog

212
kicad.changes Normal file
View File

@ -0,0 +1,212 @@
-------------------------------------------------------------------
Thu Jun 27 15:20:06 UTC 2013 - dmitry_r@opensuse.org
- Change package license to GPL-2.0+ [bnc#796377]
-------------------------------------------------------------------
Mon Apr 8 17:59:55 UTC 2013 - werner.ho@gmx.de
- new version 20130330
- removed version patch
-------------------------------------------------------------------
Wed Jan 23 20:22:07 UTC 2013 - dmitry_r@opensuse.org
- Update to version 20120521
* various bugfixes, no detailed changelog available
- Change package license to GPL-3.0 [bnc#796377]
- Build with Unicode support
- Add switcher for build with GOST support
- Fix displayed version
* kicad-version.patch
-------------------------------------------------------------------
Tue Aug 28 18:33:50 UTC 2012 - scorot@free.fr
- fix build with old wxWindow on SLE 11
-------------------------------------------------------------------
Wed Jun 27 21:02:39 UTC 2012 - scorot@free.fr
- add patch from debian to fix build with gcc-4.7
-------------------------------------------------------------------
Sat Feb 11 09:40:49 UTC 2012 - werner.ho@gmx.de
- new version 2012-01-19
-------------------------------------------------------------------
Tue Jan 17 22:25:39 UTC 2012 - werner.ho@gmx.de
- new version 2011-12-28
-------------------------------------------------------------------
Sun Aug 21 12:20:00 UTC 2011 - werner.ho@gmx.de
- new version 2011-07-08
-------------------------------------------------------------------
Thu May 27 21:20:00 UTC 2011 - werner.ho@gmx.de
- new version 2011-04-29
-------------------------------------------------------------------
Mon Mar 28 21:16:39 UTC 2011 - stefan.bruens@rwth-aachen.de
- explicit request for DOUBLEBUFFER and DEPTH>=16
fixes SwapBuffer() crash on Intel and Radeon GPUs
-------------------------------------------------------------------
Thu Mar 15 21:20:00 UTC 2011 - werner.ho@gmx.de
- build fix for openSUSE 11.4
-------------------------------------------------------------------
Sun Nov 07 11:20:00 UTC 2010 - werner.ho@gmx.de
- added l10n files and patch fixes bug [#650383]
-------------------------------------------------------------------
Fri Jul 23 11:00:31 UTC 2010 - mhopf@novell.com
- Update to 2010-05-05-stable
-------------------------------------------------------------------
Mon Apr 12 19:07:26 UTC 2010 - mhopf@novell.com
- Make it build with older wxGTK (wxAuiToolBar)
-------------------------------------------------------------------
Mon Apr 12 18:28:47 UTC 2010 - mhopf@novell.com
- Update to 2010-04-06-SVN2508
Currently only builds on 11.2
-------------------------------------------------------------------
Wed Jun 17 2009 Werner Hoch <werner.ho@gmx.de> - 2009.02.06
- new version 2009.02.06
-------------------------------------------------------------------
Sat Dec 20 2008 Werner Hoch <werner.ho@gmx.de> - 2008.08.25
- build fix for openSUSE 11.1
- added freeglut-devel and update_desktop_file
- directory fixes
-------------------------------------------------------------------
Sat Oct 04 2008 Werner Hoch <werner.ho@gmx.de> - 2008.08.25
- new version 2008.08.25
-------------------------------------------------------------------
Thu Mar 25 2008 Werner Hoch <werner.ho@gmx.de>
- new version 2008.03.20
-------------------------------------------------------------------
Thu Dec 25 2007 Werner Hoch <werner.ho@gmx.de>
- adapted spec file from kicad-2007.07.09-2.fc8.src.rpm
- removed french project descriptions
- use cmake build process
- new version 2007.11.29
-------------------------------------------------------------------
Mon Oct 15 2007 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2007.07.09-2
- Update desktop file
-------------------------------------------------------------------
Thu Oct 04 2007 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2007.07.09-1
- New upstream version
- Merge previous patches
- Remove X-Fedora, Electronics and Engineering categories
- Update desktop file
-------------------------------------------------------------------
Mon Aug 27 2007 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2007.01.15-4
- License tag clarification
-------------------------------------------------------------------
Thu Aug 23 2007 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2007.01.15-3
- Rebuild
-------------------------------------------------------------------
Wed Feb 14 2007 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2007.01.15-2
- Fix desktop entry. Fix #228598
-------------------------------------------------------------------
Thu Feb 8 2007 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2007.01.15-1
- New upstream version
-------------------------------------------------------------------
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@math.uh.edu> 2006.08.28-3
- Rebuild with wxGTK 2.8.
-------------------------------------------------------------------
Thu Oct 05 2006 Christian Iseli <Christian.Iseli@licr.org> 2006.08.28-2
- rebuilt for unwind info generation, broken in gcc-4.1.1-21
-------------------------------------------------------------------
Fri Sep 22 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2006.08.28-1
- New upstream version
- Use macro style instead of variable style
- Install missing modules. Fix #206602
-------------------------------------------------------------------
Fri Sep 1 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2006.06.26-6
- FE6 rebuild
-------------------------------------------------------------------
Mon Jul 10 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2006.06.26-5
- Removing backup files is no more needed.
-------------------------------------------------------------------
Mon Jul 10 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2006.06.26-4
- Remove BR libGLU-devel that is no more needed (bug #197501 is closed)
- Fix files permissions.
-------------------------------------------------------------------
Mon Jul 3 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2006.06.26-3
- s/mesa-libGLU-devel/libGLU-devel/
-------------------------------------------------------------------
Mon Jul 3 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2006.06.26-2
- BR mesa-libGLU-devel
-------------------------------------------------------------------
Wed Jun 28 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2006.06.26-1
- New upstream version
-------------------------------------------------------------------
Tue Jun 13 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2006.04.24-5
- Change name
- Use %%{_docdir} instead of %%{_datadir}/doc
- Use %%find_lang
- Update desktop database
- Convert MSDOS EOL to Unix EOL
- Remove BR utrac
-------------------------------------------------------------------
Mon Jun 12 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2006-04-24-0-4
- Patch to suppress extra qualification compile time error on FC5
- BR utrac to convert MSDOS files before applying patch
This will be remove for the next upstream version.
-------------------------------------------------------------------
Tue May 23 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2006-04-24-0-3
- Install help in /usr/share/doc/kicad/ as the path is hardcoded
in gestfich.cpp
- Add desktop file
-------------------------------------------------------------------
Mon May 22 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2006-04-24-0-2
- Add a second tarball that contains many things that are not included in
the upstream source tarball such components and footprints librairies,
help, localisation, etc.
-------------------------------------------------------------------
Sun May 21 2006 Alain Portal <aportal[AT]univ-montp2[DOT]fr> 2006-04-24-0-1
- Initial Fedora RPM

128
kicad.spec Normal file
View File

@ -0,0 +1,128 @@
#
# spec file for package kicad
#
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define with_gost 0
# with_gost variable sets technical standard:
# 0 - international
# 1 - GOST
# it is sole difference between kicad.spec and kicad-gost.spec
%if 0%{?with_gost}
Name: kicad-gost
%else
Name: kicad
%endif
Version: 20130331
Release: 0
License: GPL-2.0+
%if 0%{?with_gost}
Summary: EDA software suite for the creation of schematics and PCB with GOST support
%else
Summary: EDA software suite for the creation of schematics and PCB
%endif
Group: Productivity/Scientific/Electronics
Url: http://kicad-pcb.org
# bzr branch lp:kicad/stable stable
# bzr export -r 3261 --root=kicad-[version] kicad-[version].tar.bz
Source: kicad-%{version}.tar.bz2
Patch0: kicad-2012.01.19-gcc-4.7.patch
Patch1: kicad-2012.01.19-build-with-old-wxwidgets.patch
BuildRequires: boost-devel
BuildRequires: cmake >= 2.4.6
BuildRequires: doxygen
BuildRequires: freeglut-devel
BuildRequires: gcc-c++
BuildRequires: update-desktop-files
BuildRequires: zlib-devel
%if 0%{?suse_version} < 1140
BuildRequires: wxGTK-devel >= 2.8
%else
BuildRequires: wxWidgets-devel >= 2.8.11
%endif
# fix directory owner
BuildRequires: hicolor-icon-theme
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Requires: kicad-library
Recommends: kicad-doc
%if 0%{?with_gost}
Conflicts: kicad
Provides: kicad = %{version}
%endif
%description
Kicad is an open source (GPL) software for the creation of electronic schematic
diagrams and printed circuit board artwork up to 16 layers.
Kicad is a set of four softwares and a project manager:
- Eeschema: schematic entry
- Pcbnew: board editor
- Gerbview: GERBER viewer (photoplotter documents)
- Cvpcb: footprint selector for components used in the circuit design
- Kicad: project manager
%prep
%setup -q -n kicad-%{version}
%if 0%{?suse_version} > 1210
%patch0 -p1
%endif
%if 0%{?suse_version} <= 1110
%patch1 -p1
%endif
# fix plugin directory
sed -i 's|KICAD_PLUGINS lib/kicad/plugins|KICAD_PLUGINS %{_lib}/kicad/plugins|' CMakeLists.txt
# fix documentation directory
# sed -i 's|KICAD_DOCS share/doc/kicad|KICAD_DOCS share/doc/packages/kicad|' CMakeLists.txt
%build
cmake \
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
-DwxWidgets_USE_STATIC=OFF \
-DwxUSE_UNICODE=ON \
%if 0%{?with_gost}
-DKICAD_GOST=ON \
%endif
-DKICAD_STABLE_VERSION=ON \
.
make %{?_smp_mflags}
%install
rm resources/linux/mime/applications/eeschema.desktop
make install DESTDIR="%buildroot"
%suse_update_desktop_file -r kicad "Education;Engineering"
%files
%defattr(-,root,root)
%doc COPYRIGHT.txt CHANGELOG.txt
%{_bindir}/*
%{_datadir}/kicad/
%{_datadir}/doc/kicad/
%{_libdir}/kicad/plugins/netlist_form_pads-pcb.xsl
%dir %{_libdir}/kicad/
%dir %{_libdir}/kicad/plugins/
%{_datadir}/applications/*.desktop
%{_datadir}/mime/packages/kicad.xml
%{_datadir}/mimelnk/application/x-kicad-*.desktop
%dir %{_datadir}/mimelnk/
%dir %{_datadir}/mimelnk/application/
%{_datadir}/icons/hicolor/*/mimetypes/application-x-kicad-project.*
%{_datadir}/icons/hicolor/*/apps/*.*
%changelog