[packages/ka5-ktnef] - updated to 18.12.0
witekfl
witekfl at pld-linux.org
Thu Dec 27 10:39:53 CET 2018
commit d121b694c51680f03ff2cb6c5957e76106dad916
Author: Witold Filipczyk <witekfl at poczta.onet.pl>
Date: Thu Dec 27 10:39:42 2018 +0100
- updated to 18.12.0
ka5-ktnef.spec | 86 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 86 insertions(+)
---
diff --git a/ka5-ktnef.spec b/ka5-ktnef.spec
new file mode 100644
index 0000000..336e2b4
--- /dev/null
+++ b/ka5-ktnef.spec
@@ -0,0 +1,86 @@
+%define kdeappsver 18.12.0
+%define qtver 5.9.0
+%define kaname ktnef
+Summary: ktnef
+Name: ka5-%{kaname}
+Version: 18.12.0
+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: 6c50a79d313d5b87e26b63019073488e
+URL: http://www.kde.org/
+BuildRequires: Qt5Core-devel >= %{qtver}
+BuildRequires: Qt5Gui-devel >= 5.11.1
+BuildRequires: Qt5Test-devel >= 5.9.0
+BuildRequires: Qt5Widgets-devel
+BuildRequires: gettext-devel
+BuildRequires: ka5-kcalcore-devel >= %{kdeappsver}
+BuildRequires: ka5-kcalutils-devel >= %{kdeappsver}
+BuildRequires: ka5-kcontacts-devel >= %{kdeappsver}
+BuildRequires: kf5-extra-cmake-modules >= 5.30.0
+BuildRequires: kf5-ki18n-devel >= 5.51.0
+BuildRequires: qt5-build >= %{qtver}
+BuildRequires: rpmbuild(macros) >= 1.164
+BuildRequires: shared-mime-info
+BuildRequires: tar >= 1:1.22
+BuildRequires: xz
+BuildRequires: zlib-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The ktnef library contains an API for the handling of TNEF data. The
+API permits access to the actual attachments, the message properties
+(TNEF/MAPI), and allows one to view/extract message formatted text in
+Rich Text Format format.
+
+%package devel
+Summary: Header files for %{kaname} development
+Summary(pl.UTF-8): Pliki nagłówkowe dla programistów używających %{kaname}
+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 --with-qm
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%files -f %{kaname}.lang
+%defattr(644,root,root,755)
+/etc/xdg/ktnef.categories
+/etc/xdg/ktnef.renamecategories
+%attr(755,root,root) %ghost %{_libdir}/libKF5Tnef.so.5
+%attr(755,root,root) %{_libdir}/libKF5Tnef.so.5.*.*
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/KF5/KTNEF
+%{_includedir}/KF5/ktnef_version.h
+%{_libdir}/cmake/KF5Tnef
+%attr(755,root,root) %{_libdir}/libKF5Tnef.so
+%{_libdir}/qt5/mkspecs/modules/qt_KTNef.pri
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ka5-ktnef.git/commitdiff/d121b694c51680f03ff2cb6c5957e76106dad916
More information about the pld-cvs-commit
mailing list