File kicad-library.spec of Package kicad-library
#
# spec file for package kicad-library
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#
Name: kicad-library
Version: 4.0.7
Release: 0
Summary: Schematic symbol library for KiCad
License: LGPL-2.1+
Group: Productivity/Scientific/Electronics
Url: http://kicad-pcb.org
Source: http://downloads.kicad-pcb.org/libraries/%{name}-%{version}.tar.gz
#Source2: kicad-library-rpmlintrc
BuildRequires: cmake
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildArch: noarch
Requires: kicad = %{version}
Requires: kicad-footprints = %{version}
Obsoletes: kicad-library = 20130729
%description
KiCad is an open source (GPL) software for the creation of
electronic schematic diagrams and printed circuit boards with up
to 32 copper layers and additional techinical layers.
This is the schematic symbol library package for KiCad EDA.
%package 3d
Summary: 3D library for KiCad
Group: Productivity/Scientific/Electronics
Requires: %{name} = %{version}
%description 3d
KiCad is an open source (GPL) software for the creation of
electronic schematic diagrams and printed circuit boards with up
to 32 copper layers and additional techinical layers.
The 3d symbols for kicad are contained in this package,
%prep
%setup -q
%build
%cmake
make %{?_smp_mflags}
%install
%cmake_install
%fdupes %{buildroot}/%{_datadir}/kicad/
%files
%defattr(-,root,root,-)
%{_datadir}/kicad/
%exclude %{_datadir}/kicad/modules/packages3d
%files 3d
%defattr(-,root,root,-)
%{_datadir}/kicad/modules/packages3d/
%changelog