]> git.pld-linux.org Git - packages/ka5-akonadi-mime.git/commitdiff
- updated to 17.08.2
authorWitold Filipczyk <witekfl@poczta.onet.pl>
Sun, 5 Nov 2017 10:29:04 +0000 (11:29 +0100)
committerWitold Filipczyk <witekfl@poczta.onet.pl>
Sun, 5 Nov 2017 10:29:04 +0000 (11:29 +0100)
ka5-akonadi-mime.spec [new file with mode: 0644]

diff --git a/ka5-akonadi-mime.spec b/ka5-akonadi-mime.spec
new file mode 100644 (file)
index 0000000..6896114
--- /dev/null
@@ -0,0 +1,82 @@
+%define                kdeappsver      17.08.2
+%define                qtver           5.3.2
+%define                kaname          akonadi-mime
+Summary:       Akonadi Mime
+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: 191ff44da228c7f740f99fb204269f99
+URL:           http://www.kde.org/
+BuildRequires: Qt5Core-devel >= %{qtver}
+BuildRequires: cmake >= 2.8.12
+BuildRequires: ka5-akonadi-devel >= %{kdeappsver}
+BuildRequires: ka5-kmime-devel >= %{kdeappsver}
+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
+Akonadi Mime is a library that effectively bridges the type-agnostic
+API of the Akonadi client libraries and the domain-specific KMime
+library. It provides jobs, models and other helpers to make working
+with emails through Akonadi easier.
+
+%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) %{_bindir}/akonadi_benchmarker
+%attr(755,root,root) %ghost %{_libdir}/libKF5AkonadiMime.so.5
+%attr(755,root,root) %{_libdir}/libKF5AkonadiMime.so.*.*.*
+%{_datadir}/config.kcfg/specialmailcollections.kcfg
+%{_datadir}/mime/packages/x-vnd.kde.contactgroup.xml
+
+%files devel
+%defattr(644,root,root,755)
+%{_includedir}/KF5/Akonadi/KMime
+%{_includedir}/KF5/akonadi-mime_version.h
+%{_includedir}/KF5/akonadi/kmime
+%{_libdir}/cmake/KF5AkonadiMime
+%attr(755,root,root) %{_libdir}/libKF5AkonadiMime.so
+%{_libdir}/qt5/mkspecs/modules/qt_AkonadiMime.pri
This page took 0.109893 seconds and 4 git commands to generate.