Accepting request 641006 from home:StefanBruens:branches:electronics

- Correct license to GPL-3.0-or-later AND AGPL-3.0-or-later
  Add LICENSE.AGPLv3 for some included third party code

OBS-URL: https://build.opensuse.org/request/show/641006
OBS-URL: https://build.opensuse.org/package/show/electronics/kicad?expand=0&rev=48
This commit is contained in:
2018-10-10 14:16:47 +00:00
committed by Git OBS Bridge
parent 0a9d7c6601
commit 47bd84ac84
3 changed files with 673 additions and 3 deletions

View File

@@ -20,13 +20,15 @@ Name: kicad
Version: 5.0.0
Release: 0
Summary: EDA software suite for the creation of schematics and PCB
License: GPL-3.0-or-later
License: GPL-3.0-or-later AND AGPL-3.0-or-later
Group: Productivity/Scientific/Electronics
Url: http://kicad-pcb.org
Source: https://launchpad.net/kicad/5.0/%{version}/+download/kicad-%{version}.tar.xz
# License file is not include in the repository or tarball
# According to the webpage and the included copyright.h, license is GPL-3.0-or-later
Source2: COPYRIGHT.txt
# It also includes and links some third party code licensed as AGPL-3.0-or-later
Source3: LICENSE.AGPLv3
# PATCH-FEATURE-OPENSUSE kicad-user-library.patch -- add user library path
Patch1: kicad-user-library.patch
# PATCH-FEATURE-OPENSUSE kicad-library-repos-install.patch
@@ -110,7 +112,8 @@ This package contains script for KiCad libraries downloading.
%patch3
%patch4
cp %{SOURCE2} .
cp %{SOURCE2} ./LICENSE.GPLv3
cp %{SOURCE3} ./LICENSE.AGPLv3
%build
# -DKICAD_PLUGINS:PATH=%%{_libdir}/kicad/plugins \
@@ -188,7 +191,7 @@ cmp --quiet %{buildroot}%{_bindir}/_pcbnew.kiface %{buildroot}%{python_sitearch}
%files
%defattr(-,root,root)
%doc README.txt Documentation/changelogs
%license COPYRIGHT.txt
%license LICENSE.GPLv3 LICENSE.AGPLv3
%{_bindir}/*
%exclude %{_bindir}/kicad-library-install.sh
%{_libdir}/kicad/