105 lines
2.8 KiB
RPMSpec
105 lines
2.8 KiB
RPMSpec
%global _changelog_trimtime %(date +%s -d "1 year ago")
|
|
|
|
Name: yakuake
|
|
Version: 22.04.2
|
|
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
|
|
|
|
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
|
|
* Tue Jul 5 2022 peijiankang<peijiankang@kylinos.cn> - 22.04.2-1
|
|
- update to upstream version 22.04.2
|
|
|
|
* Sat Mar 26 2022 huayadong<huayadong@kylinos.cn> - 21.12.2-2
|
|
- 修改 yakuake.spec文件 modify spec
|
|
|
|
* Sat Feb 12 2022 peijiankang<peijiankang@kylinos.cn> - 21.12.2-1
|
|
- update to upstream version 21.12.2
|
|
|
|
* Mon Jan 24 2022 peijiankang<peijiankang@kylinos.com> - 21.08.3-1
|
|
- update to upstream version 21.08.3
|