]> git.pld-linux.org Git - packages/kf5-attica.git/blame - kf5-attica.spec
- updated to 5.19.0
[packages/kf5-attica.git] / kf5-attica.spec
CommitLineData
b4de0220
ER
1#
2# Conditional build:
3%bcond_without tests # build without tests
4
5035f594 5# TODO:
5035f594 6# - runtime Requires if any
915d385e 7
2069aa61 8%define kdeframever 5.19
b4de0220
ER
9%define qtver 5.3.2
10%define kfname attica
5035f594 11Summary: A Qt library that implements the Open Collaboration Services API
b4de0220 12Name: kf5-%{kfname}
2069aa61 13Version: 5.19.0
503a77da 14Release: 1
5035f594
WF
15License: GPL v2+/LGPL v2.1+
16Group: X11/Libraries
b4de0220 17Source0: http://download.kde.org/stable/frameworks/%{kdeframever}/%{kfname}-%{version}.tar.xz
2069aa61 18# Source0-md5: 3b4b45a3e250cec426890735089c7fcf
5035f594 19URL: http://www.kde.org/
b4de0220
ER
20BuildRequires: Qt5Core-devel >= %{qtver}
21BuildRequires: Qt5Gui-devel >= %{qtver}
22BuildRequires: Qt5Network-devel >= %{qtver}
23BuildRequires: Qt5Test-devel >= %{qtver}
915d385e 24%if %{with tests}
b4de0220
ER
25BuildRequires: Qt5Gui-devel >= %{qtver}
26BuildRequires: Qt5Widgets-devel >= %{qtver}
915d385e 27%endif
5035f594 28BuildRequires: cmake >= 2.8.12
915d385e 29BuildRequires: kf5-extra-cmake-modules >= 1.4.0
f0e29796 30BuildRequires: qt5-build >= %{qtver}
5035f594 31BuildRequires: rpmbuild(macros) >= 1.164
58755248
WF
32BuildRequires: tar >= 1:1.22
33BuildRequires: xz
5035f594
WF
34BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35
5035f594
WF
36%description
37Attica is a Qt library that implements the Open Collaboration Services
38API version 1.6. The REST API is defined here:
b4de0220 39<http://freedesktop.org/wiki/Specifications/open-collaboration-services-draft/>.
5035f594
WF
40
41It grants easy access to the services such as querying information
42about persons and contents. The library is used in KNewStuff3 as
43content provider. In order to integrate with KDE's Plasma Desktop, a
44platform plugin exists in kdebase.
45
46%package devel
b4de0220
ER
47Summary: Header files for %{kfname} development
48Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kfname}
5035f594
WF
49Group: X11/Development/Libraries
50Requires: %{name} = %{version}-%{release}
51
52%description devel
b4de0220 53Header files for %{kfname} development.
5035f594
WF
54
55%description devel -l pl.UTF-8
b4de0220 56Pliki nagłówkowe dla programistów używających %{kfname}.
5035f594
WF
57
58%prep
b4de0220 59%setup -q -n %{kfname}-%{version}
5035f594
WF
60
61%build
62install -d build
63cd build
64%cmake \
915d385e 65 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
5035f594
WF
66 ..
67%{__make}
68
915d385e
AM
69%{?with_tests:%{__make} test}
70
5035f594
WF
71%install
72rm -rf $RPM_BUILD_ROOT
b4de0220
ER
73%{__make} -C build install \
74 DESTDIR=$RPM_BUILD_ROOT
5035f594
WF
75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
b4de0220
ER
79%post -p /sbin/ldconfig
80%postun -p /sbin/ldconfig
5035f594
WF
81
82%files
83%defattr(644,root,root,755)
84%doc AUTHORS README.md
915d385e 85%attr(755,root,root) %{_libdir}/libKF5Attica.so.*.*.*
b4de0220 86%attr(755,root,root) %ghost %{_libdir}/libKF5Attica.so.5
5035f594
WF
87
88%files devel
89%defattr(644,root,root,755)
915d385e 90%attr(755,root,root) %{_libdir}/libKF5Attica.so
5035f594
WF
91%{_includedir}/KF5/Attica
92%{_includedir}/KF5/attica_version.h
93%{_libdir}/cmake/KF5Attica
5035f594 94%{_pkgconfigdir}/libKF5Attica.pc
915d385e 95%{_libdir}/qt5/mkspecs/modules/qt_Attica.pri
This page took 0.247458 seconds and 4 git commands to generate.