1 %define kdeappsver 18.04.0
8 License: GPL v2+/LGPL v2.1+
10 Source0: http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz
11 # Source0-md5: dd55ccba91b0f847061678f030cf2b11
12 URL: http://www.kde.org/
13 BuildRequires: Qt5Core-devel >= %{qtver}
14 BuildRequires: cmake >= 2.8.12
15 BuildRequires: kf5-kcodecs-devel
16 BuildRequires: kf5-extra-cmake-modules >= 1.4.0
17 BuildRequires: kf5-ki18n-devel
18 BuildRequires: qt5-build >= %{qtver}
19 BuildRequires: rpmbuild(macros) >= 1.164
20 BuildRequires: shared-mime-info
21 BuildRequires: tar >= 1:1.22
23 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
26 KMime is a library for handling mail messages and newsgroup articles.
27 Both mail messages and newsgroup articles are based on the same
28 standard called MIME, which stands for
29 - **Multipurpose Internet Mail Extensions**. In this document, the
30 term `message` is used to refer to both mail messages and newsgroup
34 Summary: Header files for %{kaname} development
35 Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kpname}
36 Group: X11/Development/Libraries
37 Requires: %{name} = %{version}-%{release}
40 Header files for %{kaname} development.
42 %description devel -l pl.UTF-8
43 Pliki nagłówkowe dla programistów używających %{kaname}.
46 %setup -q -n %{kaname}-%{version}
52 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
57 rm -rf $RPM_BUILD_ROOT
58 %{__make} -C build install \
59 DESTDIR=$RPM_BUILD_ROOT
61 %find_lang %{kaname} --all-name --with-kde
64 rm -rf $RPM_BUILD_ROOT
66 %post -p /sbin/ldconfig
67 %postun -p /sbin/ldconfig
69 %files -f %{kaname}.lang
70 %defattr(644,root,root,755)
71 %attr(755,root,root) %ghost %{_libdir}/libKF5Mime.so.5
72 %attr(755,root,root) %{_libdir}/libKF5Mime.so.*.*.*
75 %defattr(644,root,root,755)
76 %{_includedir}/KF5/KMime
77 %{_includedir}/KF5/kmime_version.h
78 %{_libdir}/cmake/KF5Mime
79 %attr(755,root,root) %{_libdir}/libKF5Mime.so
80 %{_libdir}/qt5/mkspecs/modules/qt_KMime.pri