]> git.pld-linux.org Git - packages/kf5-kpeople.git/blobdiff - kf5-kpeople.spec
- Up to 5.62.0.
[packages/kf5-kpeople.git] / kf5-kpeople.spec
index 26ea45b8b31b2a1ffbc7605c9716448224f01906..192fa84ab9be2d18fb49b8d8f804a63501e8ff4c 100644 (file)
@@ -1,17 +1,17 @@
 # Conditional build:
 %bcond_with    tests           # build without tests
 #
-%define                kdeframever     5.19
-%define                qtver           5.3.2
+%define                kdeframever     5.62
+%define                qtver           5.9.0
 %define                kfname          kpeople
 Summary:       Provides access to all contacts and the people who hold them
 Name:          kf5-%{kfname}
-Version:       5.19.0
+Version:       5.62.0
 Release:       1
 License:       GPL v2+/LGPL v2.1+
 Group:         X11/Libraries
 Source0:       http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
-# Source0-md5: bb7bc4b9d6f1433538692d63506bac86
+# Source0-md5: 7f8fed92786758c369a4c2b1dd5c1eab
 URL:           http://www.kde.org/
 BuildRequires: Qt5Core-devel >= %{qtver}
 BuildRequires: Qt5Gui-devel >= %{qtver}
@@ -22,11 +22,13 @@ BuildRequires:      Qt5Gui-devel >= %{qtver}
 BuildRequires: Qt5Widgets-devel >= %{qtver}
 %endif
 BuildRequires: cmake >= 2.8.12
-BuildRequires: kf5-extra-cmake-modules >= 1.4.0
+BuildRequires: kf5-extra-cmake-modules >= %{version}
+BuildRequires: ninja
 BuildRequires: qt5-build >= %{qtver}
 BuildRequires: rpmbuild(macros) >= 1.164
 BuildRequires: tar >= 1:1.22
 BuildRequires: xz
+Requires:      kf5-dirs
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -50,17 +52,16 @@ Pliki nagłówkowe dla programistów używających %{kfname}.
 %build
 install -d build
 cd build
-%cmake \
+%cmake -G Ninja \
        -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
        ..
-%{__make}
+%ninja_build
 
-%{?with_tests:%{__make} test}
+%{?with_tests:%ninja_build test}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-%{__make} -C build install \
-       DESTDIR=$RPM_BUILD_ROOT
+%ninja_install -C build
 
 %find_lang %{kfname}5 --all-name --with-kde
 
@@ -73,6 +74,7 @@ rm -rf $RPM_BUILD_ROOT
 %files -f %{kfname}5.lang
 %defattr(644,root,root,755)
 %doc README.md
+%{_datadir}/qlogging-categories5/kpeople.categories
 %attr(755,root,root) %{_libdir}/libKF5People.so.*.*.*
 %attr(755,root,root) %ghost %{_libdir}/libKF5People.so.5
 %attr(755,root,root) %{_libdir}/libKF5PeopleBackend.so.*.*.*
This page took 0.087033 seconds and 4 git commands to generate.