File tg.spec of Package tg
#
# spec file for package tg
#
# Copyright (c) 2021 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:           tg
Version:        0.5.0
Release:        0
Summary:        A Time Grapher for Watchmakers
License:        GPL-2.0
URL:            https://github.com/vacaboja/tg
Source0:        https://github.com/vacaboja/tg/archive/refs/tags/v%{version}.tar.gz#/tg-%{version}.tar.gz
BuildRequires:  automake
BuildRequires:  libtool
BuildRequires:  portaudio-devel
BuildRequires:  fftw3-devel
BuildRequires:  gtk3-devel
Requires:       hicolor-icon-theme
%description
Timegraphers for mechanical watches.
%prep
%setup -q -n tg-%{version}
%build
./autogen.sh
%configure
%make_build
%install
%make_install
%files
%license LICENSE
%doc README.md
%{_bindir}/tg-timer
%{_datadir}/applications/tg-timer.desktop
%{_datadir}/icons/hicolor/16x16/apps/tg-timer.png
%{_datadir}/icons/hicolor/16x16/mimetypes/application-x-tg-timer-data.png
%{_datadir}/icons/hicolor/22x22/apps/tg-timer.png
%{_datadir}/icons/hicolor/22x22/mimetypes/application-x-tg-timer-data.png
%{_datadir}/icons/hicolor/32x32/apps/tg-timer.png
%{_datadir}/icons/hicolor/32x32/mimetypes/application-x-tg-timer-data.png
%{_datadir}/icons/hicolor/48x48/apps/tg-timer.png
%{_datadir}/icons/hicolor/48x48/mimetypes/application-x-tg-timer-data.png
%{_datadir}/icons/hicolor/64x64/apps/tg-timer.png
%{_datadir}/icons/hicolor/64x64/mimetypes/application-x-tg-timer-data.png
%{_datadir}/icons/hicolor/128x128/apps/tg-timer.png
%{_datadir}/icons/hicolor/128x128/mimetypes/application-x-tg-timer-data.png
%{_datadir}/icons/hicolor/256x256/apps/tg-timer.png
%{_datadir}/icons/hicolor/256x256/mimetypes/application-x-tg-timer-data.png
%{_datadir}/icons/hicolor/scalable/apps/tg-timer.svg
%{_datadir}/icons/hicolor/scalable/mimetypes/application-x-tg-timer-data.svg
%{_mandir}/man1/tg-timer.1.gz
%{_datadir}/mime/packages/tg-timer.xml
%changelog