]> git.pld-linux.org Git - packages/kf5-kpeople.git/blame - kf5-kpeople.spec
- updated to 5.103.0
[packages/kf5-kpeople.git] / kf5-kpeople.spec
CommitLineData
375e1bc9
AM
1# Conditional build:
2%bcond_with tests # build without tests
3#
d10a1f69 4%define kdeframever 5.103
317e4b4a 5%define qtver 5.15.2
375e1bc9
AM
6%define kfname kpeople
7Summary: Provides access to all contacts and the people who hold them
8Name: kf5-%{kfname}
d10a1f69 9Version: 5.103.0
9a1c115f 10Release: 1
375e1bc9
AM
11License: GPL v2+/LGPL v2.1+
12Group: X11/Libraries
56e3f096 13Source0: https://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
d10a1f69 14# Source0-md5: a1088a560a040c2dcfd554954a95069e
375e1bc9
AM
15URL: http://www.kde.org/
16BuildRequires: Qt5Core-devel >= %{qtver}
17BuildRequires: Qt5Gui-devel >= %{qtver}
18BuildRequires: Qt5Network-devel >= %{qtver}
19BuildRequires: Qt5Test-devel >= %{qtver}
20%if %{with tests}
21BuildRequires: Qt5Gui-devel >= %{qtver}
22BuildRequires: Qt5Widgets-devel >= %{qtver}
23%endif
24BuildRequires: cmake >= 2.8.12
fcef112b 25BuildRequires: kf5-extra-cmake-modules >= %{version}
4232b8de 26BuildRequires: kf5-kcoreaddons-devel >= %{version}
fcef112b 27BuildRequires: ninja
375e1bc9
AM
28BuildRequires: qt5-build >= %{qtver}
29BuildRequires: rpmbuild(macros) >= 1.164
30BuildRequires: tar >= 1:1.22
31BuildRequires: xz
38c9eb4b 32Requires: kf5-dirs
375e1bc9
AM
33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35%description
36Provides access to all contacts and the people who hold them.
37
38%package devel
39Summary: Header files for %{kfname} development
40Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname}
41Group: X11/Development/Libraries
42Requires: %{name} = %{version}-%{release}
43
44%description devel
45Header files for %{kfname} development.
46
47%description devel -l pl.UTF-8
48Pliki nagłówkowe dla programistów używających %{kfname}.
49
50%prep
51%setup -q -n %{kfname}-%{version}
52
53%build
54install -d build
55cd build
fcef112b 56%cmake -G Ninja \
85f45b77 57 %{!?with_tests:-DBUILD_TESTING=OFF} \
375e1bc9
AM
58 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
59 ..
fcef112b 60%ninja_build
375e1bc9 61
fcef112b 62%{?with_tests:%ninja_build test}
375e1bc9 63
85f45b77 64
375e1bc9
AM
65%install
66rm -rf $RPM_BUILD_ROOT
fcef112b 67%ninja_install -C build
375e1bc9 68
71f39251 69%find_lang %{kfname}5 --all-name --with-kde
375e1bc9
AM
70
71%clean
72rm -rf $RPM_BUILD_ROOT
73
74%post -p /sbin/ldconfig
75%postun -p /sbin/ldconfig
76
77%files -f %{kfname}5.lang
78%defattr(644,root,root,755)
79%doc README.md
66bf8e38 80%{_datadir}/qlogging-categories5/kpeople.categories
375e1bc9 81%attr(755,root,root) %{_libdir}/libKF5People.so.*.*.*
9fb2dbb8 82%ghost %{_libdir}/libKF5People.so.5
375e1bc9 83%attr(755,root,root) %{_libdir}/libKF5PeopleBackend.so.*.*.*
9fb2dbb8 84%ghost %{_libdir}/libKF5PeopleBackend.so.5
375e1bc9 85%attr(755,root,root) %{_libdir}/libKF5PeopleWidgets.so.*.*.*
9fb2dbb8 86%ghost %{_libdir}/libKF5PeopleWidgets.so.5
375e1bc9 87%dir %{_libdir}/qt5/qml/org/kde/people
03c0032d 88%{_libdir}/qt5/qml/org/kde/people/qmldir
375e1bc9 89%attr(755,root,root) %{_libdir}/qt5/qml/org/kde/people/libKF5PeopleDeclarative.so
b1facbb2 90%{_datadir}/qlogging-categories5/kpeople.renamecategories
375e1bc9
AM
91
92%files devel
93%defattr(644,root,root,755)
9fb2dbb8
WF
94%{_libdir}/libKF5People.so
95%{_libdir}/libKF5PeopleBackend.so
96%{_libdir}/libKF5PeopleWidgets.so
375e1bc9
AM
97%{_includedir}/KF5/KPeople
98%{_libdir}/cmake/KF5People
99%{_libdir}/qt5/mkspecs/modules/qt_KPeople*.pri
This page took 1.515151 seconds and 4 git commands to generate.