From 056c3d2842e7a15a721ff3262b27d677a67c5b4f Mon Sep 17 00:00:00 2001 From: cat-master21 <96554164+cat-master21@users.noreply.github.com> Date: Thu, 23 Mar 2023 08:36:49 -0700 Subject: [PATCH] feat: add ubuntu-sdk (#304) * feat: add ubuntu-sdk * chore: use the latest version as latest sdk Co-authored-by: madomado 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 --- anda/others/ubuntu-sdk/anda.hcl | 5 +++ anda/others/ubuntu-sdk/ubuntu-sdk.spec | 42 ++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 anda/others/ubuntu-sdk/anda.hcl create mode 100644 anda/others/ubuntu-sdk/ubuntu-sdk.spec diff --git a/anda/others/ubuntu-sdk/anda.hcl b/anda/others/ubuntu-sdk/anda.hcl new file mode 100644 index 0000000000..548d0ebb99 --- /dev/null +++ b/anda/others/ubuntu-sdk/anda.hcl @@ -0,0 +1,5 @@ +project "pkg" { + rpm { + spec = "ubuntu-sdk.spec" + } +} diff --git a/anda/others/ubuntu-sdk/ubuntu-sdk.spec b/anda/others/ubuntu-sdk/ubuntu-sdk.spec new file mode 100644 index 0000000000..b9af4dc400 --- /dev/null +++ b/anda/others/ubuntu-sdk/ubuntu-sdk.spec @@ -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