]> git.pld-linux.org Git - packages/ka5-kmime.git/blame - ka5-kmime.spec
- updated to 21.04.0
[packages/ka5-kmime.git] / ka5-kmime.spec
CommitLineData
5c2f8291 1%define kdeappsver 21.04.0
b772e3da 2%define qtver 5.9.0
6f9a93a4
WF
3%define kaname kmime
4Summary: KMime
5Name: ka5-%{kaname}
5c2f8291 6Version: 21.04.0
6f9a93a4
WF
7Release: 1
8License: GPL v2+/LGPL v2.1+
9Group: X11/Libraries
405d46b6 10Source0: http://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
5c2f8291 11# Source0-md5: aa113808fd562d8d47365880c3a165df
6f9a93a4
WF
12URL: http://www.kde.org/
13BuildRequires: Qt5Core-devel >= %{qtver}
b772e3da 14BuildRequires: Qt5Test-devel >= 5.9.0
6f9a93a4 15BuildRequires: cmake >= 2.8.12
b772e3da
WF
16BuildRequires: gettext-devel
17BuildRequires: kf5-extra-cmake-modules >= 5.53.0
18BuildRequires: kf5-kcodecs-devel >= 5.51.0
acddf3f0 19BuildRequires: kf5-ki18n-devel
b772e3da 20BuildRequires: kf5-ki18n-devel >= 5.51.0
ac1b6d75 21BuildRequires: ninja
6f9a93a4
WF
22BuildRequires: qt5-build >= %{qtver}
23BuildRequires: rpmbuild(macros) >= 1.164
24BuildRequires: shared-mime-info
25BuildRequires: tar >= 1:1.22
26BuildRequires: xz
27BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
28
29%description
30KMime is a library for handling mail messages and newsgroup articles.
31Both mail messages and newsgroup articles are based on the same
32standard called MIME, which stands for
33- **Multipurpose Internet Mail Extensions**. In this document, the
34 term `message` is used to refer to both mail messages and newsgroup
35 articles.
36
37%package devel
38Summary: Header files for %{kaname} development
39Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kpname}
40Group: X11/Development/Libraries
41Requires: %{name} = %{version}-%{release}
42
43%description devel
44Header files for %{kaname} development.
45
46%description devel -l pl.UTF-8
47Pliki nagłówkowe dla programistów używających %{kaname}.
48
49%prep
50%setup -q -n %{kaname}-%{version}
51
52%build
53install -d build
54cd build
ac1b6d75
WF
55%cmake -G Ninja \
56 -DHTML_INSTALL_DIR=%{_kdedocdir} \
6f9a93a4
WF
57 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
58 ..
ac1b6d75 59%ninja_build
6f9a93a4
WF
60
61%install
62rm -rf $RPM_BUILD_ROOT
ac1b6d75 63%ninja_install -C build
6f9a93a4
WF
64
65%find_lang %{kaname} --all-name --with-kde
66
67%clean
68rm -rf $RPM_BUILD_ROOT
69
70%post -p /sbin/ldconfig
71%postun -p /sbin/ldconfig
72
73%files -f %{kaname}.lang
74%defattr(644,root,root,755)
5c2f8291 75%ghost %{_libdir}/libKF5Mime.so.5
6f9a93a4 76%attr(755,root,root) %{_libdir}/libKF5Mime.so.*.*.*
405d46b6 77%{_datadir}/qlogging-categories5/kmime.categories
6f9a93a4
WF
78
79%files devel
80%defattr(644,root,root,755)
81%{_includedir}/KF5/KMime
82%{_includedir}/KF5/kmime_version.h
83%{_libdir}/cmake/KF5Mime
5c2f8291 84%{_libdir}/libKF5Mime.so
6f9a93a4 85%{_libdir}/qt5/mkspecs/modules/qt_KMime.pri
This page took 0.118695 seconds and 4 git commands to generate.