%define majver %(echo %version | cut -d. -f1-2) Name: akonadiconsole Version: 17.04.3 Release: 1mamba Summary: KDE Frameworks 5 Akonadi console Group: Graphical Desktop/Applications/Internet Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.kde.org Source: https://download.kde.org/stable/applications/%{version}/src/akonadiconsole-%{version}.tar.xz # Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libakonadi-calendar-devel BuildRequires: libakonadi-contacts-devel BuildRequires: libakonadi-devel BuildRequires: libakonadi-mime-devel BuildRequires: libassuan-devel BuildRequires: libcalendarsupport-devel BuildRequires: libgcc BuildRequires: libgpg-error-devel BuildRequires: libgpgme-devel BuildRequires: libical-devel BuildRequires: libkauth-devel BuildRequires: libkbookmarks-devel BuildRequires: libkcalcore-devel BuildRequires: libkcodecs-devel BuildRequires: libkcompletion-devel BuildRequires: libkconfig-devel BuildRequires: libkconfigwidgets-devel BuildRequires: libkcontacts-devel BuildRequires: libkcoreaddons-devel BuildRequires: libkcrash-devel BuildRequires: libkdbusaddons-devel BuildRequires: libkdelibs4support-devel BuildRequires: libkdepim-devel BuildRequires: libkguiaddons-devel BuildRequires: libki18n-devel BuildRequires: libkiconthemes-devel BuildRequires: libkidentitymanagement-devel BuildRequires: libkio-devel BuildRequires: libkitemmodels-devel BuildRequires: libkitemviews-devel BuildRequires: libkjobwidgets-devel BuildRequires: libkleo-devel BuildRequires: libkmime-devel BuildRequires: libknotifications-devel BuildRequires: libkparts-devel BuildRequires: libkpimtextedit-devel BuildRequires: libkservice-devel BuildRequires: libktextwidgets-devel BuildRequires: libkunitconversion-devel BuildRequires: libkwidgetsaddons-devel BuildRequires: libkwindowsystem-devel BuildRequires: libkxmlgui-devel BuildRequires: libpimcommon-devel BuildRequires: libqt5-devel BuildRequires: libsolid-devel BuildRequires: libsonnet-devel BuildRequires: libstdc++6-devel BuildRequires: messagelib-devel ## AUTOBUILDREQ-END BuildRequires: akonadi BuildRequires: cmake BuildRequires: rpm-macros-kde5 BuildRequires: extra-cmake-modules Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description KDE Frameworks 5 Akonadi console. %package -n lib%{name} Group: System/Libraries Summary: Shared libraries for %{name} %description -n lib%{name} This package contains shared libraries for %{name}. %debug_package %prep %setup -q %build %cmake_kde5 -d build %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -n lib%{name} /sbin/ldconfig exit 0 %postun -n lib%{name} /sbin/ldconfig exit 0 %files %defattr(-,root,root) %{_sysconfdir}/xdg/akonadiconsole.categories %{_sysconfdir}/xdg/akonadiconsole.renamecategories %{_bindir}/akonadiconsole %{_datadir}/applications/org.kde.akonadiconsole.desktop %{_datadir}/icons/hicolor/*/apps/akonadiconsole.png %{_datadir}/kconf_update/akonadiconsole-15.08-kickoff.sh %{_datadir}/kconf_update/akonadiconsole.upd %doc COPYING COPYING.DOC %files -n lib%{name} %defattr(-,root,root) %{_libdir}/libakonadiconsole.so.* %doc COPYING.LIB %changelog * Sat Aug 05 2017 Silvan Calarco 17.04.3-1mamba - package created using the webbuild interface