kpmcore/kpmcore.spec

160 lines
5.3 KiB
RPMSpec
Raw Normal View History

Name: kpmcore
Version: 21.08.2
Release: 1mamba
Summary: Library for managing partitions
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://github.com/KDE/kpmcore
## 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: libblkid-devel
BuildRequires: libgcc
BuildRequires: libkcoreaddons-devel
BuildRequires: libki18n-devel
BuildRequires: libkwidgetsaddons-devel
BuildRequires: libpolkit-qt5-1-devel
BuildRequires: libqt5-devel
BuildRequires: libstdc++6-devel
BuildRequires: libuuid-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%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}/kpmcore_externalcommand
%{_datadir}/dbus-1/system.d/org.kde.kpmcore.*.conf
%{_datadir}/dbus-1/system-services/org.kde.kpmcore.helperinterface.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
* Fri Oct 08 2021 Automatic Build System <autodist@mambasoft.it> 21.08.2-1mamba
- automatic version update by autodist
* Thu Sep 02 2021 Automatic Build System <autodist@mambasoft.it> 21.08.1-1mamba
- automatic version update by autodist
* Thu Aug 12 2021 Automatic Build System <autodist@mambasoft.it> 21.08.0-1mamba
- automatic version update by autodist
* Thu Jul 08 2021 Automatic Build System <autodist@mambasoft.it> 21.04.3-1mamba
- automatic version update by autodist
* Thu Jun 10 2021 Automatic Build System <autodist@mambasoft.it> 21.04.2-1mamba
- automatic version update by autodist
* Fri May 14 2021 Automatic Build System <autodist@mambasoft.it> 21.04.1-1mamba
- automatic version update by autodist
* Thu Apr 22 2021 Automatic Build System <autodist@mambasoft.it> 21.04.0-1mamba
- automatic version update by autodist
* Fri Mar 05 2021 Automatic Build System <autodist@mambasoft.it> 20.12.3-1mamba
- automatic version update by autodist
* Sat Feb 06 2021 Automatic Build System <autodist@mambasoft.it> 20.12.2-1mamba
- automatic version update by autodist
* Fri Jan 08 2021 Automatic Build System <autodist@mambasoft.it> 20.12.1-1mamba
- automatic version update by autodist
* Fri Dec 11 2020 Automatic Build System <autodist@mambasoft.it> 20.12.0-1mamba
- automatic version update by autodist
* Sun Oct 18 2020 Automatic Build System <autodist@mambasoft.it> 4.2.0-1mamba
- automatic version update by autodist
* Sun Feb 09 2020 Automatic Build System <autodist@mambasoft.it> 4.1.0-1mamba
- automatic version update by autodist
* Sat Oct 12 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.1-1mamba
- update to 4.0.1
* Sat Oct 05 2019 Silvan Calarco <silvan.calarco@mambasoft.it> 4.0.0-2mamba
- added a patch from arch to fix dbus files installation directory
* Sun May 26 2019 Automatic Build System <autodist@mambasoft.it> 4.0.0-1mamba
- automatic version update by autodist
* Sun Dec 31 2017 Silvan Calarco <silvan.calarco@mambasoft.it> 3.3.0-2mamba
- rebuilt with cmake_kde5 to fix plugin installation directory for calamares installer
* Thu Dec 21 2017 Automatic Build System <autodist@mambasoft.it> 3.3.0-1mamba
- automatic version update by autodist
* Wed Jul 05 2017 Automatic Build System <autodist@mambasoft.it> 3.1.2-1mamba
- automatic version update by autodist
* Tue Jul 04 2017 Automatic Build System <autodist@mambasoft.it> 3.1.1-1mamba
- automatic version update by autodist
* Mon Feb 06 2017 Automatic Build System <autodist@mambasoft.it> 3.0.3-1mamba
- automatic version update by autodist
* Sun Feb 05 2017 Automatic Build System <autodist@mambasoft.it> 3.0.2-1mamba
- automatic version update by autodist
* Sun Jan 01 2017 Automatic Build System <autodist@mambasoft.it> 3.0.1-1mamba
- automatic version update by autodist
* Mon Dec 19 2016 Automatic Build System <autodist@mambasoft.it> 3.0.0-1mamba
- automatic version update by autodist
* Thu Jul 14 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.1-1mamba
- package created using the webbuild interface