]> git.pld-linux.org Git - packages/ka5-libkipi.git/blame - ka5-libkipi.spec
- updated to 22.12.0
[packages/ka5-libkipi.git] / ka5-libkipi.spec
CommitLineData
7dbb29ce
WF
1#
2# Conditional build:
3%bcond_with tests # build with tests
5a8764e1 4%define kdeappsver 22.12.0
73f46d0d
WF
5%define kframever 5.94.0
6%define qtver 5.15.2
b1b94462
WF
7%define kaname libkipi
8
9Summary: Kipi library
10Summary(pl.UTF-8): Biblioteka kipi
11Name: ka5-%{kaname}
5a8764e1 12Version: 22.12.0
f71f207d 13Release: 1
b1b94462
WF
14License: GPL v2+
15Group: X11/Libraries
255cb016 16Source0: https://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
5a8764e1 17# Source0-md5: 3bea0ad905363537a2aa9eb9553368ce
b1b94462 18URL: http://www.kde.org/
fb37cf08
WF
19BuildRequires: Qt5Core-devel
20BuildRequires: Qt5Gui-devel
21BuildRequires: Qt5Widgets-devel
a9a668c9
WF
22BuildRequires: kf5-extra-cmake-modules >= %{kframever}
23BuildRequires: kf5-kconfig-devel >= %{kframever}
24BuildRequires: kf5-kservice-devel >= %{kframever}
25BuildRequires: kf5-kxmlgui-devel >= %{kframever}
fb37cf08
WF
26BuildRequires: libjpeg-devel
27BuildRequires: libpng-devel
28BuildRequires: libtiff-devel
2afbafa5 29BuildRequires: ninja
b1b94462
WF
30BuildRequires: rpmbuild(macros) >= 1.164
31Obsoletes: libkipi <= 4.8.0
32BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
33
34%description
35kipi library.
36
37%description -l pl.UTF-8
38Biblioteka kipi.
39
40%package devel
41Summary: Header files for libkipi development
fb37cf08 42Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kaname}
b1b94462
WF
43Group: X11/Development/Libraries
44Requires: %{name} = %{version}-%{release}
45Obsoletes: kde4-kdegraphics-devel < 4.6.99
46Obsoletes: libkipi-devel <= 4.8.0
47
48%description devel
49Header files for libkipi development.
50
51%description devel -l pl.UTF-8
fb37cf08 52Pliki nagłówkowe dla programistów używających %{kaname}.
b1b94462
WF
53
54%prep
55%setup -q -n %{kaname}-%{version}
56
57%build
58install -d build
59cd build
60%cmake \
2afbafa5 61 -G Ninja \
7dbb29ce 62 %{!?with_tests:-DBUILD_TESTING=OFF} \
a9a668c9 63 -DHTML_INSTALL_DIR=%{_kdedocdir} \
b1b94462
WF
64 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
65 ..
2afbafa5 66%ninja_build
b1b94462 67
7dbb29ce
WF
68%if %{with tests}
69ctest
70%endif
71
72
b1b94462
WF
73%install
74rm -rf $RPM_BUILD_ROOT
2afbafa5 75%ninja_install -C build
b1b94462
WF
76
77%clean
78rm -rf $RPM_BUILD_ROOT
79
80%post -p /sbin/ldconfig
81%postun -p /sbin/ldconfig
82
83%files
84%defattr(644,root,root,755)
6a7ec964 85%{_libdir}/libKF5Kipi.so.32.0.0
d30e4217 86%attr(755,root,root) %{_libdir}/libKF5Kipi.so.5.2.0
b1b94462
WF
87%{_iconsdir}/hicolor/128x128/apps/kipi.png
88%{_iconsdir}/hicolor/16x16/apps/kipi.png
89%{_iconsdir}/hicolor/22x22/apps/kipi.png
90%{_iconsdir}/hicolor/32x32/apps/kipi.png
91%{_iconsdir}/hicolor/48x48/apps/kipi.png
b1b94462 92%{_datadir}/kservicetypes5/kipiplugin.desktop
6a7ec964 93%{_datadir}/qlogging-categories5/kipi.categories
b1b94462
WF
94
95%files devel
96%defattr(644,root,root,755)
97%{_includedir}/KF5/KIPI
b1b94462
WF
98%{_libdir}/cmake/KF5Kipi
99%{_libdir}/libKF5Kipi.so
This page took 0.26872 seconds and 4 git commands to generate.