2014-07-16 19:27:31 +00:00
|
|
|
#
|
|
|
|
|
# spec file for package setconf
|
|
|
|
|
#
|
2021-01-13 22:15:08 +00:00
|
|
|
# Copyright (c) 2021 SUSE LLC
|
2014-07-16 19:27:31 +00:00
|
|
|
#
|
|
|
|
|
# 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.
|
|
|
|
|
|
2021-01-13 22:15:08 +00:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2014-07-16 19:27:31 +00:00
|
|
|
#
|
|
|
|
|
|
2014-10-20 13:18:05 +00:00
|
|
|
|
2014-07-16 19:27:31 +00:00
|
|
|
Name: setconf
|
2021-01-13 22:15:08 +00:00
|
|
|
Version: 0.7.7
|
2014-07-16 19:27:31 +00:00
|
|
|
Release: 0
|
|
|
|
|
Summary: Utility to easily change settings in configuration files
|
2021-01-13 22:15:08 +00:00
|
|
|
License: GPL-2.0-or-later
|
2014-07-16 19:27:31 +00:00
|
|
|
Group: Development/Tools/Building
|
2021-01-13 22:15:08 +00:00
|
|
|
URL: https://setconf.roboticoverlords.org
|
|
|
|
|
Source: https://setconf.roboticoverlords.org/%{name}-%{version}.tar.xz
|
2014-07-16 19:27:31 +00:00
|
|
|
BuildArch: noarch
|
|
|
|
|
|
|
|
|
|
%description
|
|
|
|
|
setconf is a small utility that can be used for changing settings in
|
|
|
|
|
configuration textfiles.
|
|
|
|
|
|
|
|
|
|
%prep
|
2021-01-13 22:15:08 +00:00
|
|
|
%autosetup
|
2015-07-17 12:28:22 +00:00
|
|
|
gzip -d %{name}.1.gz
|
2014-07-16 19:27:31 +00:00
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
# Nothing to build.
|
|
|
|
|
|
|
|
|
|
%install
|
2021-01-13 22:15:08 +00:00
|
|
|
# fix E: env-script-interpreter
|
|
|
|
|
sed -i 's|/usr/bin/env python|/usr/bin/python3|g' %{name}.py
|
|
|
|
|
|
2017-05-10 09:20:24 +00:00
|
|
|
install -Dpm 0755 %{name}.py %{buildroot}%{_bindir}/%{name}
|
|
|
|
|
install -Dpm 0644 %{name}.1 %{buildroot}%{_mandir}/man1/%{name}.1
|
2014-07-16 19:27:31 +00:00
|
|
|
|
|
|
|
|
%files
|
2021-01-13 22:15:08 +00:00
|
|
|
%license COPYING
|
2014-07-16 19:27:31 +00:00
|
|
|
%{_bindir}/%{name}
|
2015-07-17 12:28:22 +00:00
|
|
|
%{_mandir}/man?/%{name}.?%{?ext_man}
|
2014-07-16 19:27:31 +00:00
|
|
|
|
|
|
|
|
%changelog
|