Summary: @DESCRIPTION@ Name: @PACKAGE_NAME@ Version: @VERSION@ Release: @BUILD_NUMBER@.@DISTRO@ License: LGPL Group: @RPM_GROUP@ Source0: %{name}-%{version}.tar.gz BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root BuildRequires: which, pkgconfig, gnupg, expect, subversion, make, automake, autoconf, rpm-build, binutils-devel, gcc-c++, doxygen, graphviz, java-openjdk @RPM_BUILD_DEPEND@ @RPM_DEPEND_IFEXISTS@ #### os dependent definitions #### %if 0%{?suse_version} || 0%{?sles_version} BuildRequires: lsb-release, libqt5-qtbase-devel, libqt5-qttools, libQt5WebKit5-devel libqt5-qtwebengine-devel libQt5WebKitWidgets-devel %else BuildRequires: qt5-qtbase-devel, qt5-qttools-devel, qt5-qtwebkit-devel %if 0%{?mageia} BuildRequires: rpm-sign, lsb-release %else BuildRequires: rpm-sign, redhat-lsb %endif %endif %if ! 0%{?centos} BuildRequires: mscgen %endif %description @README@ %prep %setup -q ./configure --prefix=/usr \ --sysconfdir=/etc \ --docdir=/usr/share/doc/packages/@PACKAGE_NAME@ \ --libdir=/usr/%_lib %build make %install DESTDIR=$RPM_BUILD_ROOT make install %clean rm -rf $RPM_BUILD_ROOT %files %defattr(-,root,root,-) /usr/bin/* /usr/share/applications/* %doc /usr/share %changelog