%define pkgver %(version=%version;echo ${version:0:4}-${version:4:2}-${version:6:2}) %define docpkgver 2013-03-15 Name: kicad Epoch: 1 Version: 8.0.4 Release: 1mamba 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: Silvan Calarco 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: libat-spi2-core-devel BuildRequires: libboost-devel BuildRequires: libcairo-devel BuildRequires: libcurl-devel BuildRequires: libfontconfig-devel BuildRequires: libfreetype-devel BuildRequires: libgcc BuildRequires: libgdk-pixbuf-devel BuildRequires: libgit2-devel BuildRequires: libglib-devel BuildRequires: libglu-devel BuildRequires: libglvnd-devel BuildRequires: libgtk3-devel BuildRequires: libharfbuzz-devel BuildRequires: libngspice-devel BuildRequires: libocct-devel BuildRequires: libodbc-devel BuildRequires: libpango-devel BuildRequires: libpixman-devel BuildRequires: libpython3-devel BuildRequires: libpython311-devel BuildRequires: libsecret-devel BuildRequires: libstdc++6-devel BuildRequires: libwayland-devel BuildRequires: libz-devel BuildRequires: wxwidgets-devel BuildRequires: wxwidgets-gtk3-devel ## AUTOBUILDREQ-END BuildRequires: libglm-devel BuildRequires: libocct-devel BuildRequires: python-wxPython-py3 %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 %debug_package %prep %setup -q #-D -T %build #:<< _EOF %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_EGL=1 \ . # -DKICAD_USE_OCC=ON \ %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build #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) %{_bindir}/* %{_datadir}/applications/*.desktop %{_datadir}/metainfo/org.kicad.kicad.metainfo.xml %{_datadir}/mime/packages/kicad-*.xml %{_libdir}/kicad/plugins/3d/libs3d_plugin_*.so %{_libdir}/libkicad_3dsg.so %{_libdir}/libkicad_3dsg.so.* %{_libdir}/libkicommon.so %{_libdir}/libkicommon.so.* %{_libdir}/libkigal.so %{_libdir}/libkigal.so.* %dir %{_datadir}/kicad %{_datadir}/kicad/* %{python3_sitearch}/_pcbnew.so %{python3_sitearch}/pcbnew.py %{_datadir}/icons/hicolor/*/apps/*.png %{_datadir}/icons/hicolor/*/mimetypes/*.png %{_datadir}/icons/hicolor/scalable/apps/*.svg %{_datadir}/icons/hicolor/scalable/mimetypes/*.svg %doc LICENSE.* %changelog * Wed Jul 17 2024 Automatic Build System 8.0.4-1mamba - automatic version update by autodist * Tue Jun 04 2024 Automatic Build System 8.0.3-1mamba - automatic version update by autodist * Sun Apr 28 2024 Automatic Build System 8.0.2-1mamba - automatic version update by autodist * Fri Mar 15 2024 Automatic Build System 8.0.1-1mamba - automatic update by autodist * Sun Feb 25 2024 Automatic Build System 8.0.0-1mamba - automatic version update by autodist * Fri Feb 23 2024 Automatic Build System 7.0.11-1mamba - automatic version update by autodist * Fri Dec 29 2023 Automatic Build System 7.0.10-1mamba - automatic version update by autodist * Mon Nov 06 2023 Automatic Build System 7.0.9-1mamba - automatic version update by autodist * Sat Sep 30 2023 Automatic Build System 7.0.8-1mamba - automatic version update by autodist * Tue Aug 15 2023 Automatic Build System 7.0.7-1mamba - automatic version update by autodist * Fri Jul 07 2023 Automatic Build System 7.0.6-1mamba - automatic version update by autodist * Mon May 29 2023 Automatic Build System 7.0.5-1mamba - automatic version update by autodist * Thu May 25 2023 Automatic Build System 7.0.4-1mamba - automatic version update by autodist * Sun May 14 2023 Automatic Build System 7.0.3-1mamba - automatic version update by autodist * Sun Apr 16 2023 Automatic Build System 7.0.2-1mamba - automatic version update by autodist * Fri Mar 10 2023 Automatic Build System 7.0.1-1mamba - automatic version update by autodist * Tue Feb 14 2023 Automatic Build System 7.0.0-1mamba - automatic version update by autodist * Wed Jan 25 2023 Automatic Build System 6.0.11-1mamba - automatic version update by autodist * Wed Dec 21 2022 Automatic Build System 6.0.10-1mamba - automatic version update by autodist * Sat Oct 29 2022 Automatic Build System 6.0.9-1mamba - automatic version update by autodist * Wed Sep 28 2022 Automatic Build System 6.0.8-1mamba - automatic version update by autodist * Wed Jul 27 2022 Automatic Build System 6.0.7-1mamba - automatic version update by autodist * Sat Jul 23 2022 Automatic Build System 6.0.6-1mamba - automatic version update by autodist * Thu Oct 14 2021 Silvan Calarco 5.1.10-1mamba - update to 5.1.10 * Sun Jan 18 2015 Silvan Calarco 20130518-1mamba - update to 20130518 * Fri May 10 2013 Automatic Build System 20130331-1mamba - update to 20130331 * Thu Apr 26 2012 Ercole 'ercolinux' Carpanetto 20120415-1mamba - update to snapshot 20120415 * Sat Mar 31 2012 Ercole 'ercolinux' Carpanetto 20120324-2mamba - fixed a path error in library and modules - added translations files * Thu Mar 29 2012 Ercole 'ercolinux' Carpanetto 20120324-1mamba - changed version number to snapshot date - added library files * Mon Mar 26 2012 Ercole 'ercolinux' Carpanetto source-1mamba - package created by autospec