kf6-kstatusnotifieritem/kf6-kstatusnotifieritem.spec

134 lines
4.0 KiB
RPMSpec
Raw Normal View History

%define framework kstatusnotifieritem
%define majver %(echo %version | cut -d. -f1-2)
Name: kf6-kstatusnotifieritem
Version: 6.9.0
Release: 1mamba
Summary: Implementation of Status Notifier Items
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://invent.kde.org/frameworks/kstatusnotifieritem
Source: https://download.kde.org/%{stable_kf6}/frameworks/%{majver}/kstatusnotifieritem-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libQt6Core
BuildRequires: libQt6DBus
BuildRequires: libQt6Gui
BuildRequires: libQt6Widgets
BuildRequires: libX11-devel
BuildRequires: libgcc
BuildRequires: libglvnd-devel
BuildRequires: libkf6-kwindowsystem-devel
BuildRequires: libstdc++6-devel
BuildRequires: libxkbcommon-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: kf6-rpm-macros
BuildRequires: extra-cmake-modules
Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release}
%description
Implementation of Status Notifier Items.
%package -n lib%{name}
Group: System/Libraries
Summary: Shared libraries for %{name}
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%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 -n %{framework}-%{version}
%build
%cmake_kf6
%cmake_build
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%cmake_install
%find_lang %{name} --with-qt --all-name || touch %{name}.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -n lib%{name}
/sbin/ldconfig
exit 0
%postun -n lib%{name}
/sbin/ldconfig
exit 0
%files -f %{name}.lang
%defattr(-,root,root)
%{_datadir}/qlogging-categories6/kstatusnotifieritem.categories
%{_datadir}/dbus-1/interfaces/kf6_org.kde.StatusNotifier*.xml
%doc LICENSES
%files -n lib%{name}
%defattr(-,root,root)
%{_libdir}/libKF6StatusNotifierItem.so.*
%files -n lib%{name}-devel
%defattr(-,root,root)
%dir %{_kf6_includedir}/KStatusNotifierItem
%{_kf6_includedir}/KStatusNotifierItem/*
%{_libdir}/libKF6StatusNotifierItem.so
%dir %{_libdir}/cmake/KF6StatusNotifierItem
%{_libdir}/cmake/KF6StatusNotifierItem/KF6StatusNotifier*.cmake
%{_qt6_docdir}/KF6StatusNotifierItem.*
%changelog
* Sun Dec 15 2024 Automatic Build System <autodist@openmamba.org> 6.9.0-1mamba
- automatic version update by autodist
* Sat Nov 09 2024 Automatic Build System <autodist@openmamba.org> 6.8.0-1mamba
- automatic version update by autodist
* Sat Oct 12 2024 Automatic Build System <autodist@openmamba.org> 6.7.0-1mamba
- automatic version update by autodist
* Sat Sep 14 2024 Automatic Build System <autodist@openmamba.org> 6.6.0-1mamba
- automatic version update by autodist
* Sat Aug 10 2024 Automatic Build System <autodist@openmamba.org> 6.5.0-1mamba
- automatic version update by autodist
* Sat Jul 13 2024 Automatic Build System <autodist@openmamba.org> 6.4.0-1mamba
- automatic version update by autodist
* Sat Jun 08 2024 Automatic Build System <autodist@openmamba.org> 6.3.0-1mamba
- automatic version update by autodist
* Sun May 12 2024 Automatic Build System <autodist@openmamba.org> 6.2.0-1mamba
- automatic version update by autodist
* Sun Apr 14 2024 Automatic Build System <autodist@openmamba.org> 6.1.0-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
* Wed Feb 07 2024 Automatic Build System <autodist@openmamba.org> 5.249.0-1mamba
- automatic version update by autodist
* Sun Jan 21 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 5.248.0-1mamba
- package created using the webbuild interface