]> git.pld-linux.org Git - packages/ka5-akonadi-notes.git/blame - ka5-akonadi-notes.spec
- updated to 22.12.1
[packages/ka5-akonadi-notes.git] / ka5-akonadi-notes.spec
CommitLineData
73c73671
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
2bc8d928 4%define kdeappsver 22.12.1
aace4945
WF
5%define kframever 5.94.0
6%define qtver 5.15.2
7a17678d
WF
7%define kaname akonadi-notes
8Summary: Akonadi Notes
9Name: ka5-%{kaname}
2bc8d928
WF
10Version: 22.12.1
11Release: 1
7a17678d
WF
12License: GPL v2+/LGPL v2.1+
13Group: X11/Libraries
b65fddd9 14Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
2bc8d928 15# Source0-md5: 6612e1e429a160f5cf960889fd278421
7a17678d
WF
16URL: http://www.kde.org/
17BuildRequires: Qt5Core-devel >= %{qtver}
18BuildRequires: Qt5Gui-devel >= 5.11.1
19BuildRequires: Qt5Test-devel >= 5.9.0
20BuildRequires: Qt5Xml-devel >= 5.9.0
21BuildRequires: cmake >= 2.8.12
22BuildRequires: gettext-devel
e44cc1ab
WF
23BuildRequires: ka5-akonadi-devel >= %{kdeappsver}
24BuildRequires: ka5-kmime-devel >= %{kdeappsver}
1300401f
WF
25BuildRequires: kf5-extra-cmake-modules >= %{kframever}
26BuildRequires: kf5-ki18n-devel >= %{kframever}
e44cc1ab 27BuildRequires: ninja
7a17678d
WF
28BuildRequires: qt5-build >= %{qtver}
29BuildRequires: rpmbuild(macros) >= 1.164
30BuildRequires: shared-mime-info
31BuildRequires: tar >= 1:1.22
32BuildRequires: xz
33BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34
35%description
36Library for akonadi notes integration.
37
72065bcc
WF
38%description -l pl.UTF-8
39Biblioteka do integracji z notatkami akonadi.
40
7a17678d
WF
41%package devel
42Summary: Header files for %{kaname} development
43Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kaname}
44Group: X11/Development/Libraries
45Requires: %{name} = %{version}-%{release}
46
47%description devel
48Header files for %{kaname} development.
49
50%description devel -l pl.UTF-8
51Pliki nagłówkowe dla programistów używających %{kaname}.
52
53%prep
54%setup -q -n %{kaname}-%{version}
55
56%build
57install -d build
58cd build
59%cmake \
e44cc1ab 60 -G Ninja \
73c73671 61 %{!?with_tests:-DBUILD_TESTING=OFF} \
1300401f 62 -DHTML_INSTALL_DIR=%{_kdedocdir} \
7a17678d
WF
63 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
64 ..
e44cc1ab 65%ninja_build
7a17678d 66
73c73671
WF
67%if %{with tests}
68ctest
69%endif
70
71
7a17678d
WF
72%install
73rm -rf $RPM_BUILD_ROOT
e44cc1ab 74%ninja_install -C build
7a17678d
WF
75
76%find_lang %{kaname} --all-name --with-kde
77
78%clean
79rm -rf $RPM_BUILD_ROOT
80
81%post -p /sbin/ldconfig
82%postun -p /sbin/ldconfig
83
84%files -f %{kaname}.lang
85%defattr(644,root,root,755)
ac597d01
WF
86%ghost %{_libdir}/libKF5AkonadiNotes.so.5
87%attr(755,root,root) %{_libdir}/libKF5AkonadiNotes.so.*.*.*
7a17678d
WF
88
89%files devel
90%defattr(644,root,root,755)
7a17678d 91%{_libdir}/cmake/KF5AkonadiNotes
ac597d01 92%{_libdir}/libKF5AkonadiNotes.so
7a17678d 93%{_libdir}/qt5/mkspecs/modules/qt_AkonadiNotes.pri
f0ad597d 94%{_includedir}/KF5/AkonadiNotes
This page took 0.337547 seconds and 4 git commands to generate.