100 lines
3.0 KiB
RPMSpec
100 lines
3.0 KiB
RPMSpec
|
%define majver %(echo %version | cut -d. -f1-2)
|
||
|
|
||
|
Name: plasma-activities-stats
|
||
|
Version: 6.0.2
|
||
|
Release: 1mamba
|
||
|
Summary: KDE Plasma library to access the usage statistics data collected by the KDE activity manager
|
||
|
Group: System/Libraries
|
||
|
Vendor: openmamba
|
||
|
Distribution: openmamba
|
||
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||
|
URL: https://kde.org/it/plasma-desktop/
|
||
|
Source: https://download.kde.org/%{stable_kf6}/plasma/%{version}/plasma-activities-stats-%{version}.tar.xz
|
||
|
License: GPL
|
||
|
## AUTOBUILDREQ-BEGIN
|
||
|
BuildRequires: glibc-devel
|
||
|
BuildRequires: libgcc
|
||
|
BuildRequires: libkf6-kconfig-devel
|
||
|
BuildRequires: libplasma-activities-devel
|
||
|
BuildRequires: libstdc++6-devel
|
||
|
BuildRequires: qt6-qtbase-devel
|
||
|
## AUTOBUILDREQ-END
|
||
|
BuildRequires: cmake
|
||
|
BuildRequires: kf6-rpm-macros
|
||
|
BuildRequires: extra-cmake-modules
|
||
|
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||
|
|
||
|
%description
|
||
|
KDE Plasma library to access the usage statistics data collected by the KDE activity manager.
|
||
|
|
||
|
%package -n lib%{name}
|
||
|
Group: System/Libraries
|
||
|
Summary: KDE Plasma library to access the usage statistics data collected by the KDE activity manager.
|
||
|
|
||
|
%description -n lib%{name}
|
||
|
KDE Plasma library to access the usage statistics data collected by the KDE activity manager.
|
||
|
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_kf6
|
||
|
|
||
|
%cmake_build
|
||
|
|
||
|
%install
|
||
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||
|
%cmake_install
|
||
|
|
||
|
%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}
|
||
|
%defattr(-,root,root)
|
||
|
%{_libdir}/libPlasmaActivitiesStats.so.*
|
||
|
%{_datadir}/qlogging-categories6/plasma-activities-stats.categories
|
||
|
%{_datadir}/qlogging-categories6/plasma-activities-stats.renamecategories
|
||
|
%doc LICENSES
|
||
|
|
||
|
%files -n lib%{name}-devel
|
||
|
%defattr(-,root,root)
|
||
|
%dir %{_includedir}/PlasmaActivitiesStats
|
||
|
%{_includedir}/PlasmaActivitiesStats/*
|
||
|
%{_libdir}/libPlasmaActivitiesStats.so
|
||
|
%dir %{_libdir}/cmake/PlasmaActivitiesStats
|
||
|
%{_libdir}/cmake/PlasmaActivitiesStats/PlasmaActivities*.cmake
|
||
|
%{_libdir}/pkgconfig/PlasmaActivitiesStats.pc
|
||
|
%{_qt6_docdir}/PlasmaActivitiesStats.*
|
||
|
|
||
|
%changelog
|
||
|
* Thu Mar 14 2024 Automatic Build System <autodist@openmamba.org> 6.0.2-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Thu Mar 07 2024 Automatic Build System <autodist@openmamba.org> 6.0.1-1mamba
|
||
|
- automatic version update by autodist
|
||
|
|
||
|
* Fri Mar 01 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 6.0.0-1mamba
|
||
|
- update to 6.0.0
|
||
|
|
||
|
* Mon Feb 05 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 5.93.0-1mamba
|
||
|
- package created using the webbuild interface
|