2024-01-06 01:41:01 +01:00
|
|
|
%define pkgver %(version=%version;echo ${version:0:4}-${version:4:2}-${version:6:2})
|
|
|
|
%define docpkgver 2013-03-15
|
|
|
|
Name: kicad
|
2024-01-06 01:41:01 +01:00
|
|
|
Epoch: 1
|
2024-05-02 22:22:48 +02:00
|
|
|
Version: 8.0.2
|
2024-01-06 01:41:01 +01:00
|
|
|
Release: 1mamba
|
2024-01-06 01:41:01 +01:00
|
|
|
Summary: The KiCad EDA Suite project is a software capable of schematic and printed circuit board design
|
2024-01-06 01:41:01 +01:00
|
|
|
Group: Graphical Desktop/Applications/Graphics
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
2024-01-06 01:41:01 +01:00
|
|
|
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
|
2024-01-06 01:41:01 +01:00
|
|
|
Patch0: kicad-20130331-wxWidgets-3.0.1.patch
|
|
|
|
License: GPL, KiCad Free Documentation Licence
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
2024-01-06 01:41:01 +01:00
|
|
|
BuildRequires: libat-spi2-core-devel
|
2024-02-26 16:42:46 +01:00
|
|
|
BuildRequires: libboost-devel
|
2024-01-06 01:41:01 +01:00
|
|
|
BuildRequires: libcairo-devel
|
|
|
|
BuildRequires: libcurl-devel
|
2024-01-06 01:41:04 +01:00
|
|
|
BuildRequires: libfontconfig-devel
|
|
|
|
BuildRequires: libfreetype-devel
|
2024-01-06 01:41:01 +01:00
|
|
|
BuildRequires: libgcc
|
2024-01-06 01:41:01 +01:00
|
|
|
BuildRequires: libgdk-pixbuf-devel
|
2024-02-26 16:42:46 +01:00
|
|
|
BuildRequires: libgit2-devel
|
2024-01-06 01:41:01 +01:00
|
|
|
BuildRequires: libglib-devel
|
2024-01-06 01:41:18 +01:00
|
|
|
BuildRequires: libglu-devel
|
2024-01-06 01:41:01 +01:00
|
|
|
BuildRequires: libglvnd-devel
|
2024-01-06 01:41:01 +01:00
|
|
|
BuildRequires: libgtk3-devel
|
|
|
|
BuildRequires: libharfbuzz-devel
|
2024-01-06 01:41:01 +01:00
|
|
|
BuildRequires: libngspice-devel
|
2024-01-06 01:41:01 +01:00
|
|
|
BuildRequires: libocct-devel
|
2024-01-06 01:41:04 +01:00
|
|
|
BuildRequires: libodbc-devel
|
2024-01-06 01:41:01 +01:00
|
|
|
BuildRequires: libpango-devel
|
2024-01-06 01:41:01 +01:00
|
|
|
BuildRequires: libpixman-devel
|
2024-01-06 01:41:01 +01:00
|
|
|
BuildRequires: libpython3-devel
|
2024-01-06 01:41:21 +01:00
|
|
|
BuildRequires: libpython311-devel
|
2024-02-26 16:42:46 +01:00
|
|
|
BuildRequires: libsecret-devel
|
2024-01-06 01:41:01 +01:00
|
|
|
BuildRequires: libstdc++6-devel
|
2024-02-26 16:42:46 +01:00
|
|
|
BuildRequires: libwayland-devel
|
2024-01-06 01:41:01 +01:00
|
|
|
BuildRequires: libz-devel
|
2024-01-06 01:41:03 +01:00
|
|
|
BuildRequires: wxwidgets-devel
|
|
|
|
BuildRequires: wxwidgets-gtk3-devel
|
2024-01-06 01:41:01 +01:00
|
|
|
## AUTOBUILDREQ-END
|
2024-05-02 22:22:48 +02:00
|
|
|
BuildRequires: libglm-devel
|
2024-01-06 01:41:01 +01:00
|
|
|
BuildRequires: libocct-devel
|
2024-01-06 01:41:01 +01:00
|
|
|
BuildRequires: python-wxPython-py3
|
2024-01-06 01:41:01 +01:00
|
|
|
|
|
|
|
%description
|
|
|
|
Kicad is an EDA software to design 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
|
|
|
|
|
2024-01-06 01:41:01 +01:00
|
|
|
%debug_package
|
2024-01-06 01:41:01 +01:00
|
|
|
|
|
|
|
%prep
|
2024-01-06 01:41:01 +01:00
|
|
|
%setup -q
|
2024-01-06 01:41:01 +01:00
|
|
|
#-D -T
|
2024-01-06 01:41:01 +01:00
|
|
|
|
|
|
|
%build
|
2024-01-06 01:41:01 +01:00
|
|
|
#:<< _EOF
|
2024-01-06 01:41:01 +01:00
|
|
|
%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} \
|
2024-01-06 01:41:01 +01:00
|
|
|
-DKICAD_USE_EGL=1 \
|
2024-01-06 01:41:01 +01:00
|
|
|
.
|
|
|
|
|
|
|
|
# -DKICAD_USE_OCC=ON \
|
|
|
|
|
2024-01-06 01:41:01 +01:00
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
2024-01-06 01:41:01 +01:00
|
|
|
%makeinstall -C build
|
2024-01-06 01:41:01 +01:00
|
|
|
|
|
|
|
#cd %{buildroot}%{_datadir}/kicad
|
|
|
|
#tar -xzf %{SOURCE1}
|
|
|
|
# install localization
|
|
|
|
#rm -rf %{buildroot}%{_datadir}/%{name}/internat/
|
|
|
|
#cd %{buildroot}%{_datadir}/kicad
|
|
|
|
#tar -xzf %{SOURCE2}
|
|
|
|
#install -d %{buildroot}%{_datadir}/locale
|
|
|
|
#cd internat
|
|
|
|
#for dir in ca cs de es fr hu it ko nl pl pt ru sl sv zh_CN; do
|
|
|
|
# install -d %{buildroot}%{_datadir}/locale/${dir}/LC_MESSAGES
|
|
|
|
# install -m 644 ${dir}/%{name}.mo %{buildroot}%{_datadir}/locale/${dir}/LC_MESSAGES/%{name}.mo
|
|
|
|
#done
|
|
|
|
#cd ..
|
|
|
|
#rm -rf %{buildroot}%{_datadir}/%{name}/internat/
|
|
|
|
#
|
|
|
|
#%find_lang %{name}
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
2024-01-06 01:41:01 +01:00
|
|
|
%{_bindir}/*
|
2024-02-26 16:42:46 +01:00
|
|
|
%{_datadir}/applications/*.desktop
|
|
|
|
%{_datadir}/metainfo/org.kicad.kicad.metainfo.xml
|
|
|
|
%{_datadir}/mime/packages/kicad-*.xml
|
2024-01-06 01:41:01 +01:00
|
|
|
%{_libdir}/kicad/plugins/3d/libs3d_plugin_*.so
|
2024-01-06 01:41:01 +01:00
|
|
|
%{_libdir}/libkicad_3dsg.so
|
|
|
|
%{_libdir}/libkicad_3dsg.so.*
|
2024-02-26 16:42:46 +01:00
|
|
|
%{_libdir}/libkicommon.so
|
|
|
|
%{_libdir}/libkicommon.so.*
|
|
|
|
%{_libdir}/libkigal.so
|
|
|
|
%{_libdir}/libkigal.so.*
|
2024-01-06 01:41:01 +01:00
|
|
|
%dir %{_datadir}/kicad
|
2024-01-06 01:41:01 +01:00
|
|
|
%{_datadir}/kicad/*
|
2024-02-26 16:42:46 +01:00
|
|
|
%{python3_sitearch}/_pcbnew.so
|
|
|
|
%{python3_sitearch}/pcbnew.py
|
2024-01-06 01:41:01 +01:00
|
|
|
%{_datadir}/icons/hicolor/*/apps/*.png
|
|
|
|
%{_datadir}/icons/hicolor/*/mimetypes/*.png
|
|
|
|
%{_datadir}/icons/hicolor/scalable/apps/*.svg
|
|
|
|
%{_datadir}/icons/hicolor/scalable/mimetypes/*.svg
|
2024-02-26 16:42:46 +01:00
|
|
|
%doc LICENSE.*
|
2024-01-06 01:41:01 +01:00
|
|
|
|
|
|
|
%changelog
|
2024-05-02 22:22:48 +02:00
|
|
|
* Sun Apr 28 2024 Automatic Build System <autodist@openmamba.org> 8.0.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-03-16 08:40:43 +01:00
|
|
|
* Fri Mar 15 2024 Automatic Build System <autodist@openmamba.org> 8.0.1-1mamba
|
|
|
|
- automatic update by autodist
|
|
|
|
|
2024-02-26 16:42:46 +01:00
|
|
|
* Sun Feb 25 2024 Automatic Build System <autodist@openmamba.org> 8.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-02-24 10:31:44 +01:00
|
|
|
* Fri Feb 23 2024 Automatic Build System <autodist@openmamba.org> 7.0.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:41:26 +01:00
|
|
|
* Fri Dec 29 2023 Automatic Build System <autodist@mambasoft.it> 7.0.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:41:23 +01:00
|
|
|
* Mon Nov 06 2023 Automatic Build System <autodist@mambasoft.it> 7.0.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:41:21 +01:00
|
|
|
* Sat Sep 30 2023 Automatic Build System <autodist@mambasoft.it> 7.0.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:41:18 +01:00
|
|
|
* Tue Aug 15 2023 Automatic Build System <autodist@mambasoft.it> 7.0.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:41:17 +01:00
|
|
|
* Fri Jul 07 2023 Automatic Build System <autodist@mambasoft.it> 7.0.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:41:15 +01:00
|
|
|
* Mon May 29 2023 Automatic Build System <autodist@mambasoft.it> 7.0.5-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:41:13 +01:00
|
|
|
* Thu May 25 2023 Automatic Build System <autodist@mambasoft.it> 7.0.4-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:41:11 +01:00
|
|
|
* Sun May 14 2023 Automatic Build System <autodist@mambasoft.it> 7.0.3-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:41:08 +01:00
|
|
|
* Sun Apr 16 2023 Automatic Build System <autodist@mambasoft.it> 7.0.2-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:41:06 +01:00
|
|
|
* Fri Mar 10 2023 Automatic Build System <autodist@mambasoft.it> 7.0.1-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:41:04 +01:00
|
|
|
* Tue Feb 14 2023 Automatic Build System <autodist@mambasoft.it> 7.0.0-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:41:03 +01:00
|
|
|
* Wed Jan 25 2023 Automatic Build System <autodist@mambasoft.it> 6.0.11-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:41:01 +01:00
|
|
|
* Wed Dec 21 2022 Automatic Build System <autodist@mambasoft.it> 6.0.10-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:41:01 +01:00
|
|
|
* Sat Oct 29 2022 Automatic Build System <autodist@mambasoft.it> 6.0.9-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:41:01 +01:00
|
|
|
* Wed Sep 28 2022 Automatic Build System <autodist@mambasoft.it> 6.0.8-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:41:01 +01:00
|
|
|
* Wed Jul 27 2022 Automatic Build System <autodist@mambasoft.it> 6.0.7-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:41:01 +01:00
|
|
|
* Sat Jul 23 2022 Automatic Build System <autodist@mambasoft.it> 6.0.6-1mamba
|
|
|
|
- automatic version update by autodist
|
|
|
|
|
2024-01-06 01:41:01 +01:00
|
|
|
* Thu Oct 14 2021 Silvan Calarco <silvan.calarco@mambasoft.it> 5.1.10-1mamba
|
|
|
|
- update to 5.1.10
|
|
|
|
|
2024-01-06 01:41:01 +01:00
|
|
|
* Sun Jan 18 2015 Silvan Calarco <silvan.calarco@mambasoft.it> 20130518-1mamba
|
|
|
|
- update to 20130518
|
|
|
|
|
2024-01-06 01:41:01 +01:00
|
|
|
* Fri May 10 2013 Automatic Build System <autodist@mambasoft.it> 20130331-1mamba
|
|
|
|
- update to 20130331
|
|
|
|
|
|
|
|
* Thu Apr 26 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 20120415-1mamba
|
|
|
|
- update to snapshot 20120415
|
|
|
|
|
|
|
|
* Sat Mar 31 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 20120324-2mamba
|
|
|
|
- fixed a path error in library and modules
|
|
|
|
- added translations files
|
|
|
|
|
|
|
|
* Thu Mar 29 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> 20120324-1mamba
|
|
|
|
- changed version number to snapshot date
|
|
|
|
- added library files
|
|
|
|
|
|
|
|
* Mon Mar 26 2012 Ercole 'ercolinux' Carpanetto <ercole69@gmail.com> source-1mamba
|
|
|
|
- package created by autospec
|