File ptouch-print.spec of Package ptouch-print
#
# spec file for package ptouch-print
#
# Copyright (c) 2022 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: ptouch-print
Version: 1.7+git20260123.3e026ef
Release: 0
Summary: Command line tool to print text or graphic labels on Brother P-touch printers
License: GPL-3.0-or-later
URL: https://familie-radermacher.ch/dominic/projekte/ptouch-print/
Source0: %{name}-%{version}.tar.xz
BuildRequires: pkgconfig
BuildRequires: cmake
BuildRequires: git-core
BuildRequires: pkgconfig(gdlib)
BuildRequires: pkgconfig(libusb)
%description
Command line tool to print text or graphic labels on Brother P-touch printers like PT-2430PC
%prep
%setup -q
%build
%cmake
%cmake_build
%install
%cmake_install
%find_lang %{name}
%check
%files -f %{name}.lang
%license COPYING
%doc README
%{_mandir}/man1/*
%attr(0755,root,root) %{_bindir}/ptouch-print
%changelog