File icy_sauce.spec of Package icy_sauce

#
# spec file for package icy_sauce
#
# Copyright (c) 2025, Martin Hauke <mardnh@gmx.de>
#
# 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:           icy_sauce
Version:        0~git20251108
Release:        0
Summary:        CLI utility for inspecting SAUCE records in files
License:        Apache-2.0
URL:            https://github.com/mkrueger/icy_sauce
#Git-Clone:     https://github.com/mkrueger/icy_sauce.git
Source:         %{name}-%{version}.tar.gz
Source1:        vendor.tar.zst
BuildRequires:  cargo-packaging
BuildRequires:  pkgconfig
ExclusiveArch:  %{rust_tier1_arches}

%description
command-line utility for inspecting SAUCE records in files.

SAUCE is a metadata format created in 1994 by ACiD Productions to
standardize how information about digital artwork and other files
is stored.

The SAUCE record is appended to the end of files and contains:

* Title, Author, and Group information
* Creation date
* File type specifications
* Format-specific metadata (dimensions, fonts, etc.)
* Comments


%prep
%autosetup -a 1

%build
%{cargo_build} --example print_sauce

%install
install -D -m0755 target/release/examples/print_sauce %{buildroot}%{_bindir}/print_sauce

%files
%license LICENSE
%doc README.md
%{_bindir}/print_sauce

%changelog
openSUSE Build Service is sponsored by