File systemd-qserv.spec of Package systemd-qserv
#
# spec file for package
#
# Copyright (c) 2010 SUSE LINUX Products 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/
#
# norootforbuild
Name: systemd-qserv
Version: 1.0
Release: 2.1
License: GPL-2.0+
Summary: A simple interactive script that handles systemd services for OpenSUSE
Url: http://www.opensuse.org
Group: System/Management
Source: qserv
Source1: systemd-qserv.1
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
Requires: xdg-utils
Requires: xterm
%description
qserv - A simple interactive script that handles systemd services for OpenSUSE
%prep
%build
%install
install -dm0755 %{buildroot}%{_sbindir}
install -m0755 %{S:0} %buildroot%{_sbindir}/qserv
%__install -D -m0644 %{S:1} %{buildroot}%{_mandir}/man1/qserv.1
%clean
%{?buildroot:%__rm -rf "%{buildroot}"}
%files
%defattr(-,root,root)
%{_sbindir}/qserv
%doc %{_mandir}/man1/qserv.1*
%changelog
* Tue Mar 6 2012 boris@steki.net
- initial packaging
* Thu Mar 8 2012 jetchisel@opensuse.org
- Only service names that has a *.service extension or none at all.
- Other extensions are not allowed as it was from the previous code.
* Sat Mar 17 2012
- added color's and man page
* Sun Aug 11 2013
- mixing non existent service with valid services is handled.
- added some more functions.