mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-07 20:32:19 +00:00
feat(update): add/fix update scripts (#548)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri-system-settings
|
||||
%global commit 595b25b5f6ab0fee51e084bb6b0d31ccfb719e73
|
||||
%global commit 60f6ecb371414742dd216b6a72c88214ff58b02d
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri-system-settings
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
let o = get("https://gitlab.com/api/v4/projects/25770177/repository/tags").json_arr()[0];
|
||||
rpm.version(o.name);
|
||||
rpm.global("commit", get("https://gitlab.com/api/v4/projects/25770177/repository/commits").json_arr()[0].id);
|
||||
@@ -0,0 +1,3 @@
|
||||
let o = get("https://gitlab.com/api/v4/projects/6865053/repository/tags").json_arr()[0];
|
||||
rpm.version(o.name);
|
||||
rpm.global("commit", get("https://gitlab.com/api/v4/projects/6865053/repository/commits").json_arr()[0].id);
|
||||
@@ -1,5 +1,5 @@
|
||||
%global forgeurl https://gitlab.com/vala-panel-project/vala-panel-appmenu
|
||||
%global commit 99cd56c1644fe4193854902c450e67f9a6685112
|
||||
%global commit 76442be6195385193cb5931d0004122310d40c95
|
||||
%forgemeta
|
||||
|
||||
Name: vala-panel-appmenu
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
%define _ubuntu_rel 22.10.20220822-0ubuntu1
|
||||
%define _ubuntu_rel 22.10.20220822-0ubuntu3
|
||||
%global _hardened_build 0
|
||||
|
||||
Name: compiz9
|
||||
Version: 0.9.14.2
|
||||
Release: %autorelease
|
||||
Release: 2%?dist
|
||||
Summary: OpenGL window and compositing manager 0.9.X.X series
|
||||
|
||||
License: GPL-2.0-or-later AND LGPL-2.0-or-later AND MIT
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
let html = get("http://archive.ubuntu.com/ubuntu/pool/universe/c/compiz/?C=N;O=D");
|
||||
let v = find("compiz_([\\d.]+)\\+(.+?).tar.xz", html, 1);
|
||||
let r = find("compiz_([\\d.]+)\\+(.+?).tar.xz", html, 2);
|
||||
rpm.version(v);
|
||||
rpm.define("_ubuntu_rel", r);
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh("FyshOS/fynedesk"));
|
||||
@@ -1,5 +1,5 @@
|
||||
%global forgeurl https://gitlab.com/ubports/development/core/lomiri
|
||||
%global commit a1a1b1f25714a0f5cddf3905edc38dc6e6b49228
|
||||
%global commit 8a2f908c306ec63a7a0f14c247fa1676c655c7ce
|
||||
%forgemeta
|
||||
|
||||
Name: lomiri
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
let o = get("https://gitlab.com/api/v4/projects/25716028/repository/tags").json_arr()[0];
|
||||
rpm.version(o.name);
|
||||
rpm.global("commit", get("https://gitlab.com/api/v4/projects/25716028/repository/commits").json_arr()[0].id);
|
||||
@@ -1,3 +1,5 @@
|
||||
%define archive unity_7.7.0+23.04.20230222.2-0ubuntu2.tar.xz
|
||||
|
||||
Name: unity-shell
|
||||
Version: 7.7.0
|
||||
Release: %autorelease
|
||||
@@ -5,7 +7,7 @@ Summary: Unity is a shell that sings
|
||||
|
||||
License: GPL-3.0-or-later
|
||||
URL: https://launchpad.net/unity
|
||||
Source0: http://archive.ubuntu.com/ubuntu/pool/universe/u/unity/unity_%{version}+23.04.20230222.2-0ubuntu2.tar.xz
|
||||
Source0: http://archive.ubuntu.com/ubuntu/pool/universe/u/unity/%archive
|
||||
Patch0: 0001-Remove-xpathselect-dependency.patch
|
||||
Patch1: 0002-Remove-ido-dependency.patch
|
||||
Patch2: 0003-Remove-social-scope.patch
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
let html = get("http://archive.ubuntu.com/ubuntu/pool/universe/u/unity/?C=N;O=D");
|
||||
let v = find("unity_([\\d.]+)\\+.+?.tar.xz", html, 1);
|
||||
rpm.version(v);
|
||||
rpm.define("archive", find("unity_([\\d.]+)\\+.+?.tar.xz", html, 0));
|
||||
@@ -15,7 +15,7 @@ ExclusiveArch: x86_64
|
||||
|
||||
Requires: java >= 1.8.0
|
||||
|
||||
Recommends: terra-fractureiser-detector
|
||||
Recommends: terra-fractureiser-detector
|
||||
|
||||
%description
|
||||
The official Linux release of the launcher for Minecraft, a game about placing blocks and going on adventures.
|
||||
@@ -42,7 +42,7 @@ install -Dm644 %{SOURCE2} %{buildroot}/%{_datadir}/icons/hicolor/symbolic/apps/m
|
||||
%{_datadir}/icons/hicolor/symbolic/apps/minecraft-launcher.svg
|
||||
|
||||
%changelog
|
||||
* Tue Mar 08 2022 Thomas Batten stenstorpmc@gmail.com> - 1121-2
|
||||
* Tue Mar 08 2022 Thomas Batten <stenstorpmc@gmail.com> - 1121-2
|
||||
- Moved minecraft-launcher into bindir
|
||||
|
||||
* Mon Mar 07 2022 Thomas Batten <stenstorpmc@gmail.com> - 1121-1
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
rpm.version(gh("yhat/scrape"));
|
||||
+1
-1
@@ -2,7 +2,7 @@ Name: ayatana-indicator-notifications
|
||||
Summary: Ayatana Indicator Notifications Applet
|
||||
Version: 22.9.0
|
||||
Release: %autorelease
|
||||
License: GPLv3
|
||||
License: GPL-3.0
|
||||
URL: https://github.com/AyatanaIndicators/ayatana-indicator-notifications
|
||||
Source0: %{url}/archive/refs/tags/%{version}.tar.gz
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh_tag("AyatanaIndicators/ayatana-indicator-notifications"));
|
||||
@@ -1,8 +1,8 @@
|
||||
Name: ayatana-indicator-session
|
||||
Summary: Ayatana Indicator Session Applet
|
||||
Version: 22.9.1
|
||||
Version: 22.9.2
|
||||
Release: %autorelease
|
||||
License: GPLv3
|
||||
License: GPL-3.0
|
||||
URL: https://github.com/AyatanaIndicators/ayatana-indicator-session
|
||||
Source0: %{url}/archive/refs/tags/%{version}.tar.gz
|
||||
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh_tag("AyatanaIndicators/ayatana-indicator-session"));
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh_tag("AyatanaIndicators/ayatana-indicator-sound"));
|
||||
@@ -2,7 +2,7 @@ Name: libayatana-common
|
||||
Summary: Common functions for Ayatana System Indicators
|
||||
Version: 0.9.8
|
||||
Release: %autorelease
|
||||
License: GPLv3
|
||||
License: GPL-3.0
|
||||
URL: https://github.com/AyatanaIndicators/libayatana-common
|
||||
Source0: %{url}/archive/refs/tags/%{version}.tar.gz
|
||||
|
||||
@@ -15,7 +15,7 @@ BuildRequires: pkgconfig(glib-2.0)
|
||||
BuildRequires: pkgconfig(gio-unix-2.0)
|
||||
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||
BuildRequires: vala-devel
|
||||
Buildrequires: vala
|
||||
BuildRequires: vala
|
||||
BuildRequires: intltool
|
||||
|
||||
%description
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(gh_tag("AyatanaIndicators/libayatana-common"));
|
||||
@@ -1,5 +1,5 @@
|
||||
let html = get("http://archive.ubuntu.com/ubuntu/pool/universe/u/unity-greeter/?C=N;O=D");
|
||||
let v = find("unity-greeter_([\\d.+]+)-0ubuntu(\d\+)", html, 1);
|
||||
let rn = find("unity-greeter_([\\d.+]+)-0ubuntu(\d\+)", html, 2);
|
||||
let v = find("unity-greeter_([\\d.+]+)-0ubuntu(\\d+)", html, 1);
|
||||
let rn = find("unity-greeter_([\\d.+]+)-0ubuntu(\\d+)", html, 2);
|
||||
rpm.version(v);
|
||||
rpm.global("rn", rn);
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
let html = get("http://archive.ubuntu.com/ubuntu/pool/universe/g/gnome-session/?C=N;O=D");
|
||||
let v = find("unity-session_([\\d.]+)-(.+?)_all.deb", html, 1);
|
||||
let r = find("unity-session_([\\d.]+)-(.+?)_all.deb", html, 2);
|
||||
rpm.version(v);
|
||||
rpm.define("_ubuntu_rel", r);
|
||||
@@ -0,0 +1 @@
|
||||
rpm.version(crates("bandwhich"));
|
||||
@@ -1,3 +1,5 @@
|
||||
%define maj_min 0.8
|
||||
|
||||
Name: unity-asset-pool
|
||||
Summary: Assets and icons for Unity
|
||||
Version: 0.8.24
|
||||
@@ -5,7 +7,7 @@ Release: %autorelease
|
||||
|
||||
License: CC-BY-SA
|
||||
URL: https://launchpad.net/unity-asset-pool
|
||||
Source0: %{url}/0.8/%{version}/+download/unity-asset-pool-%{version}.tar.gz
|
||||
Source0: %{url}/%maj_min/%{version}/+download/unity-asset-pool-%{version}.tar.gz
|
||||
BuildArch: noarch
|
||||
|
||||
BuildRequires: binutils
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
let html = get("https://launchpad.net/unity-asset-pool");
|
||||
let v = find("Latest version is ([\\d.]+)", html, 1);
|
||||
rpm.version(v);
|
||||
let vs = v.split(".");
|
||||
rpm.define("maj_min", `${vs[0]}.${vs[1]}`);
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
Name: gcm-core
|
||||
Version: 2.1.2
|
||||
%forgemeta -i
|
||||
%forgemeta
|
||||
Release: 1%{?dist}
|
||||
Summary: Secure, cross-platform Git credential storage
|
||||
|
||||
|
||||
Reference in New Issue
Block a user