Merge branch 'main' of github.com:terrapkg/packages

This commit is contained in:
windowsboy111
2022-11-21 21:12:23 +08:00
39 changed files with 519 additions and 35 deletions
+10
View File
@@ -0,0 +1,10 @@
ARG VARIANT="37"
FROM fedora:${VARIANT}
RUN useradd -m vscode
RUN groupadd mock
RUN usermod -aG mock vscode
RUN echo vscode ALL=\(root\) NOPASSWD:ALL > /etc/sudoers.d/vscode
RUN dnf -y install git 'dnf-command(config-manager)' mock createrepo_c
RUN dnf config-manager --add-repo='https://raw.githubusercontent.com/terrapkg/subatomic-repos/main/terra.repo'
RUN dnf -y install anda
+11
View File
@@ -0,0 +1,11 @@
{
"name": "Fedora",
"build": {
"dockerfile": "Dockerfile",
"args": { "VARIANT": "37" }
},
"settings": {},
"extensions": [],
"remoteUser": "vscode",
"runArgs": ["--privileged"]
}
@@ -0,0 +1,19 @@
import os
import requests
import re
NAME = 'contractor'
REPO = "elementary/contractor"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1,19 @@
import os
import requests
import re
NAME = 'editorconfig'
REPO = "elementary/editorconfig-core-c"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1,19 @@
import os
import requests
import re
NAME = 'elementary-calculator'
REPO = "elementary/calculator"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -3,7 +3,7 @@
Name: elementary-calculator
Summary: Calculator app designed for elementary
Version: 1.7.2
Version: 2.0.0
Release: %autorelease
License: GPLv3+
@@ -0,0 +1,19 @@
import os
import requests
import re
NAME = 'elementary-camera'
REPO = "elementary/camera"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1,19 @@
import os
import requests
import re
NAME = 'elementary-capnet-assist'
REPO = "elementary/capnet-assist"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1,19 @@
import os
import requests
import re
NAME = 'elementary-code'
REPO = "elementary/code"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1,19 @@
import os
import requests
import re
NAME = 'elementary-greeter'
REPO = "elementary/greeter"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -3,7 +3,7 @@
Name: elementary-greeter
Summary: LightDM Login Screen for the elementary desktop
Version: 6.1.0
Version: 6.1.1
Release: %autorelease
License: GPLv3
@@ -0,0 +1,19 @@
import os
import requests
import re
NAME = 'elementary-notifications'
REPO = "elementary/notifications"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1,19 @@
import os
import requests
import re
NAME = 'elementary-onboarding'
REPO = "elementary/onboarding"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -3,7 +3,7 @@
Name: elementary-onboarding
Summary: Onboarding app for new users
Version: 6.1.0
Version: 7.0.1
Release: %autorelease
License: GPLv3+
@@ -0,0 +1,19 @@
import os
import requests
import re
NAME = 'elementary-photos'
REPO = "elementary/photos"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -5,7 +5,7 @@
Name: elementary-photos
Summary: Photo manager and viewer from elementary
Version: 2.7.5
Version: 2.8.0
Release: %autorelease
License: LGPLv2+
@@ -0,0 +1,19 @@
import os
import requests
import re
NAME = 'elementary-print'
REPO = "elementary/print"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1,19 @@
import os
import requests
import re
NAME = 'elementary-screenshot-tool'
REPO = "elementary/screenshot"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1,19 @@
import os
import requests
import re
NAME = 'elementary-settings-daemon'
REPO = "elementary/settings-daemon"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1,19 @@
import os
import requests
import re
NAME = 'elementary-shortcut-overlay'
REPO = "elementary/shortcut-overlay"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -3,7 +3,7 @@
Name: elementary-shortcut-overlay
Summary: Native, OS-wide shortcut overlay
Version: 1.2.1
Version: 2.0.1
Release: %autorelease
License: GPLv3
@@ -0,0 +1,19 @@
import os
import requests
import re
NAME = 'elementary-sound-theme'
REPO = "elementary/sound-theme"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1,19 @@
import os
import requests
import re
NAME = 'elementary-tasks'
REPO = "elementary/tasks"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -3,7 +3,7 @@
Name: elementary-tasks
Summary: Synced tasks and reminders application
Version: 6.3.0
Version: 6.3.1
Release: %autorelease
License: GPLv3+
@@ -0,0 +1,19 @@
import os
import requests
import re
NAME = 'elementary-theme'
REPO = "elementary/stylesheet"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -3,7 +3,7 @@
Name: elementary-theme
Summary: elementary GTK+ Stylesheet
Version: 6.1.1
Version: 7.0.1
Release: %autorelease
License: GPLv3
@@ -0,0 +1,19 @@
import os
import requests
import re
NAME = 'elementary-videos'
REPO = "elementary/videos"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
+16 -23
View File
@@ -57,45 +57,38 @@ This package contains the development headers.
%install
%meson_install
%find_lang granite
%find_lang granite-7
%check
desktop-file-validate \
%{buildroot}/%{_datadir}/applications/io.elementary.granite.demo.desktop
%{buildroot}/%{_datadir}/applications/io.elementary.granite-7.demo.desktop
appstream-util validate-relax --nonet \
%{buildroot}/%{_datadir}/metainfo/granite.appdata.xml
%{buildroot}/%{_datadir}/metainfo/granite-7.appdata.xml
%files -f granite.lang
%files -f granite-7.lang
%doc README.md
%license COPYING
%{_libdir}/libgranite.so.6
%{_libdir}/libgranite.so.6.*
%{_libdir}/libgranite-7.so.7
%{_libdir}/libgranite-7.so.7.*
%{_libdir}/girepository-1.0/Granite-7.0.typelib
%{_libdir}/girepository-1.0/Granite-1.0.typelib
%{_datadir}/icons/hicolor/*/actions/appointment.svg
%{_datadir}/icons/hicolor/*/actions/open-menu.svg
%{_datadir}/icons/hicolor/scalable/actions/open-menu-symbolic.svg
%{_datadir}/metainfo/granite.appdata.xml
%{_datadir}/metainfo/granite-7.appdata.xml
%files devel
%{_bindir}/granite-demo
%{_bindir}/granite-7-demo
%{_libdir}/libgranite.so
%{_libdir}/pkgconfig/granite.pc
%{_libdir}/libgranite-7.so
%{_libdir}/pkgconfig/granite-7.pc
%{_includedir}/granite/
%{_datadir}/applications/io.elementary.granite.demo.desktop
%{_datadir}/gir-1.0/Granite-1.0.gir
%{_datadir}/vala/vapi/granite.deps
%{_datadir}/vala/vapi/granite.vapi
%{_includedir}/granite-7/granite-7.h
%{_datadir}/applications/io.elementary.granite-7.demo.desktop
%{_datadir}/gir-1.0/Granite-7.0.gir
%{_datadir}/vala/vapi/granite-7.deps
%{_datadir}/vala/vapi/granite-7.vapi
%changelog
* Thu Nov 17 2022 windowsboy111 <wboy111@outlook.com> - 7.1.0-1
@@ -0,0 +1,19 @@
import os
import requests
import re
NAME = 'pantheon-agent-geoclue2'
REPO = "elementary/pantheon-agent-geoclue2"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -3,7 +3,7 @@
Name: pantheon-agent-geoclue2
Summary: Pantheon Geoclue2 Agent
Version: 1.0.5
Version: 1.0.6
Release: %autorelease
License: GPLv3
@@ -0,0 +1,19 @@
import os
import requests
import re
NAME = 'pantheon-agent-polkit'
REPO = "elementary/pantheon-agent-polkit"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -0,0 +1,19 @@
import os
import requests
import re
NAME = 'impallari-raleway-fonts'
REPO = "alexeiva/Raleway"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
@@ -2,7 +2,7 @@
%global real_name prismlauncher
%global repo https://github.com/%{fancy_name}/%{fancy_name}
%global commit b24c09665f92683e25621a6fa721c73f65554ac9
%global commit c74f852364d512dd850111f92cc989c0c2ce7392
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global filesystem_commit cd6805e94dd5d6346be1b75a54cdc27787319dd2
%global libnbtplusplus_commit 2203af7eeb48c45398139b583615134efd8d407f
@@ -2,7 +2,7 @@
%global real_name prismlauncher
%global repo https://github.com/%{fancy_name}/%{fancy_name}
%global commit b24c09665f92683e25621a6fa721c73f65554ac9
%global commit 30607c34a153fd32085712e18827983772d77f7b
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global filesystem_commit cd6805e94dd5d6346be1b75a54cdc27787319dd2
%global libnbtplusplus_commit 2203af7eeb48c45398139b583615134efd8d407f
+4 -1
View File
@@ -1,6 +1,6 @@
Summary: The Application Framework for tauOS apps
Name: libhelium
Version: 1.1.5
Version: 1.1.6
Release: 1%{?dist}
License: GPLv3
URL: https://github.com/tau-OS/libhelium
@@ -66,6 +66,9 @@ rm -rf %{buildroot}%{_datadir}/themes/*
%{_datadir}/vala/*
%changelog
* Sat Nov 19 2022 root - 1.1.6-1
- new version
* Fri Nov 11 2022 Lleyton Gray <lleyton@fyralabs.com> - 1.1.5-1
- new version
+7 -1
View File
@@ -1,6 +1,6 @@
Summary: tauOS GTK/GNOME Shell Themes
Name: tau-helium
Version: 1.1.19
Version: 1.1.21
Release: 1%{?dist}
License: GPLv3
URL: https://github.com/tau-OS/tau-helium
@@ -32,6 +32,12 @@ mkdir -p licenses
%{_datadir}/themes/Helium-dark/*
%changelog
* Fri Nov 18 2022 Lleyton Gray <lleyton@fyralabs.com> - 1.1.21-1
- new version
* Fri Nov 18 2022 Lleyton Gray <lleyton@fyralabs.com> - 1.1.20-1
- new version
* Thu Nov 17 2022 root - 1.1.19-1
- new version
+5
View File
@@ -0,0 +1,5 @@
project "pkg" {
rpm {
spec = "tau-hydrogen.spec"
}
}
+19
View File
@@ -0,0 +1,19 @@
import os
import requests
import re
NAME = 'tau-hydrogen'
REPO = "tau-OS/tau-hydrogen"
REGEX_VER = r'Version:\s*([\.\d]+)\n'
SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
if not len(matches): exit(f"{NAME}: Failed to match regex!")
cur = matches[0]
if ver == cur: exit(f'{NAME}: Up to date!')
print(f'{NAME}: {cur} -> {ver}')
os.system(f'rpmdev-bumpspec -n {ver} {SPEC}')
+38
View File
@@ -0,0 +1,38 @@
Summary: tauOS Icon Theme
Name: tau-hydrogen
Version: 1.0.1
Release: 1%{?dist}
License: GPLv3
URL: https://github.com/tau-OS/tau-hydrogen
Source0: https://github.com/tau-OS/tau-hydrogen/archive/refs/tags/%{version}.tar.gz
BuildArch: noarch
BuildRequires: meson
BuildRequires: ninja-build
BuildRequires: librsvg2-tools
BuildRequires: xcursorgen
%description
Hydrogen is the default icon theme in tauOS
%prep
%autosetup -n tau-hydrogen-%{version}
%build
%meson
%meson_build
%install
# Install licenses
mkdir -p licenses
%meson_install
%files
%license LICENSE
%doc README.md
%{_datadir}/icons/Hydrogen/*
%{_datadir}/gimp/2.0/palettes/Helium.gpl
%{_datadir}/inkscape/palettes/Helium.gpl
%changelog
* Sun Nov 20 2022 Lleyton Gray <lleyton@fyralabs.com> - 1.0.1
- Terra Release