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
- 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 docpkgver 2013-03-15
Name: kicad
Version: 20130518
Epoch: 1
Version: 5.1.10
Release: 1mamba
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
Summary: The KiCad EDA Suite project is a software capable of schematic and printed circuit board design
Group: Graphical Desktop/Applications/Graphics
Vendor: openmamba
Distribution: openmamba
Packager: Ercole 'ercolinux' Carpanetto <ercole69@gmail.com>
URL: http://kicad.sourceforge.net/wiki/Main_Page
Source: http://iut-tice.ujf-grenoble.fr/cao/kicad-sources-stable_%{pkgver}_BZR4017.zip
#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
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://www.kicad.org/
Source: https://gitlab.com/kicad/code/kicad/-/archive/%{version}/kicad-%{version}.tar.bz2
Patch0: kicad-20130331-wxWidgets-3.0.1.patch
License: GPL, KiCad Free Documentation Licence
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libgcc
BuildRequires: libGL-devel
BuildRequires: libGLU-devel
BuildRequires: libICE-devel
BuildRequires: libSM-devel
BuildRequires: libcairo-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: libwxBase-unicode-devel
BuildRequires: libwxGTK-unicode-devel
BuildRequires: libX11-devel
BuildRequires: libXext-devel
BuildRequires: libwx_baseu-devel
BuildRequires: libwx_gtk3u-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%debug_package
BuildRequires: python-wxPython-py3
%description
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
- Kicad: project manager
%description -l it
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
%debug_package
%prep
%setup -q -c %{name}-src
unzip -qqu %{SOURCE0}
#unzip -qqu %{SOURCE1}
mv stable*/* .
%patch0 -p1
%setup -q
%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
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%makeinstall -C build
#cd %{buildroot}%{_datadir}/kicad
#tar -xzf %{SOURCE1}
@ -91,40 +93,30 @@ cmake -DKICAD_STABLE_VERSION=ON -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_INSTALL
%files
#-f %{name}.lang
%defattr(-,root,root)
%{_bindir}/cvpcb
%{_bindir}/eeschema
%{_bindir}/gerbview
%{_bindir}/kicad
%{_bindir}/pcbnew
%{_bindir}/bitmap2component
%{_bindir}/pcb_calculator
%{_bindir}/freeroute.jnlp
%dir %{_prefix}/lib/kicad
%dir %{_prefix}/lib/kicad/plugins
%{_prefix}/lib/kicad/plugins/netlist_form_pads-pcb.xsl
%{_bindir}/*
%{python3_sitelib}/_pcbnew.so
%{python3_sitelib}/pcbnew.py
%{_libdir}/kicad/plugins/3d/libs3d_plugin_idf.so
%{_libdir}/kicad/plugins/3d/libs3d_plugin_vrml.so
%{_libdir}/libkicad_3dsg.so
%{_libdir}/libkicad_3dsg.so.*
%dir %{_datadir}/kicad
%dir %{_datadir}/kicad/demos
%{_datadir}/kicad/demos/*
%dir %{_datadir}/kicad/template
%{_datadir}/kicad/template/*
#%dir %{_datadir}/kicad/library
#%{_datadir}/kicad/library/*
#%dir %{_datadir}/kicad/modules
#%{_datadir}/kicad/modules/*
#%{_datadir}/kicad/COPYRIGHT.txt
%{_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
%{_datadir}/kicad/*
%{_datadir}/appdata/kicad.appdata.xml
%{_datadir}/applications/*.desktop
%{_datadir}/mime/packages/kicad-gerbers.xml
%{_datadir}/mime/packages/kicad-kicad.xml
%{_datadir}/icons/hicolor/*/apps/*.png
%{_datadir}/icons/hicolor/*/mimetypes/*.png
%{_datadir}/icons/hicolor/scalable/apps/*.svg
%{_datadir}/icons/hicolor/scalable/mimetypes/*.svg
%dir %{_datadir}/doc/kicad
%{_datadir}/doc/kicad/*
%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
- update to 20130518