diff --git a/yakuake-21.08.3.tar.xz b/yakuake-21.08.3.tar.xz new file mode 100644 index 0000000..7771ce5 Binary files /dev/null and b/yakuake-21.08.3.tar.xz differ diff --git a/yakuake.spec b/yakuake.spec new file mode 100644 index 0000000..9433db7 --- /dev/null +++ b/yakuake.spec @@ -0,0 +1,100 @@ +%global _changelog_trimtime %(date +%s -d "1 year ago") + +Name: yakuake +Version: 21.08.3 +Release: 1 +Summary: A drop-down terminal emulator + +# KDE e.V. may determine that future GPL versions are accepted +License: GLv2 or GPLv3 +URL: https://kde.org/applications/system/org.kde.yakuake + +%global revision %(echo %{version} | cut -d. -f3) +%global majmin_ver %(echo %{version} | cut -d. -f1,2) +%if %{revision} >= 50 +%global stable unstable +%else +%global stable stable +%endif +Source0: http://download.kde.org/%{stable}/release-service/%{version}/src/%{name}-%{version}.tar.xz + +## upstream fixes + +# konsolepart +Requires: konsole5-part + +BuildRequires: desktop-file-utils +BuildRequires: extra-cmake-modules +BuildRequires: gettext +BuildRequires: kf5-rpm-macros +BuildRequires: kf5-karchive-devel +BuildRequires: kf5-kconfig-devel +BuildRequires: kf5-kcoreaddons-devel +BuildRequires: kf5-kcrash-devel +BuildRequires: kf5-kdbusaddons-devel +BuildRequires: kf5-kglobalaccel-devel +BuildRequires: kf5-ki18n-devel +BuildRequires: kf5-kiconthemes-devel +BuildRequires: kf5-kio-devel +BuildRequires: kf5-knewstuff-devel +BuildRequires: kf5-knotifications-devel +BuildRequires: kf5-knotifyconfig-devel +BuildRequires: kf5-kparts-devel +BuildRequires: kf5-kwidgetsaddons-devel +BuildRequires: kf5-kwindowsystem-devel + +BuildRequires: pkgconfig(Qt5Widgets) +BuildRequires: pkgconfig(Qt5Svg) +BuildRequires: pkgconfig(Qt5X11Extras) + +%if 0%{?fedora} +%global appstream_validate 1 +BuildRequires: libappstream-glib +%endif + +%description +Yakuake is a drop-down terminal emulator. + + +%prep +%autosetup -p1 + + +%build + mkdir %{_target_platform} + pushd %{_target_platform} + %{cmake_kf5} .. + popd + %make_build -C %{_target_platform} + + + +%install +make install/fast DESTDIR=%{buildroot} -C %{_target_platform} + +%find_lang %{name} + + +%check +%if 0%{?appstream_validate} +appstream-util validate-relax --nonet %{buildroot}%{_kf5_metainfodir}/org.kde.yakuake.appdata.xml +%endif +desktop-file-validate %{buildroot}%{_kf5_datadir}/applications/org.kde.yakuake.desktop + + +%files -f %{name}.lang +%doc AUTHORS ChangeLog TODO +%license LICENSES/* +%{_kf5_bindir}/yakuake +%{_kf5_datadir}/knsrcfiles/yakuake.knsrc +%{_kf5_metainfodir}/org.kde.yakuake.appdata.xml +%{_kf5_datadir}/applications/org.kde.yakuake.desktop +%{_kf5_datadir}/knotifications5/yakuake.notifyrc +%{_kf5_datadir}/yakuake/ +%{_kf5_datadir}/icons/hicolor/*/apps/yakuake.* +%{_kf5_datadir}/dbus-1/services/org.kde.yakuake.service + + +%changelog +* Mon Jan 24 2022 pei-jiankang - 21.08.3-1 +- update to upstream version 21.08.3