File lutetab.spec of Package lutetab

#
# spec file for package lutetab
#
# 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:           lutetab
Version:        4.3.106
Release:        0
Summary:        A typesetter for lute tablature
License:        SUSE-Permissive
Group:          Productivity/Publishing/Other
URL:            https://github.com/mandovinnie/Lute-Tab/
Source0:        %{name}-%{version}.tar.xz
Source1:        %{name}.sh
Source2:        %{name}.csh
BuildRequires:  gcc-c++

%description
Tab is a program to typset lute tablature, for renaissance and baroque
lutes and theorboes, in French and Italian notation. It works like TeX
in that a plain text file (that bears little resemblance to the desired
output) is created and processed into a device independent printer
format file. The standard output format is PostScript, which laserwriter
printers print.

With the dvi option this file can be previewed with a dvi previewer
and formatted for your printer with a dvi to printer filter, which is
not included in this package.

This program is not particularly beginner-friendly, but is quite fast
once you have gotten used to it.

%global debug_package %{nil}

%prep
%setup -q

%build
%make_build

%install
mkdir -p %{buildroot}%{_docdir}/%{name}
install -D -m 755 -s tab %{buildroot}%{_bindir}/tab
mkdir -p %{buildroot}%{_datadir}/%{name}
install -D -m 644 *.tfm *.*pk %{buildroot}%{_datadir}/%{name}
mkdir -p %{buildroot}%{_sysconfdir}/profile.d
install -D -m 644 %{SOURCE1} %{SOURCE2} %{buildroot}%{_sysconfdir}/profile.d
cd %{buildroot}

%files
%{_bindir}/tab
%doc README CHANGELOG AboutTab.txt *.tab
%{_datadir}/%{name}
%config %{_sysconfdir}/profile.d/%{name}.*

%changelog
openSUSE Build Service is sponsored by