File testmanager-ng.spec of Package testmanager-ng

#
# This file is part of Testmanager NG.
#
# Testmanager NG is free software: you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by the Free
# Software Foundation, either version 3 of the License, or (at your option)
# any later version.
#
# Testmanager NG is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
# or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
# more details.
#
# You should have received a copy of the GNU General Public License along with
# Testmanager NG. If not, see <http://www.gnu.org/licenses/>.
#
# vim: tw=78 spelllang=en
#

find

%define hgversion %(grep version %{_sourcedir}/_service_obs_scm_testmanager-ng.obsinfo | cut -d' ' -f 2)

Name: testmanager-ng
Version: 0.1%{hgversion}
Release: 1

Summary: Testmanager NG
License: GPL-3.0+
Vendor: Ingenieurgemeinschaft IgH GmbH
Group: Productivity/Other
Url: http://etherlab.org/en/testmanager
Source0: %{name}-%{version}.tar.bz2

%description
Testmanager NG ist the sequel of the automation and visualisation tool by
Dr. Wilhelm Hagemeister.

%prep
%setup

%build
qmake-qt5 PREFIX=%{_prefix}
make %{?_smp_mflags}

%install
make DESTDIR=${RPM_BUILD_ROOT} install

%files
%defattr(-,root,root)
%doc AUTHORS ChangeLog COPYING NEWS

%changelog
* Thu Feb 1 2018 fp@igh.de
- Initial revision
openSUSE Build Service is sponsored by