1 %define kdeappsver 21.04.3
8 License: GPL v2+/LGPL v2.1+
10 Source0: http://download.kde.org/stable/release-service/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
11 # Source0-md5: c15a63c9f4f59567bf1d754ca278e630
12 URL: http://www.kde.org/
13 BuildRequires: Qt5Core-devel >= %{qtver}
14 BuildRequires: Qt5Test-devel >= 5.9.0
15 BuildRequires: cmake >= 2.8.12
16 BuildRequires: gettext-devel
17 BuildRequires: kf5-extra-cmake-modules >= 5.53.0
18 BuildRequires: kf5-kcodecs-devel >= 5.51.0
19 BuildRequires: kf5-ki18n-devel
20 BuildRequires: kf5-ki18n-devel >= 5.51.0
22 BuildRequires: qt5-build >= %{qtver}
23 BuildRequires: rpmbuild(macros) >= 1.164
24 BuildRequires: shared-mime-info
25 BuildRequires: tar >= 1:1.22
27 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
30 KMime is a library for handling mail messages and newsgroup articles.
31 Both mail messages and newsgroup articles are based on the same
32 standard 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
37 %description -l pl.UTF-8
38 KMime jest biblioteką do obsługi wiadomości pocztowych i artykułów
39 grup Usenetowych. Zarówno wiadomości pocztowe i artykuły są oparte na
40 tym samym standardzie zwanym MIME
41 - **Multipurpose Internet Mail Extensions**, (**Uniweralne
42 roszszerzenie poczty internetowej**). W tym dokumencie, termin
43 `wiadomość` oznacza zarówno wiadomości pocztowe, jak i artykuły grup
47 Summary: Header files for %{kaname} development
48 Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kpname}
49 Group: X11/Development/Libraries
50 Requires: %{name} = %{version}-%{release}
53 Header files for %{kaname} development.
55 %description devel -l pl.UTF-8
56 Pliki nagłówkowe dla programistów używających %{kaname}.
59 %setup -q -n %{kaname}-%{version}
65 -DHTML_INSTALL_DIR=%{_kdedocdir} \
66 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
71 rm -rf $RPM_BUILD_ROOT
72 %ninja_install -C build
74 %find_lang %{kaname} --all-name --with-kde
77 rm -rf $RPM_BUILD_ROOT
79 %post -p /sbin/ldconfig
80 %postun -p /sbin/ldconfig
82 %files -f %{kaname}.lang
83 %defattr(644,root,root,755)
84 %ghost %{_libdir}/libKF5Mime.so.5
85 %attr(755,root,root) %{_libdir}/libKF5Mime.so.*.*.*
86 %{_datadir}/qlogging-categories5/kmime.categories
89 %defattr(644,root,root,755)
90 %{_includedir}/KF5/KMime
91 %{_includedir}/KF5/kmime_version.h
92 %{_libdir}/cmake/KF5Mime
93 %{_libdir}/libKF5Mime.so
94 %{_libdir}/qt5/mkspecs/modules/qt_KMime.pri