/[packages]/cauldron/qtgraphicaleffects5/current/SPECS/qtgraphicaleffects5.spec
ViewVC logotype

Contents of /cauldron/qtgraphicaleffects5/current/SPECS/qtgraphicaleffects5.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1378534 - (show annotations) (download)
Mon Mar 18 01:19:53 2019 UTC (5 years ago) by neoclust
File size: 1965 byte(s)
New version 5.12.0
1 %define snapshot 0
2 %define date 20130523
3
4 %ifarch %{arm}
5 %define build_docs 0
6 %else
7 %define build_docs 1
8 %endif
9
10 %define qtmajor 5
11 %define qtminor 12
12 %define qtsubminor 2
13
14 %define rel 1
15 %define pre rc
16
17 %define major_private 1
18 %define qtversion %{qtmajor}.%{qtminor}.%{qtsubminor}
19
20 %if %snapshot
21 %define qttarballdir qtgraphicaleffects-everywhere-src-%{qtversion}-%pre
22 %else
23 %define qttarballdir qtgraphicaleffects-everywhere-src-%{qtversion}
24 %endif
25
26 Name: qtgraphicaleffects5
27 Version: %{qtversion}
28 Release: %mkrel %{rel}
29 Summary: Qt GraphicalEffects component
30 Group: Development/KDE and Qt
31 License: LGPLv2 with exceptions or GPLv3 with exceptions and GFDL
32 URL: http://www.qt.io
33 Source0: http://download.qt.io/official_releases/qt/%{qtmajor}.%{qtminor}/%{version}/submodules/%{qttarballdir}.tar.xz
34 BuildRequires: qtbase5-devel = %{version}
35 BuildRequires: pkgconfig(Qt5Quick)
36
37 #Branch Patchs
38
39 #Trunk Patchs
40
41 #Patch from Mageia
42
43
44 %description
45 Qt5 GraphicalEffects component.
46
47 %files
48 %{_qt5_qml}/QtGraphicalEffects/
49
50 #------------------------------------------------------------------------------
51
52 %if %{build_docs}
53 %package doc
54 Summary: QtGraphicalEffects%{qtmajor} APIs and tools docs
55 Group: Documentation
56 BuildArch: noarch
57 BuildRequires: qttools5
58 # This one is required to build QCH-format documentation
59 # for APIs and tools in this package set
60 BuildRequires: qttools5-assistant
61 Recommends: qttools5-assistant
62
63 %description doc
64 Documentation for APIs and tools in QtGraphicalEffects5 package for use with
65 Qt Assistant.
66
67 %files doc
68 %{_qt5_docdir}/qtgraphicaleffects.qch
69 %{_qt5_docdir}/qtgraphicaleffects//
70 %endif
71
72 #------------------------------------------------------------------------------
73
74 %prep
75 %setup -q -n qtgraphicaleffects-everywhere-src-%{qtversion}
76
77 %build
78 %qmake_qt5
79
80 %make_build
81
82 %if %{build_docs}
83 %__make docs
84 %endif
85
86 %install
87 %make_install INSTALL_ROOT=%{buildroot}
88
89 %if %{build_docs}
90 %make_install install_docs INSTALL_ROOT=%{buildroot}
91 %endif

  ViewVC Help
Powered by ViewVC 1.1.30