File regionset.spec of Package regionset

#
# spec file for package regionset
#
# Copyright (c) 2024 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:           regionset
Version:        0.2
Release:        1
License:        GPL-2.0
Summary:        Adjusts and shows the region code of DVD drives
Url:            http://linvdr.org/projects/regionset/
Group:          Hardware/Other
Source0:        %{name}-%{version}.tar.gz

%description
regionset allows you to check and set the region code of DVD drives.

%prep
%setup -q

%build
make %{?_smp_mflags}

%install
install -D -m0755 %{name} %{buildroot}/%{_bindir}/%{name}
gzip %{name}.8
install -D -m0755 %{name}.8.gz %{buildroot}/%{_mandir}/man8/%{name}.8.gz

%files
%doc README COPYING
%{_bindir}/%{name}
%{_mandir}/man8/%{name}.8.gz


openSUSE Build Service is sponsored by