]> git.pld-linux.org Git - packages/ka5-akonadi-notes.git/blame - ka5-akonadi-notes.spec
- updated to 23.08.5
[packages/ka5-akonadi-notes.git] / ka5-akonadi-notes.spec
CommitLineData
73c73671
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
50963072 4%define kdeappsver 23.08.5
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}
50963072 10Version: 23.08.5
1f366495 11Release: 1
7a17678d
WF
12License: GPL v2+/LGPL v2.1+
13Group: X11/Libraries
1f366495 14Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
50963072 15# Source0-md5: e22307bd0d49d152e11da58e1baf7394
7a17678d 16URL: http://www.kde.org/
1f366495
WF
17BuildRequires: Qt5Core-devel >= %{qtver}
18BuildRequires: Qt5Gui-devel >= 5.11.1
19BuildRequires: Qt5Test-devel >= 5.9.0
20BuildRequires: Qt5Xml-devel >= 5.9.0
df71c570 21BuildRequires: cmake >= 3.20
7a17678d 22BuildRequires: gettext-devel
e44cc1ab
WF
23BuildRequires: ka5-akonadi-devel >= %{kdeappsver}
24BuildRequires: ka5-kmime-devel >= %{kdeappsver}
1f366495
WF
25BuildRequires: kf5-extra-cmake-modules >= %{kframever}
26BuildRequires: kf5-ki18n-devel >= %{kframever}
e44cc1ab 27BuildRequires: ninja
1f366495 28BuildRequires: qt5-build >= %{qtver}
7a17678d
WF
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
7a17678d 57%cmake \
df71c570 58 -B build \
e44cc1ab 59 -G Ninja \
73c73671 60 %{!?with_tests:-DBUILD_TESTING=OFF} \
1300401f 61 -DHTML_INSTALL_DIR=%{_kdedocdir} \
df71c570
WF
62 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON
63%ninja_build -C build
7a17678d 64
73c73671 65%if %{with tests}
df71c570 66ctest --test-dir build
73c73671
WF
67%endif
68
69
7a17678d
WF
70%install
71rm -rf $RPM_BUILD_ROOT
e44cc1ab 72%ninja_install -C build
7a17678d
WF
73
74%find_lang %{kaname} --all-name --with-kde
75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
79%post -p /sbin/ldconfig
80%postun -p /sbin/ldconfig
81
82%files -f %{kaname}.lang
83%defattr(644,root,root,755)
1f366495
WF
84%ghost %{_libdir}/libKPim5AkonadiNotes.so.5
85%attr(755,root,root) %{_libdir}/libKPim5AkonadiNotes.so.*.*.*
7a17678d
WF
86
87%files devel
88%defattr(644,root,root,755)
1f366495
WF
89%{_libdir}/qt5/mkspecs/modules/qt_AkonadiNotes.pri
90%{_includedir}/KPim5/AkonadiNotes
91%{_libdir}/cmake/KF5AkonadiNotes
92%{_libdir}/cmake/KPim5AkonadiNotes
93%{_libdir}/libKPim5AkonadiNotes.so
This page took 0.261471 seconds and 4 git commands to generate.