/[packages]/cauldron/adwaita-qt/current/SPECS/adwaita-qt.spec
ViewVC logotype

Contents of /cauldron/adwaita-qt/current/SPECS/adwaita-qt.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1143716 - (show annotations) (download)
Wed Aug 23 19:29:52 2017 UTC (6 years, 7 months ago) by ovitters
File size: 1933 byte(s)
- SILENT remove unneeded setup option
- SILENT use autopatch
1 Name: adwaita-qt
2 Version: 0.4
3 Release: %mkrel 3
4 License: LGPLv2+
5 Summary: Adwaita theme for Qt-based applications
6 Group: Graphical desktop/KDE
7
8 Url: https://github.com/MartinBriza/adwaita-qt
9 Source0: https://github.com/MartinBriza/adwaita-qt/archive/adwaita-qt-%{version}.tar.gz
10
11 Patch0: qt-creator-menubar-fix.patch
12
13 BuildRequires: cmake
14 BuildRequires: qt4-devel
15 BuildRequires: libqtbase5-devel
16
17 Requires: adwaita-qt4
18
19 %description
20 Theme to let Qt applications fit nicely into a GTK+ desktop environment
21
22 %package common
23 Summary: Adwaita Qt theme shared files
24 Group: Graphical desktop/KDE
25 BuildArch: noarch
26 Requires: oxygen-icon-theme
27
28 %description common
29 Common files (assets, etc.) for the Adwaita Qt theme
30
31 %package -n adwaita-qt4
32 Summary: Adwaita Qt4 theme
33 Group: Graphical desktop/KDE
34 Requires: qt4-common
35 Requires: adwaita-qt-common
36
37 %description -n adwaita-qt4
38 Adwaita theme variant for applications utilizing Qt4
39
40
41 %package -n adwaita-qt5
42 Summary: Adwaita Qt5 theme
43 Group: Graphical desktop/KDE
44 Requires: qtbase5-common
45 Requires: adwaita-qt-common
46
47 %description -n adwaita-qt5
48 Adwaita theme variant for applications utilizing Qt5
49
50
51 %prep
52 %setup -q
53
54 %autopatch -p1
55
56 %build
57 %{cmake} -DUSE_QT4=true
58 %make_build
59 cd ..
60 mv build "%{_target_platform}-qt4"
61
62 %{cmake}
63 %make_build
64 cd ..
65 mv build "%{_target_platform}-qt5"
66
67
68 %install
69 ln -sf "%{_target_platform}-qt4" build
70 make install/fast DESTDIR=%{buildroot} -C "%{_target_platform}-qt4"
71 rm -f build
72 ln -sf "%{_target_platform}-qt5" build
73 make install/fast DESTDIR=%{buildroot} -C "%{_target_platform}-qt5"
74
75 %files common
76 %{_datadir}/themes/Adwaita/qt/*
77
78 %files -n adwaita-qt4
79 %doc LICENSE.LGPL2 README.md
80 %{_libdir}/qt4/plugins/styles/adwaita.so
81
82 %files -n adwaita-qt5
83 %doc LICENSE.LGPL2 README.md
84 %{_libdir}/qt5/plugins/styles/adwaita.so
85
86 %files
87

  ViewVC Help
Powered by ViewVC 1.1.30