commit 6f9a93a43113fb7202d5ce23e3d6d6a49ac36c4a Author: Witold Filipczyk <wite...@poczta.onet.pl> Date: Sun Nov 5 11:11:25 2017 +0100
- updated to 17.08.2 ka5-kmime.spec | 78 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) --- diff --git a/ka5-kmime.spec b/ka5-kmime.spec new file mode 100644 index 0000000..733f470 --- /dev/null +++ b/ka5-kmime.spec @@ -0,0 +1,78 @@ +%define kdeappsver 17.08.2 +%define qtver 5.3.2 +%define kaname kmime +Summary: KMime +Name: ka5-%{kaname} +Version: 17.08.2 +Release: 1 +License: GPL v2+/LGPL v2.1+ +Group: X11/Libraries +Source0: http://download.kde.org/stable/applications/%{kdeappsver}/src/%{kaname}-%{version}.tar.xz +# Source0-md5: 18cde571cbb6bb10be513c3016022f76 +URL: http://www.kde.org/ +BuildRequires: Qt5Core-devel >= %{qtver} +BuildRequires: cmake >= 2.8.12 +BuildRequires: kf5-extra-cmake-modules >= 1.4.0 +BuildRequires: qt5-build >= %{qtver} +BuildRequires: rpmbuild(macros) >= 1.164 +BuildRequires: shared-mime-info +BuildRequires: tar >= 1:1.22 +BuildRequires: xz +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +KMime is a library for handling mail messages and newsgroup articles. +Both mail messages and newsgroup articles are based on the same +standard called MIME, which stands for +- **Multipurpose Internet Mail Extensions**. In this document, the + term `message` is used to refer to both mail messages and newsgroup + articles. + +%package devel +Summary: Header files for %{kaname} development +Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kpname} +Group: X11/Development/Libraries +Requires: %{name} = %{version}-%{release} + +%description devel +Header files for %{kaname} development. + +%description devel -l pl.UTF-8 +Pliki nagłówkowe dla programistów używających %{kaname}. + +%prep +%setup -q -n %{kaname}-%{version} + +%build +install -d build +cd build +%cmake \ + -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \ + .. +%{__make} + +%install +rm -rf $RPM_BUILD_ROOT +%{__make} -C build install \ + DESTDIR=$RPM_BUILD_ROOT + +%find_lang %{kaname} --all-name --with-kde + +%clean +rm -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files -f %{kaname}.lang +%defattr(644,root,root,755) +%attr(755,root,root) %ghost %{_libdir}/libKF5Mime.so.5 +%attr(755,root,root) %{_libdir}/libKF5Mime.so.*.*.* + +%files devel +%defattr(644,root,root,755) +%{_includedir}/KF5/KMime +%{_includedir}/KF5/kmime_version.h +%{_libdir}/cmake/KF5Mime +%attr(755,root,root) %{_libdir}/libKF5Mime.so +%{_libdir}/qt5/mkspecs/modules/qt_KMime.pri ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/ka5-kmime.git/commitdiff/6f9a93a43113fb7202d5ce23e3d6d6a49ac36c4a _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit