File kicad-packages3D.spec of Package kicad-packages3D

#
# spec file for package kicad-packages3D
#
# Copyright (c) 2019 SUSE LLC.
#
# 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 https://bugs.opensuse.org/
#


# 5.0.x are bugfix versions, do not require users to upgrade symbols/footprints/packages
%define compatversion 5.0.0

Name:           kicad-packages3D
Version:        5.1.7
Release:        lp152.22.1
Summary:        3D model libraries for rendering and MCAD integration
# License is CC-BY-SA-4.0 but there is an exception
# See included LICENSE.md and kicad-pcb.org/libraries/license/
License:        CC-BY-SA-4.0
Group:          Productivity/Scientific/Electronics
URL:            http://kicad-pcb.org
Source:         https://github.com/KiCad/kicad-packages3D/archive/%{version}.tar.gz#/%{name}-%{version}.tar.xz
BuildRequires:  cmake
BuildRequires:  fdupes
BuildArch:      noarch
Requires:       kicad-footprints = %{version}
Provides:       kicad-library-3d = %{version}
Provides:       kicad-packages3D = %{compatversion}
Obsoletes:      kicad-library-3d < 5.0.0
Suggests:       FreeCAD

%description
KiCad is a software suite used for Electronic Design Automation (EDA).

This package contains 3D models associated with the various KiCad footprint
library components for rendering and mechanical CAD (MCAD) integration.

%prep
%setup -q

%build
%cmake \
    -DKICAD_DATA:PATH=%{_datadir}/kicad
%make_jobs

%install
%cmake_install
%fdupes -s %{buildroot}%{_datadir}/kicad/modules/

%files
%doc README.md CREDITS.md
%dir %{_datadir}/kicad/
%dir %{_datadir}/kicad/modules/
%dir %{_datadir}/kicad/modules/packages3d
%dir %{_datadir}/kicad/modules/packages3d/*
%{_datadir}/kicad/modules/packages3d/*/*.step
%{_datadir}/kicad/modules/packages3d/*/*.wrl
%license LICENSE.md

%changelog
* Sun Sep 27 2020 Aaron Williams <aaron.w2@gmail.com>
- Update to version 5.1.7
* Mon Nov 18 2019 Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Update to version 5.1.5
  See http://kicad-pcb.org/blog/2019/11/KiCad-5.1.5-Release/ for details.
* Wed Aug  7 2019 Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Update to version 5.1.4
  See http://kicad-pcb.org/blog/2019/08/KiCad-5.1.4-Release/ for details.
* Mon Apr 15 2019 Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Update to version 5.1.1
  See http://kicad-pcb.org/blog/2019/04/KiCad-5.1.1-Release/ for details.
* Mon Mar 11 2019 Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Update to version 5.1.0
  See http://kicad-pcb.org/blog/2019/03/KiCad-5.1.0-Release/ for details.
* Thu Dec  6 2018 Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Update to version 5.0.2
* Wed Oct 24 2018 Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Update to version 5.0.1
- Shorten description, strip verbose language duplicated from KiCad package
* Sun Sep 30 2018 Stefan Brüns <stefan.bruens@rwth-aachen.de>
- Do not recommend FreeCAD, editing 3d package models is out of
  scope for most PCB designers.
* Fri Aug 17 2018 davejplater@gmail.com
- Fix description's grammar.
* Thu Aug 16 2018 jengelh@inai.de
- Remove duplicated metadata from description.
* Sun Jul 22 2018 davejplater@gmail.com
- Created kicad-packages3D, initial version 5.0.0 for kicad-5.0.0
- This package replaces the kicad-library-3d package.
openSUSE Build Service is sponsored by