forked from KDAB/KDStateMachineEditor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathkdstatemachineeditor.spec
89 lines (75 loc) · 2.66 KB
/
kdstatemachineeditor.spec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
Name: kdstatemachineeditor
Version: 1.2.4
Release: 1
Summary: State Machine Editor Library
Source: %{name}-%{version}.tar.gz
Url: https://github.com/KDAB/KDStateMachineEditor
Group: System/Libraries
License: LGPLv2+
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Vendor: Klaralvdalens Datakonsult AB (KDAB)
Packager: Klaralvdalens Datakonsult AB (KDAB) <[email protected]>
BuildRequires: cmake graphviz-devel
%if %{defined suse_version}
BuildRequires: libqt5-qtdeclarative-devel libqt5-qtdeclarative-private-headers-devel libQt5Test-devel libqt5-qtxmlpatterns-devel
%endif
%if %{defined fedora}
BuildRequires: qt5-qtbase-devel qt5-qtdeclarative-devel qt5-qtxmlpatterns-devel
%if 0%{?fedora} > 23
BuildRequires: ghostscript-core
%endif
%endif
%description
The KDAB State Machine Editor Library is a framework that can be used to help develop
full-featured State Machine Editing graphical user interfaces and tools. Output from such
applications is in metacode or QML that can then be used in larger Qt or QtQuick projects.
Authors:
--------
Klaralvdalens Datakonsult AB (KDAB) <[email protected]>
%define debug_package %{nil}
%global __debug_install_post %{nil}
%package devel
Summary: Development files for %{name}
Group: Development/Libraries
Requires: %{name} = %{version}
%description devel
This package contains headers and libraries necessary to develop programs
using the KDAB State Machine Editor library.
%prep
%setup -q
%build
cmake . -DCMAKE_INSTALL_PREFIX=/usr -DLIB_INSTALL_DIR=%{_lib} -DCMAKE_BUILD_TYPE=Release -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
make %{?_smp_mflags}
%install
make install DESTDIR=%{buildroot} %{?_smp_mflags}
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/lib*.so.*
%doc ReadMe* LICENSE*
%files devel
%defattr(-,root,root)
%dir %{_includedir}/%{name}
%{_includedir}/%{name}/*
%dir %{_libdir}/cmake/KDSME
%{_libdir}/cmake/KDSME/*
%{_libdir}/lib*.so
%{_libdir}/qt5/mkspecs/modules/*
%changelog
* Thu Jun 21 2018 Allen Winter <[email protected]> 1.2.4
1.2.4 Patch Release
* Wed Feb 28 2018 Allen Winter <[email protected]> 1.2.3
1.2.3 Patch Release
* Mon Jan 29 2018 Allen Winter <[email protected]> 1.2.2
1.2.2 Patch Release
* Mon Jun 19 2017 Allen Winter <[email protected]> 1.2.1
1.2.1 Bugfix Release
* Fri Jan 20 2017 Allen Winter <[email protected]> 1.2.0
1.2.0 Minor Release
* Thu Jun 30 2016 Allen Winter <[email protected]> 1.1.0
1.1.0 Minor Release
* Mon Dec 14 2015 Allen Winter <[email protected]> 1.0.0
1.0.0 Final
* Fri Dec 11 2015 Allen Winter <[email protected]> 0.0.99
1.0 Release Candidate