File kicad-footprints.spec of Package kicad-footprints

#
# spec file for package kicad-footprints
#
# Copyright (c) 2016 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-footprints
Version:        4.0.3
Release:        0
Summary:        Footprints libraries for KiCad
License:        LGPL-2.1+
Group:          Productivity/Scientific/Electronics
# license is the same as kicad-library package
Url:            http://kicad-pcb.org
Source:         http://downloads.kicad-pcb.org/libraries/%{name}-%{version}.tar.gz
BuildRequires:  fdupes
BuildArch:      noarch
Requires:       kicad-library = %{version}

%description
KiCad is an open source (GPL) software for the creation of electronic schematic
diagrams and printed circuit with up to 32 copper layers and additional techinical layers.

This is the footprints package for KiCad.

%prep
%setup -q

%build

%install
mkdir -p %{buildroot}/%{_datadir}/kicad/modules
mv * %{buildroot}/%{_datadir}/kicad/modules/
%fdupes %{buildroot}/%{_datadir}/kicad/modules/

%files
%defattr(-,root,root,-)
%{_datadir}/kicad/

%changelog
openSUSE Build Service is sponsored by