!1 Init package
From: @misaka00251 Reviewed-by: @panchenbo Signed-off-by: @panchenbo
This commit is contained in:
commit
68c4ce47f6
BIN
oxygen-sounds-5.25.5.tar.xz
Normal file
BIN
oxygen-sounds-5.25.5.tar.xz
Normal file
Binary file not shown.
58
oxygen-sounds.spec
Normal file
58
oxygen-sounds.spec
Normal file
@ -0,0 +1,58 @@
|
||||
%global kf5_version_min 5.94.0
|
||||
|
||||
Name: oxygen-sounds
|
||||
Version: 5.25.5
|
||||
Release: 1
|
||||
Summary: The Oxygen Sound Theme
|
||||
|
||||
License: LGPL-3.0-or-later and CC0-1.0 and BSD-2-Clause
|
||||
URL: https://invent.kde.org/plasma/oxygen-sounds
|
||||
|
||||
%global verdir %(echo %{version} | cut -d. -f1-3)
|
||||
%global revision %(echo %{version} | cut -d. -f3)
|
||||
%if %{revision} >= 50
|
||||
%global majmin_ver %(echo %{version} | cut -d. -f1,2).50
|
||||
%global stable unstable
|
||||
%else
|
||||
%global majmin_ver %(echo %{version} | cut -d. -f1,2)
|
||||
%global stable stable
|
||||
%endif
|
||||
|
||||
Source0: http://download.kde.org/%{stable}/plasma/%{verdir}/%{name}-%{version}.tar.xz
|
||||
|
||||
Provides: oxygen-sound-theme = %{version}-%{release}
|
||||
Obsoletes: oxygen-sound-theme <= 5.24.50
|
||||
|
||||
BuildRequires: cmake
|
||||
BuildRequires: extra-cmake-modules
|
||||
BuildRequires: kf5-rpm-macros >= %{kf5_version_min}
|
||||
BuildRequires: qt5-qtbase-devel
|
||||
|
||||
BuildArch: noarch
|
||||
|
||||
%description
|
||||
%{summary}.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
%build
|
||||
mkdir %{_target_platform}
|
||||
pushd %{_target_platform}
|
||||
%{cmake_kf5} ..
|
||||
popd
|
||||
%make_build -C %{_target_platform}
|
||||
|
||||
%install
|
||||
make install/fast DESTDIR=%{buildroot} -C %{_target_platform}
|
||||
|
||||
|
||||
%files
|
||||
%license LICENSES/*.txt
|
||||
%{_kf5_datadir}/sounds/Oxygen-*
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Aug 22 2022 misaka00251 <misaka00251@misakanet.cn> - 5.25.5-1
|
||||
- Init package
|
||||
4
oxygen-sounds.yaml
Normal file
4
oxygen-sounds.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: KDE/oxygen-sounds
|
||||
tag_prefix: "^v"
|
||||
separator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user