]> git.pld-linux.org Git - packages/kf5-qqc2-desktop-style.git/blame - kf5-qqc2-desktop-style.spec
- packaged dir; rel 2
[packages/kf5-qqc2-desktop-style.git] / kf5-qqc2-desktop-style.spec
CommitLineData
f6edf48d
WF
1%define kdeframever 5.39
2%define qtver 5.8.0
3%define kfname qqc2-desktop-style
4
5Summary: QQC2StyleBridge
6Name: kf5-%{kfname}
7Version: 5.39.0
89883a5b 8Release: 2
f6edf48d
WF
9License: LGPL v2.1+
10Group: X11/Libraries
11Source0: http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
12# Source0-md5: 0520bc56ae94b6d7b29c40c334efc806
13URL: http://www.kde.org/
14BuildRequires: Qt5Core-devel >= %{qtver}
15BuildRequires: Qt5Quick-controls2-devel >= %{qtver}
16BuildRequires: Qt5Test-devel >= %{qtver}
17BuildRequires: Qt5Widgets-devel >= %{qtver}
18BuildRequires: cmake >= 2.8.12
19BuildRequires: kf5-extra-cmake-modules >= 1.4.0
20BuildRequires: rpmbuild(macros) >= 1.164
21BuildRequires: tar >= 1:1.22
22BuildRequires: xz
23BuildRequires: zlib-devel
24Requires: kf5-dirs
25BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26
27%define qt5dir %{_libdir}/qt5
28
29%description
30This is a style for QtQuickControls 2 that uses QWidget's QStyle for
31painting, making possible to achieve an higher deree of consistency
32between QWidget-based and QML-based apps. NOTE: the application must
33be a QApplication rather than a QGuiApplication instance in order for
34this style to be used
35
36%package devel
37Summary: Header files for %{kfname} development
38Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname}
39Group: X11/Development/Libraries
40Requires: %{name} = %{version}-%{release}
41
42%description devel
43Header files for %{kfname} development.
44
45%description devel -l pl.UTF-8
46Pliki nagłówkowe dla programistów używających %{kfname}.
47
48%prep
49%setup -q -n %{kfname}-%{version}
50
51%build
52install -d build
53cd build
54%cmake \
55 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
56 ../
57%{__make}
58
59%install
60rm -rf $RPM_BUILD_ROOT
61
62%{__make} -C build/ install \
63 DESTDIR=$RPM_BUILD_ROOT
64
65%clean
66rm -rf $RPM_BUILD_ROOT
67
68%files
69%defattr(644,root,root,755)
89883a5b 70%dir %{_libdir}/qt5/plugins/kf5/kirigami
f6edf48d
WF
71%{_libdir}/qt5/plugins/kf5/kirigami/org.kde.desktop.so
72%{_libdir}/qt5/qml/QtQuick/Controls.2/org.kde.desktop
73%{_libdir}/qt5/qml/org/kde/qqc2desktopstyle
74
75%files devel
76%defattr(644,root,root,755)
77%{_libdir}/cmake/KF5QQC2DeskopStyle
This page took 0.073699 seconds and 4 git commands to generate.