feat: add ubuntu-sdk (#304)

* feat: add ubuntu-sdk

* chore: use the latest version as latest sdk

Co-authored-by: madomado <wboy111@outlook.com>
Signed-off-by: cat-master21 <96554164+cat-master21@users.noreply.github.com>

---------

Signed-off-by: cat-master21 <96554164+cat-master21@users.noreply.github.com>
Co-authored-by: madomado <wboy111@outlook.com>
This commit is contained in:
cat-master21
2023-03-23 08:36:49 -07:00
committed by GitHub
parent 8763bda266
commit 056c3d2842
2 changed files with 47 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
project "pkg" {
rpm {
spec = "ubuntu-sdk.spec"
}
}
+42
View File
@@ -0,0 +1,42 @@
%global forgeurl https://gitlab.com/ubports/development/core/ubuntu-touch-meta
%global commit d1dc3b7f6c508cc2e803db3b72fcf1dc0a019afa
%forgemeta
Name: ubuntu-sdk
Summary: Assets and icons for Unity
Version: 20.04
Release: %autorelease
License: GPLv3+
URL: https://gitlab.com/ubports/development/core/ubuntu-touch-meta
Source0: %{url}/-/archive/%commit/ubuntu-touch-meta-%commit.tar.gz
BuildArch: noarch
BuildRequires: binutils
Recommends: python3-lomiri-click
%description
Theme and icons for Unity.
%prep
%autosetup -n ubuntu-touch-meta-%commit
%build
true
%install
mkdir -m 0755 -p %{buildroot}%{_datadir}/ubports/changelogs %{buildroot}%{_datadir}/click/frameworks
install -Dm644 changelogs/* %{buildroot}%{_datadir}/ubports/changelogs
install -Dm644 frameworks/* %{buildroot}%{_datadir}/click/frameworks
ln -s %{buildroot}%{_datadir}/click/frameworks/ubuntu-sdk-%{version}.framework %{buildroot}%{_datadir}/click/frameworks/current
ln -s %{buildroot}%{_datadir}/ubports/changelogs/%{version} %{buildroot}%{_datadir}/ubports/changelogs/current
%files
%license COPYING
%{_datadir}/ubports/changelogs/
%{_datadir}/click/frameworks/
%changelog
%autochangelog