File kicad-library.spec of Package kicad-library

#
# spec file for package kicad-library
#
# Copyright (c) 2013 SUSE LINUX Products 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:        20130729
Release:        0
Summary:        Library for kicad: footprints, symbols, 3d-packages
License:        LGPL-2.1+
Group:          Productivity/Scientific/Electronics
Url:            http://kicad-pcb.org
## get library from launchpad repository:
# bzr branch lp:~kicad-lib-committers/kicad/library
# bzr export -r 264 kicad-library-20130729.tar.bz2
Source:         %{name}-%{version}.tar.bz2

BuildRequires:  cmake
BuildRequires:  fdupes
BuildRequires:  gcc-c++

BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
Kicad is an open source software for the creation of electronic schematic
diagrams and printed circuit board artwork up to 16 layers.
This is the library package for kicad. It contains:
- schematic symbols
- footprints
- 3d-packages

%prep
%setup -q

%build
cmake -DCMAKE_INSTALL_PREFIX=%{_prefix} ./
make %{?_smp_mflags}

%install
%makeinstall
%fdupes %{buildroot}/%{_datadir}

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

%changelog
openSUSE Build Service is sponsored by