mailimporter/mailimporter.spec

145 lines
4.6 KiB
RPMSpec
Raw Normal View History

#
# spec file for package mailimporter
#
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: mailimporter
Version: 16.04.0
Release: 0
Summary: Base package of kdepim
License: GPL-2.0 and LGPL-2.1+
# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
Group: Development/Libraries
Url: http://www.kde.org
Source0: %{name}-%{version}.tar.xz
BuildRequires: akonadi-calendar-devel
BuildRequires: akonadi-contact-devel
BuildRequires: akonadi-mime-devel
BuildRequires: akonadi-notes-devel
BuildRequires: akonadi-search-devel
BuildRequires: baloo5-widgets-devel
BuildRequires: boost-devel
BuildRequires: cyrus-sasl-devel
BuildRequires: extra-cmake-modules
BuildRequires: fdupes
BuildRequires: gpgme-devel
BuildRequires: gpgmepp5-devel
BuildRequires: grantlee5-devel
BuildRequires: kactivities5-devel
BuildRequires: kalarmcal-devel
BuildRequires: kblog-devel
BuildRequires: kcalcore-devel
BuildRequires: kcalutils-devel
BuildRequires: kcmutils-devel
BuildRequires: kconfig-devel
BuildRequires: kcontacts-devel
BuildRequires: kdelibs4support-devel
BuildRequires: kdewebkit-devel >= 5.0
BuildRequires: kdnssd-framework-devel
BuildRequires: kf5-filesystem
BuildRequires: kglobalaccel-devel
BuildRequires: khtml-devel
BuildRequires: kidentitymanagement-devel
BuildRequires: kimap-devel
BuildRequires: kio-devel
BuildRequires: kitemmodels-devel
BuildRequires: kldap-devel
BuildRequires: kmailtransport-devel
BuildRequires: kmbox-devel
BuildRequires: kmime-devel
BuildRequires: knewstuff-devel
BuildRequires: knotifyconfig-devel
BuildRequires: kontactinterface-devel
BuildRequires: kpimtextedit-devel
BuildRequires: kross-devel
BuildRequires: ktexteditor-devel
BuildRequires: ktnef-devel
BuildRequires: kwallet-devel
BuildRequires: kwidgetsaddons-devel
BuildRequires: kxmlrpcclient5-devel
BuildRequires: libassuan-devel
BuildRequires: libkdepim-devel
BuildRequires: libkgapi5-devel
BuildRequires: libprison-devel
BuildRequires: libqca-qt5-devel
BuildRequires: libxslt-devel
BuildRequires: link-grammar-devel
BuildRequires: phonon4qt5-devel
BuildRequires: syndication-devel
BuildRequires: update-desktop-files
BuildRequires: pkgconfig(Qt5Concurrent) >= 5.2.0
BuildRequires: pkgconfig(Qt5DBus) >= 5.2.0
BuildRequires: pkgconfig(Qt5Declarative) >= 5.2.0
BuildRequires: pkgconfig(Qt5OpenGL) >= 5.2.0
BuildRequires: pkgconfig(Qt5Test) >= 5.2.0
BuildRequires: pkgconfig(Qt5UiTools) >= 5.2.0
BuildRequires: pkgconfig(Qt5WebKitWidgets) >= 5.2.0
BuildRequires: pkgconfig(Qt5Widgets) >= 5.2.0
BuildRequires: pkgconfig(Qt5X11Extras) >= 5.2.0
BuildRequires: pkgconfig(Qt5XmlPatterns) >= 5.2.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package contains the mailimporter library.
%prep
%setup -q
%build
%cmake_kf5 -d build
%make_jobs
%install
%kf5_makeinstall -C build
%package -n libKF5MailImporter5
Summary: MailImporter library for kdepim
License: LGPL-2.1+
# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
Group: Development/Libraries
%description -n libKF5MailImporter5
MailImporter Library
%post -n libKF5MailImporter5 -p /sbin/ldconfig
%postun -n libKF5MailImporter5 -p /sbin/ldconfig
%package devel
Summary: Development package for mailimporter
License: LGPL-2.1+
# FIXME: use correct group, see "https://en.opensuse.org/openSUSE:Package_group_guidelines"
Group: Development/Libraries
Requires: libKF5MailImporter5 = %{version}
%description devel
The development package for the mailimporter libraries
%files devel
%defattr(-,root,root)
%{_includedir}/KF5/mailimporter/
%{_includedir}/KF5/MailImporter/
%{_includedir}/KF5/mailimporter_version.h
%{_libdir}/cmake/KF5MailImporter/
%{_libdir}/libKF5MailImporter.so
%{_libdir}/qt5/mkspecs/modules/qt_MailImporter.pri
%files -n libKF5MailImporter5
%defattr(-,root,root)
%{_libdir}/libKF5MailImporter.so.*
%changelog