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