File microenc.spec of Package microenc

#
# spec file for package microenc
#
# Copyright (c) 2024 SUSE LINUX GmbH, Nuernberg, Germany.
#
# 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 http://bugs.opensuse.org/
#


Name:           microenc
Version:        3.2
Release:        %mkrel 1
Summary:        Batch audio encoding script for Linux/BSD
License:        GPL-2.0+
Group:          Productivity/Multimedia/Audio/Editors and Convertors
Url:            https://sourceforge.net/projects/microenc/
Source0:        %{name}-%{version}.tar.gz
Requires:       ffmpeg
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildArch:      noarch

%description
microenc is a small Bash shell script for encoding directories
with audio files to other audio formats (mp3/aac/vorbis/opus/ac3/eac3/dts/flac/wav)
using FFmpeg as encoder.

%global debug_package %{nil}

%prep
%setup -q

%build

%install
install -D -m 755 %{name} %{buildroot}/%{_bindir}/%{name}
gzip -9 %{name}.1
install -D -m 644 %{name}.1.gz %{buildroot}/%{_mandir}/man1/%{name}.1.gz



%files
%defattr(-,root,root)
%{_bindir}/*
%{_mandir}/man1/*
%doc AUTHORS ChangeLog LICENSE README

%changelog
openSUSE Build Service is sponsored by