package created using the webbuild interface [release 2.2.1-1mamba;Thu Jul 14 2016]

This commit is contained in:
Silvan Calarco 2024-01-06 02:40:45 +01:00
parent 41fe46c9b4
commit 85df0d3da8
2 changed files with 93 additions and 0 deletions

View File

@ -1,2 +1,4 @@
# kpmcore
Library for managing partitions. Common code for KDE Partition Manager and other projects.

91
kpmcore.spec Normal file
View File

@ -0,0 +1,91 @@
Name: kpmcore
Version: 2.2.1
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.git
## GITSOURCE https://github.com/KDE/kpmcore.git v2.2.1
Source: https://github.com/KDE/kpmcore.git/v%{version}/kpmcore-%{version}.tar.bz2
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
%build
%cmake -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.*
%{_libdir}/plugins/libpmdummybackendplugin.so
%{_libdir}/plugins/libpmlibpartedbackendplugin.so
%{_datadir}/kservices5/pmdummybackendplugin.desktop
%{_datadir}/kservices5/pmlibpartedbackendplugin.desktop
%{_kde5_servicetypesdir}/pmcorebackendplugin.desktop
%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
* Thu Jul 14 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 2.2.1-1mamba
- package created using the webbuild interface