Name: kpmcore Version: 4.0.0 Release: 2mamba Summary: Library for managing partitions Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: https://github.com/KDE/kpmcore.git ## GITSOURCE https://github.com/KDE/kpmcore.git v2.2.1 Source: https://github.com/KDE/kpmcore.git/v%{version}/kpmcore-%{version}.tar.bz2 Patch0: kpmcore-4.0.0-dbusdir.patch License: GPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libatasmart-devel BuildRequires: libblkid-devel BuildRequires: libgcc BuildRequires: libkconfig-devel BuildRequires: libkcoreaddons-devel BuildRequires: libki18n-devel BuildRequires: libkiconthemes-devel BuildRequires: libkio-devel BuildRequires: libkservice-devel BuildRequires: libkwidgetsaddons-devel BuildRequires: libparted-devel BuildRequires: libqt5-devel BuildRequires: libstdc++6-devel BuildRequires: libuuid-devel ## AUTOBUILDREQ-END BuildRequires: cmake Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description Library for managing partitions. Common code for KDE Partition Manager and other projects. %package -n lib%{name} Group: System/Libraries Summary: Shared libraries for %{name} %description -n lib%{name} 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 %patch0 -p1 %build %cmake_kde5 -d build %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall -C build %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post -n lib%{name} -p /sbin/ldconfig %postun -n lib%{name} -p /sbin/ldconfig %files -n lib%{name} %defattr(-,root,root) %{_libdir}/libkpmcore.so.* %{_qt5_plugindir}/libpmdummybackendplugin.so %{_qt5_plugindir}/libpmsfdiskbackendplugin.so %{_libexecdir}/kf5/kauth/kpmcore_externalcommand %{_datadir}/dbus-1/system.d/org.kde.kpmcore.*.conf %{_datadir}/dbus-1/system-services/org.kde.kpmcore.externalcommand.service %{_datadir}/polkit-1/actions/org.kde.kpmcore.externalcommand.policy %files -n lib%{name}-devel %defattr(-,root,root) %dir %{_includedir}/kpmcore %{_includedir}/kpmcore/* %dir %{_libdir}/cmake/KPMcore %{_libdir}/cmake/KPMcore/KPMcore*.cmake %{_libdir}/libkpmcore.so %changelog * Sat Oct 05 2019 Silvan Calarco 4.0.0-2mamba - added a patch from arch to fix dbus files installation directory * Sun May 26 2019 Automatic Build System 4.0.0-1mamba - automatic version update by autodist * Sun Dec 31 2017 Silvan Calarco 3.3.0-2mamba - rebuilt with cmake_kde5 to fix plugin installation directory for calamares installer * Thu Dec 21 2017 Automatic Build System 3.3.0-1mamba - automatic version update by autodist * Wed Jul 05 2017 Automatic Build System 3.1.2-1mamba - automatic version update by autodist * Tue Jul 04 2017 Automatic Build System 3.1.1-1mamba - automatic version update by autodist * Mon Feb 06 2017 Automatic Build System 3.0.3-1mamba - automatic version update by autodist * Sun Feb 05 2017 Automatic Build System 3.0.2-1mamba - automatic version update by autodist * Sun Jan 01 2017 Automatic Build System 3.0.1-1mamba - automatic version update by autodist * Mon Dec 19 2016 Automatic Build System 3.0.0-1mamba - automatic version update by autodist * Thu Jul 14 2016 Silvan Calarco 2.2.1-1mamba - package created using the webbuild interface