Following the request from Design team, I struggle to package Knotter
for review due to failure related to Qt5.

https://koji.fedoraproject.org/koji/taskinfo?taskID=21287726

As I am not familiar with Qt5. Can someone help to fix the error please.
I attached the spec file for view. Knotter website is on
http://knotter.mattbas.org/

-- 
Luya Tshimbalanga
Graphic & Web Designer
E: l...@fedoraproject.org
W: http://www.coolest-storm.net

#%%global	commit0 507c147c8a8d55bfc42163fab4b5d31b4b8a90ea
#%%global	shortcommit0 %%(c=%%{commit0}; echo ${c:0:7})
#%%global	date 20150218

Name:		knotter
Version:	0.9.6
#Release:	0.1%%{?date:.%%{date}git}%%{?dist}
Release:	1%{dist}
Summary:	Knots editor

License:	GPLv3+
URL:		https://knotter.mattbas.org

#%%{?shortcommit0:
#Source0:	https://github.com/mbasaglia/Knotter/archive/%{commit0}.tar.gz#/%%{name}-%%{shortcommit0}.tar.gz}
#%%{!?shortcommit0:
Source0:	https://github.com/mbasaglia/Knotter/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz

BuildRequires:	qt-devel
BuildRequires:	qt5-qtbase-devel
BuildRequires:	qt5-qtdeclarative-devel
BuildRequires:	qt5-qttools-devel
Requires:	qt5-qtbase-gui      
Patch0:		Qt5.7-metatype.patch

%description
Knotter is a free and open source customizable interlace patterns 
whose design is historically used as a decorations in many places
by different cultures. 

%prep
%autosetup -p0

%build
#export CXXFLAGS=-std=c++11
./configure.sh --prefix=%{_prefix}
%make_build


%install
%make_install


%files
%license COPYING
%doc AUTHORS README
%{_datadir}/applications/%{name}.desktop


%changelog
* Fri Jun 16 2017 Luya Tshimbalanga <luya_...@thefinalzone.net> - 0.9.6-1
- Initial build
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to