diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5495359 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/oxygen-sounds-5.24.90.tar.xz diff --git a/oxygen-sounds.spec b/oxygen-sounds.spec new file mode 100644 index 0000000..aae0478 --- /dev/null +++ b/oxygen-sounds.spec @@ -0,0 +1,54 @@ +%global kf5_version_min 5.94.0 + +Name: oxygen-sounds +Version: 5.24.90 +Release: %autorelease +Summary: The Oxygen Sound Theme + +License: LGPLv3+,CC0,BSD +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 +%{cmake_kf5} +%{cmake_build} + +%install +%{cmake_install} + + +%files +%license LICENSES/*.txt +%{_kf5_datadir}/sounds/Oxygen-* + + +%changelog +%autochangelog + diff --git a/sources b/sources new file mode 100644 index 0000000..b773860 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +SHA512 (oxygen-sounds-5.24.90.tar.xz) = 915d09bc134398e6b3e7822f8baa29abbbb74af5554db30f9da16284216f8524cf635dca412ce12bdc0f189861d0f0dc6a22ba5429957f743cf30c900d0a3735