update to 5.1.10 [release 5.1.10-1mamba;Thu Oct 14 2021]

This commit is contained in:
Silvan Calarco 2024-01-06 01:41:01 +01:00
parent ff66c9cb95
commit 7dfd8ad785
2 changed files with 58 additions and 74 deletions

View File

@ -8,11 +8,3 @@ Kicad is a set of four softwares and a project manager:
- Cvpcb: footprint selector for components used in the circuit design - Cvpcb: footprint selector for components used in the circuit design
- Kicad: project manager - Kicad: project manager
Kicad è un programma EDA per disegnare schemi elettronici e circuiti stampati fino a 16 livelli.
Kicad è un set di 4 programmi e un gestore:
- Eeschema: serve per generare gli schemi elettronici
- Pcbnew: editor delle schede
- Gerbview: visualizzatore di file GERBER (documenti per photoplotter)
- Cvpcb: selezionatore di footprint per i componenti usati nel design del circuito
- Kicad: project manager

View File

@ -1,38 +1,35 @@
%define pkgver %(version=%version;echo ${version:0:4}-${version:4:2}-${version:6:2}) %define pkgver %(version=%version;echo ${version:0:4}-${version:4:2}-${version:6:2})
%define docpkgver 2013-03-15 %define docpkgver 2013-03-15
Name: kicad Name: kicad
Version: 20130518 Epoch: 1
Version: 5.1.10
Release: 1mamba Release: 1mamba
Summary: The KiCad EDA Suite project is a software capable of schematic and printed circuit board design. Summary: The KiCad EDA Suite project is a software capable of schematic and printed circuit board design
Summary(it): Il progetto KiCad EDA Suite è un programma in grado di realizare schemi elettronici e circuiti stampati
Group: Graphical Desktop/Applications/Graphics Group: Graphical Desktop/Applications/Graphics
Vendor: openmamba Vendor: openmamba
Distribution: openmamba Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://kicad.sourceforge.net/wiki/Main_Page URL: https://www.kicad.org/
Source: http://iut-tice.ujf-grenoble.fr/cao/kicad-sources-stable_%{pkgver}_BZR4017.zip Source: https://gitlab.com/kicad/code/kicad/-/archive/%{version}/kicad-%{version}.tar.bz2
#Source1: http://iut-tice.ujf-grenoble.fr/cao/kicad-docs+translations_only_for-stable_%{docpkgver}_BZR4003.zip
#Source: http://kicad.picaxe.cz/source/kicad-%{version}-r3512-source.tar.bz2
#Source1: kicad-library.tar.gz
#Source2: kicad-locale.tar.gz
Patch0: kicad-20130331-wxWidgets-3.0.1.patch Patch0: kicad-20130331-wxWidgets-3.0.1.patch
License: GPL, KiCad Free Documentation Licence License: GPL, KiCad Free Documentation Licence
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libGL-devel
BuildRequires: libGLU-devel BuildRequires: libGLU-devel
BuildRequires: libICE-devel BuildRequires: libcairo-devel
BuildRequires: libSM-devel BuildRequires: libcurl-devel
BuildRequires: libgcc
BuildRequires: libglew-devel
BuildRequires: libglvnd-devel
BuildRequires: libngspice-devel
BuildRequires: libopenssl-devel
BuildRequires: libpixman-devel
BuildRequires: libpython39-devel
BuildRequires: libstdc++6-devel BuildRequires: libstdc++6-devel
BuildRequires: libwxBase-unicode-devel BuildRequires: libwx_baseu-devel
BuildRequires: libwxGTK-unicode-devel BuildRequires: libwx_gtk3u-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
## AUTOBUILDREQ-END ## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root BuildRequires: python-wxPython-py3
%debug_package
%description %description
Kicad is an EDA software to design electronic schematic diagrams and printed circuit board artwork up to 16 layers. Kicad is an EDA software to design electronic schematic diagrams and printed circuit board artwork up to 16 layers.
@ -43,30 +40,35 @@ Kicad is a set of four softwares and a project manager:
- Cvpcb: footprint selector for components used in the circuit design - Cvpcb: footprint selector for components used in the circuit design
- Kicad: project manager - Kicad: project manager
%description -l it %debug_package
Kicad è un programma EDA per disegnare schemi elettronici e circuiti stampati fino a 16 livelli.
Kicad è un set di 4 programmi e un gestore:
- Eeschema: serve per generare gli schemi elettronici
- Pcbnew: editor delle schede
- Gerbview: visualizzatore di file GERBER (documenti per photoplotter)
- Cvpcb: selezionatore di footprint per i componenti usati nel design del circuito
- Kicad: project manager
%prep %prep
%setup -q -c %{name}-src %setup -q
unzip -qqu %{SOURCE0}
#unzip -qqu %{SOURCE1}
mv stable*/* .
%patch0 -p1
%build %build
cmake -DKICAD_STABLE_VERSION=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL_LIBDIR:PATH=/usr/lib -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr -DBUILD_DOCS:BOOL=ON -DBUILD_SHARED_LIBS:BOOL=ON . %cmake -d build \
-DKICAD_STABLE_VERSION=ON \
-DBUILD_DOCS:BOOL=ON \
-DBUILD_SHARED_LIBS:BOOL=ON \
-DKICAD_USE_OCE=OFF \
-DKICAD_SCRIPTING=ON \
-DKICAD_SCRIPTING_PYTHON3=ON \
-DKICAD_SCRIPTING_MODULES=ON \
-DKICAD_SCRIPTING_WXPYTHON=ON \
-DKICAD_SCRIPTING_ACTION_MENU=ON \
-DKICAD_SCRIPTING_WXPYTHON_PHOENIX=ON \
-DwxWidgets_CONFIG_EXECUTABLE=/usr/bin/wx-config-unicode-3 \
-DBUILD_GITHUB_PLUGIN=ON \
-DPYTHON_EXECUTABLE=%{__python3} \
.
# -DKICAD_USE_OCC=ON \
%make %make
%install %install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall %makeinstall -C build
#cd %{buildroot}%{_datadir}/kicad #cd %{buildroot}%{_datadir}/kicad
#tar -xzf %{SOURCE1} #tar -xzf %{SOURCE1}
@ -91,40 +93,30 @@ cmake -DKICAD_STABLE_VERSION=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL
%files %files
#-f %{name}.lang #-f %{name}.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/cvpcb %{_bindir}/*
%{_bindir}/eeschema %{python3_sitelib}/_pcbnew.so
%{_bindir}/gerbview %{python3_sitelib}/pcbnew.py
%{_bindir}/kicad %{_libdir}/kicad/plugins/3d/libs3d_plugin_idf.so
%{_bindir}/pcbnew %{_libdir}/kicad/plugins/3d/libs3d_plugin_vrml.so
%{_bindir}/bitmap2component %{_libdir}/libkicad_3dsg.so
%{_bindir}/pcb_calculator %{_libdir}/libkicad_3dsg.so.*
%{_bindir}/freeroute.jnlp
%dir %{_prefix}/lib/kicad
%dir %{_prefix}/lib/kicad/plugins
%{_prefix}/lib/kicad/plugins/netlist_form_pads-pcb.xsl
%dir %{_datadir}/kicad %dir %{_datadir}/kicad
%dir %{_datadir}/kicad/demos %{_datadir}/kicad/*
%{_datadir}/kicad/demos/* %{_datadir}/appdata/kicad.appdata.xml
%dir %{_datadir}/kicad/template %{_datadir}/applications/*.desktop
%{_datadir}/kicad/template/* %{_datadir}/mime/packages/kicad-gerbers.xml
#%dir %{_datadir}/kicad/library %{_datadir}/mime/packages/kicad-kicad.xml
#%{_datadir}/kicad/library/* %{_datadir}/icons/hicolor/*/apps/*.png
#%dir %{_datadir}/kicad/modules %{_datadir}/icons/hicolor/*/mimetypes/*.png
#%{_datadir}/kicad/modules/* %{_datadir}/icons/hicolor/scalable/apps/*.svg
#%{_datadir}/kicad/COPYRIGHT.txt %{_datadir}/icons/hicolor/scalable/mimetypes/*.svg
%{_datadir}/icons/hicolor/48x48/apps/kicad.png
%{_datadir}/icons/hicolor/*/mimetypes/application-x-kicad-project.png
%{_datadir}/icons/hicolor/scalable/apps/kicad.svg
%{_datadir}/icons/hicolor/scalable/mimetypes/application-x-kicad-project.svg
%{_datadir}/mimelnk/application/x-kicad-project.desktop
%{_datadir}/mimelnk/application/x-kicad-schematic.desktop
%{_datadir}/mime/packages/kicad.xml
%{_datadir}/applications/eeschema.desktop
%{_datadir}/applications/kicad.desktop
%dir %{_datadir}/doc/kicad %dir %{_datadir}/doc/kicad
%{_datadir}/doc/kicad/* %{_datadir}/doc/kicad/*
%changelog %changelog
* Thu Oct 14 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.1.10-1mamba
- update to 5.1.10
* Sun Jan 18 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 20130518-1mamba * Sun Jan 18 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 20130518-1mamba
- update to 20130518 - update to 20130518