# # spec file for package GeISiR # $Revision$ # $Date$ # $Id$ # %define real_name maia %define ctc_name ctc_%{real_name} Name: %{ctc_name} Requires: libQt5Core5 Requires: libQt5Network5 Requires: libQt5Xml5 BuildRequires: cmake BuildRequires: libQt5Core-devel BuildRequires: libQt5Network-devel BuildRequires: libQt5Xml-devel Provides: %{ctc_name} License: BSD 2-clause Group: System/Libraries Summary: Qt XML-RPC library Version: 1.2 Release: 0 Source: %{real_name}-%{version}.tgz %if 0%{?suse_version} < 1120 BuildRoot: %{_tmppath}/%{real_name}-%{version}-build %endif AutoReqProv: no %debug_package %description Qt XML-RPC library %package devel #BuildRequires: - Requires: %{ctc_name} Provides: %{ctc_name}-devel License: BSD 2-clause Group: Qt XML-RPC library Summary: XMLRPC for Qt5 %description devel You need this package, if you want to compile programs with maia %prep %setup -q -n %{real_name}-%{version} %build export CURRENT_ROOT=`pwd` rm -fr $CURRENT_ROOT/../build-%{name}-%{version} mkdir $CURRENT_ROOT/../build-%{name}-%{version} cd $CURRENT_ROOT/../build-%{name}-%{version} cmake $CURRENT_ROOT -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_INSTALL_PREFIX=%{_prefix} make %{?_smp_mflags} %install export CURRENT_ROOT=`pwd` export DONT_STRIP=1 cd $CURRENT_ROOT/../build-%{name}-%{version} make DESTDIR=%{?buildroot:%{buildroot}} install %if 0%{?suse_version} < 1120 %clean %{__rm} -rf '%{buildroot}' %endif %files %defattr(-,root,root,755) %{_prefix}/lib64 %files devel %defattr(-,root,root,755) %{_prefix}/include/ %changelog * Mon Sep 26 2016 Christian Ehrlicher - remove Qt4 support - code cleanup - add delayed response support - move to own git repo instead holding patches * Wed Jul 16 2014 Christian Ehrlicher - fix maia toDouble() conversion * Sun Jan 23 2011 Christian Ehrlicher - initial version