]> git.pld-linux.org Git - packages/kf5-qqc2-desktop-style.git/commitdiff
- 5.39.0
authorWitold Filipczyk <witekfl@poczta.onet.pl>
Sun, 22 Oct 2017 08:52:00 +0000 (10:52 +0200)
committerWitold Filipczyk <witekfl@poczta.onet.pl>
Sun, 22 Oct 2017 08:52:00 +0000 (10:52 +0200)
kf5-qqc2-desktop-style.spec [new file with mode: 0644]

diff --git a/kf5-qqc2-desktop-style.spec b/kf5-qqc2-desktop-style.spec
new file mode 100644 (file)
index 0000000..b564a7c
--- /dev/null
@@ -0,0 +1,76 @@
+%define                kdeframever     5.39
+%define                qtver           5.8.0
+%define                kfname          qqc2-desktop-style
+
+Summary:       QQC2StyleBridge
+Name:          kf5-%{kfname}
+Version:       5.39.0
+Release:       1
+License:       LGPL v2.1+
+Group:         X11/Libraries
+Source0:       http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
+# Source0-md5: 0520bc56ae94b6d7b29c40c334efc806
+URL:           http://www.kde.org/
+BuildRequires: Qt5Core-devel >= %{qtver}
+BuildRequires: Qt5Quick-controls2-devel >= %{qtver}
+BuildRequires: Qt5Test-devel >= %{qtver}
+BuildRequires: Qt5Widgets-devel >= %{qtver}
+BuildRequires: cmake >= 2.8.12
+BuildRequires: kf5-extra-cmake-modules >= 1.4.0
+BuildRequires: rpmbuild(macros) >= 1.164
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+BuildRequires: zlib-devel
+Requires:      kf5-dirs
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%define                qt5dir          %{_libdir}/qt5
+
+%description
+This is a style for QtQuickControls 2 that uses QWidget's QStyle for
+painting, making possible to achieve an higher deree of consistency
+between QWidget-based and QML-based apps. NOTE: the application must
+be a QApplication rather than a QGuiApplication instance in order for
+this style to be used
+
+%package devel
+Summary:       Header files for %{kfname} development
+Summary(pl.UTF-8):     Pliki nagłówkowe dla programistów używających %{kfname}
+Group:         X11/Development/Libraries
+Requires:      %{name} = %{version}-%{release}
+
+%description devel
+Header files for %{kfname} development.
+
+%description devel -l pl.UTF-8
+Pliki nagłówkowe dla programistów używających %{kfname}.
+
+%prep
+%setup -q -n %{kfname}-%{version}
+
+%build
+install -d build
+cd build
+%cmake \
+       -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
+       ../
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} -C build/ install \
+        DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{_libdir}/qt5/plugins/kf5/kirigami/org.kde.desktop.so
+%{_libdir}/qt5/qml/QtQuick/Controls.2/org.kde.desktop
+%{_libdir}/qt5/qml/org/kde/qqc2desktopstyle
+
+%files devel
+%defattr(644,root,root,755)
+%{_libdir}/cmake/KF5QQC2DeskopStyle
This page took 0.408806 seconds and 4 git commands to generate.