File kicad-symbols.spec of Package kicad-symbols

#
# spec file for package kicad-symbols
#
# Copyright (c) 2025 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/
#


# 9.0.y are bugfix versions, do not require users to upgrade symbols/footprints/packages
%define compatversion 9.0.0

Name:           kicad-symbols
Version:        9.0.1
%define file_version 9.0.1
Release:        0
Summary:        Schematic symbol library for KiCad
# License is CC-BY-SA-4.0 but there is an exception
# See included LICENSE.md and kicad.org/libraries/license/
License:        CC-BY-SA-4.0
Group:          Productivity/Scientific/Electronics
URL:            https://www.kicad.org
Source:         https://gitlab.com/kicad/libraries/kicad-symbols/-/archive/%{file_version}/kicad-symbols-%{file_version}.tar.bz2#/%{name}-%{version}.tar.bz2
BuildRequires:  cmake
BuildRequires:  fdupes
Requires:       kicad-footprints = %{version}
Provides:       kicad-library = %{version}
Provides:       kicad-symbols = %{compatversion}
Obsoletes:      kicad-library < 5.0.0
BuildArch:      noarch

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

This is the schematic symbol library package for KiCad.

%prep
%setup -q -n %{name}-%{file_version}

%build
%cmake
%cmake_build

%install
%cmake_install
%fdupes %{buildroot}/%{_datadir}/kicad/

%files
%doc README.md CONTRIBUTING.md
%license LICENSE.md
%{_datadir}/kicad/

%changelog
openSUSE Build Service is sponsored by