File ASTAP-d20stars.spec of Package ASTAP-d20stars

#
# spec file for package ASTAP-d20stars
#
# Copyright (c) 2023 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/
#


Name:           ASTAP-d20stars
Version:        20230321
Release:        0
Summary:        High density stars database
License:        SUSE-Public-Domain
Group:          Productivity/Scientific/Astronomy
URL:            https://www.hnsky.org/astap.htm
# this is the zip file unpacked and repacked as tar.xz
Source0:        %{name}-%{version}.tar.xz
Recommends:     ASTAP
Conflicts:      ASTAP-d50stars
Conflicts:      ASTAP-h17stars
Provides:       ASTAP-h17stars = 20210105
Conflicts:      ASTAP-h18stars
Provides:       ASTAP-h18stars = 20210105
BuildArch:      noarch

%description
Stars database with a star density limit of 2000 stars per square degree.

%prep
%autosetup -n %{name}

%build

%install
mkdir -p %{buildroot}%{_datadir}/astap/data/
install -m 0644 *.1476 %{buildroot}%{_datadir}/astap/data/

%files
%dir %{_datadir}/astap/
%dir %{_datadir}/astap/data/
%{_datadir}/astap/data/*.1476

%changelog
openSUSE Build Service is sponsored by