%define majver %(echo %version | cut -d. -f1-2) Name: kdav Version: 18.08.3 Release: 1mamba Summary: KDE Frameworks 5 Dav library Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://www.kde.org Source: https://download.kde.org/stable/applications/%{version}/src/kdav-%{version}.tar.xz License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libgcc BuildRequires: libkconfig-devel BuildRequires: libkcoreaddons-devel BuildRequires: libkio-devel BuildRequires: libkservice-devel BuildRequires: libqt5-devel BuildRequires: libstdc++6-devel ## AUTOBUILDREQ-END 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 Dav library. %package -n lib%{name} Group: System/Libraries Summary: Shared libraries for %{name} %description -n lib%{name} KDE Frameworks 5 Dav library. This package contains shared libraries for %{name}. %package -n lib%{name}-devel Group: Development/Libraries Summary: Development files for %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} %description -n lib%{name}-devel This package contains libraries and header files for developing applications that use %{name}. %debug_package %prep %setup -q %build %cmake_kde5 -d build %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build %find_lang %{name}5_qt --with-qt --with-man --all-name || touch %{name}5_qt.lang %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -n lib%{name} /sbin/ldconfig exit 0 %postun -n lib%{name} /sbin/ldconfig exit 0 %files -n lib%{name} -f %{name}5_qt.lang %defattr(-,root,root) %{_sysconfdir}/xdg/kdav.categories %{_libdir}/libKPimKDAV.so.* %doc COPYING %files -n lib%{name}-devel %defattr(-,root,root) %dir %{_includedir}/KPim/KDAV %{_includedir}/KPim/KDAV/* %dir %{_includedir}/KPim/kdav %{_includedir}/KPim/kdav/*.h %{_includedir}/KPim/kpimkdav_version.h %dir %{_libdir}/cmake/KPimKDAV %{_libdir}/cmake/KPimKDAV/KPimKDAV*.cmake %{_libdir}/libKPimKDAV.so %{_libdir}/qt5/mkspecs/modules/qt_kdav.pri %changelog * Mon Nov 12 2018 Automatic Build System 18.08.3-1mamba - automatic version update by autodist * Thu Oct 11 2018 Automatic Build System 18.08.2-1mamba - automatic version update by autodist * Thu Sep 06 2018 Automatic Build System 18.08.1-1mamba - automatic version update by autodist * Sat Aug 18 2018 Automatic Build System 18.08.0-1mamba - automatic version update by autodist * Fri Jul 13 2018 Automatic Build System 18.04.3-1mamba - automatic version update by autodist * Thu Jun 07 2018 Automatic Build System 18.04.2-1mamba - automatic version update by autodist * Thu May 10 2018 Automatic Build System 18.04.1-1mamba - automatic version update by autodist * Tue May 01 2018 Automatic Build System 18.04.0-1mamba - automatic version update by autodist * Thu Mar 08 2018 Automatic Build System 17.12.3-1mamba - automatic version update by autodist * Fri Feb 09 2018 Automatic Build System 17.12.2-1mamba - automatic version update by autodist * Thu Jan 11 2018 Automatic Build System 17.12.1-1mamba - automatic version update by autodist * Wed Dec 20 2017 Automatic Build System 17.12.0-1mamba - automatic version update by autodist * Fri Nov 10 2017 Automatic Build System 17.08.3-1mamba - automatic version update by autodist * Thu Oct 12 2017 Automatic Build System 17.08.2-1mamba - automatic version update by autodist * Fri Sep 08 2017 Automatic Build System 17.08.1-1mamba - automatic version update by autodist * Tue Aug 22 2017 Automatic Build System 17.08.0-1mamba - automatic version update by autodist * Wed Aug 09 2017 Silvan Calarco 17.04.3-1mamba - package created using the webbuild interface