]> git.pld-linux.org Git - packages/ka5-kmime.git/blame - ka5-kmime.spec
- updated to 21.08.0
[packages/ka5-kmime.git] / ka5-kmime.spec
CommitLineData
6be04490 1%define kdeappsver 21.08.0
b772e3da 2%define qtver 5.9.0
6f9a93a4
WF
3%define kaname kmime
4Summary: KMime
5Name: ka5-%{kaname}
6be04490 6Version: 21.08.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
6be04490 11# Source0-md5: 4852cf30cd3ef85db07dad1e267509a4
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
91494f72
WF
37%description -l pl.UTF-8
38KMime jest biblioteką do obsługi wiadomości pocztowych i artykułów
39grup Usenetowych. Zarówno wiadomości pocztowe i artykuły są oparte na
40tym 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
44 news.
45
6f9a93a4
WF
46%package devel
47Summary: Header files for %{kaname} development
48Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kpname}
49Group: X11/Development/Libraries
50Requires: %{name} = %{version}-%{release}
51
52%description devel
53Header files for %{kaname} development.
54
55%description devel -l pl.UTF-8
56Pliki nagłówkowe dla programistów używających %{kaname}.
57
58%prep
59%setup -q -n %{kaname}-%{version}
60
61%build
62install -d build
63cd build
ac1b6d75
WF
64%cmake -G Ninja \
65 -DHTML_INSTALL_DIR=%{_kdedocdir} \
6f9a93a4
WF
66 -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
67 ..
ac1b6d75 68%ninja_build
6f9a93a4
WF
69
70%install
71rm -rf $RPM_BUILD_ROOT
ac1b6d75 72%ninja_install -C build
6f9a93a4
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)
5c2f8291 84%ghost %{_libdir}/libKF5Mime.so.5
6f9a93a4 85%attr(755,root,root) %{_libdir}/libKF5Mime.so.*.*.*
405d46b6 86%{_datadir}/qlogging-categories5/kmime.categories
6f9a93a4
WF
87
88%files devel
89%defattr(644,root,root,755)
90%{_includedir}/KF5/KMime
91%{_includedir}/KF5/kmime_version.h
92%{_libdir}/cmake/KF5Mime
5c2f8291 93%{_libdir}/libKF5Mime.so
6f9a93a4 94%{_libdir}/qt5/mkspecs/modules/qt_KMime.pri
This page took 0.092663 seconds and 4 git commands to generate.