kasts/kasts.spec

79 lines
2.3 KiB
RPMSpec

%define majver %(echo %version | cut -d. -f1-2)
Name: kasts
Version: 23.08.0
Release: 1mamba
Summary: A KDE Plasma convergent podcast application
Group: Graphical Desktop/Applications/Internet
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://kde.org
Source: https://download.kde.org/stable/release-service/%{version}/src/kasts-%{version}.tar.xz
License: GPL
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
BuildRequires: libQt5Multimedia-devel
BuildRequires: libQt5Svg-devel
BuildRequires: libgcc
BuildRequires: libglib-devel
BuildRequires: libgstreamer-devel
BuildRequires: libkconfig-devel
BuildRequires: libkcoreaddons-devel
BuildRequires: libki18n-devel
BuildRequires: libkirigami2-devel
BuildRequires: libnetworkmanager-qt5-devel
BuildRequires: libnm-devel
BuildRequires: libqtkeychain-devel
BuildRequires: libstdc++6-devel
BuildRequires: libsyndication-devel
BuildRequires: libtag-devel
BuildRequires: libthreadweaver-devel
BuildRequires: libvlc-devel
BuildRequires: qt5-qtbase-devel
BuildRequires: qt5-qtdeclarative-devel
BuildRequires: qt5-qtquickcontrols2-devel
## AUTOBUILDREQ-END
BuildRequires: cmake
BuildRequires: rpm-macros-kde5
BuildRequires: extra-cmake-modules
%description
Kasts is a convergent podcast application.
%debug_package
%prep
%setup -q
%build
%cmake_kde5 -d build
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build
%find_lang %{name}5_qt --with-qt --with-man --with-html --all-name || touch %{name}5_qt.lang
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files -f %{name}5_qt.lang
%defattr(-,root,root)
%{_bindir}/kasts
%{_libdir}/libKMediaSession.so
%{_libdir}/libKastsSolidExtras.so
%dir %{_libdir}/qt5/qml/org/kde/kasts/solidextras
%{_libdir}/qt5/qml/org/kde/kasts/solidextras/*
%{_libdir}/qt5/qml/org/kde/kmediasession/*
%{_datadir}/applications/org.kde.kasts.desktop
%{_datadir}/icons/hicolor/scalable/actions/media-playback-cloud.svg
%{_datadir}/icons/hicolor/scalable/apps/kasts*.svg
%{_datadir}/metainfo/org.kde.kasts.appdata.xml
%doc LICENSES
%changelog
* Sun Aug 27 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 23.08.0-1mamba
- package created using the webbuild interface