diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile new file mode 100644 index 0000000000..9d911cb3ac --- /dev/null +++ b/.devcontainer/Dockerfile @@ -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 diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json new file mode 100644 index 0000000000..cb097274fe --- /dev/null +++ b/.devcontainer/devcontainer.json @@ -0,0 +1,11 @@ +{ + "name": "Fedora", + "build": { + "dockerfile": "Dockerfile", + "args": { "VARIANT": "37" } + }, + "settings": {}, + "extensions": [], + "remoteUser": "vscode", + "runArgs": ["--privileged"] +} diff --git a/anda/desktops/elementary/contractor/chkupdate.py b/anda/desktops/elementary/contractor/chkupdate.py new file mode 100644 index 0000000000..464cc74a07 --- /dev/null +++ b/anda/desktops/elementary/contractor/chkupdate.py @@ -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}') diff --git a/anda/desktops/elementary/editorconfig/chkupdate.py b/anda/desktops/elementary/editorconfig/chkupdate.py new file mode 100644 index 0000000000..dcd4ad28f7 --- /dev/null +++ b/anda/desktops/elementary/editorconfig/chkupdate.py @@ -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}') diff --git a/anda/desktops/elementary/elementary-calculator/chkupdate.py b/anda/desktops/elementary/elementary-calculator/chkupdate.py new file mode 100644 index 0000000000..c60f46f02a --- /dev/null +++ b/anda/desktops/elementary/elementary-calculator/chkupdate.py @@ -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}') diff --git a/anda/desktops/elementary/elementary-calculator/elementary-calculator.spec b/anda/desktops/elementary/elementary-calculator/elementary-calculator.spec index eb6f7cd747..2abd615d29 100644 --- a/anda/desktops/elementary/elementary-calculator/elementary-calculator.spec +++ b/anda/desktops/elementary/elementary-calculator/elementary-calculator.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+ diff --git a/anda/desktops/elementary/elementary-camera/chkupdate.py b/anda/desktops/elementary/elementary-camera/chkupdate.py new file mode 100644 index 0000000000..8b8985cf89 --- /dev/null +++ b/anda/desktops/elementary/elementary-camera/chkupdate.py @@ -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}') diff --git a/anda/desktops/elementary/elementary-capnet-assist/chkupdate.py b/anda/desktops/elementary/elementary-capnet-assist/chkupdate.py new file mode 100644 index 0000000000..d682596e3b --- /dev/null +++ b/anda/desktops/elementary/elementary-capnet-assist/chkupdate.py @@ -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}') diff --git a/anda/desktops/elementary/elementary-code/chkupdate.py b/anda/desktops/elementary/elementary-code/chkupdate.py new file mode 100644 index 0000000000..dac1cc8e08 --- /dev/null +++ b/anda/desktops/elementary/elementary-code/chkupdate.py @@ -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}') diff --git a/anda/desktops/elementary/elementary-greeter/chkupdate.py b/anda/desktops/elementary/elementary-greeter/chkupdate.py new file mode 100644 index 0000000000..68b59f3785 --- /dev/null +++ b/anda/desktops/elementary/elementary-greeter/chkupdate.py @@ -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}') diff --git a/anda/desktops/elementary/elementary-greeter/elementary-greeter.spec b/anda/desktops/elementary/elementary-greeter/elementary-greeter.spec index 6b9625b7e4..0751b5f049 100644 --- a/anda/desktops/elementary/elementary-greeter/elementary-greeter.spec +++ b/anda/desktops/elementary/elementary-greeter/elementary-greeter.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 diff --git a/anda/desktops/elementary/elementary-notifications/chkupdate.py b/anda/desktops/elementary/elementary-notifications/chkupdate.py new file mode 100644 index 0000000000..b0fcee367c --- /dev/null +++ b/anda/desktops/elementary/elementary-notifications/chkupdate.py @@ -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}') diff --git a/anda/desktops/elementary/elementary-onboarding/chkupdate.py b/anda/desktops/elementary/elementary-onboarding/chkupdate.py new file mode 100644 index 0000000000..879c4e4741 --- /dev/null +++ b/anda/desktops/elementary/elementary-onboarding/chkupdate.py @@ -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}') diff --git a/anda/desktops/elementary/elementary-onboarding/elementary-onboarding.spec b/anda/desktops/elementary/elementary-onboarding/elementary-onboarding.spec index d86808880a..f61d2386ab 100644 --- a/anda/desktops/elementary/elementary-onboarding/elementary-onboarding.spec +++ b/anda/desktops/elementary/elementary-onboarding/elementary-onboarding.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+ diff --git a/anda/desktops/elementary/elementary-photos/chkupdate.py b/anda/desktops/elementary/elementary-photos/chkupdate.py new file mode 100644 index 0000000000..c05849a807 --- /dev/null +++ b/anda/desktops/elementary/elementary-photos/chkupdate.py @@ -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}') diff --git a/anda/desktops/elementary/elementary-photos/elementary-photos.spec b/anda/desktops/elementary/elementary-photos/elementary-photos.spec index 2a58e238ef..8c222db626 100644 --- a/anda/desktops/elementary/elementary-photos/elementary-photos.spec +++ b/anda/desktops/elementary/elementary-photos/elementary-photos.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+ diff --git a/anda/desktops/elementary/elementary-print/chkupdate.py b/anda/desktops/elementary/elementary-print/chkupdate.py new file mode 100644 index 0000000000..dd76792462 --- /dev/null +++ b/anda/desktops/elementary/elementary-print/chkupdate.py @@ -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}') diff --git a/anda/desktops/elementary/elementary-screenshot-tool/chkupdate.py b/anda/desktops/elementary/elementary-screenshot-tool/chkupdate.py new file mode 100644 index 0000000000..66e032de8e --- /dev/null +++ b/anda/desktops/elementary/elementary-screenshot-tool/chkupdate.py @@ -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}') diff --git a/anda/desktops/elementary/elementary-settings-daemon/chkupdate.py b/anda/desktops/elementary/elementary-settings-daemon/chkupdate.py new file mode 100644 index 0000000000..024eb1519c --- /dev/null +++ b/anda/desktops/elementary/elementary-settings-daemon/chkupdate.py @@ -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}') diff --git a/anda/desktops/elementary/elementary-shortcut-overlay/chkupdate.py b/anda/desktops/elementary/elementary-shortcut-overlay/chkupdate.py new file mode 100644 index 0000000000..7c93185d81 --- /dev/null +++ b/anda/desktops/elementary/elementary-shortcut-overlay/chkupdate.py @@ -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}') diff --git a/anda/desktops/elementary/elementary-shortcut-overlay/elementary-shortcut-overlay.spec b/anda/desktops/elementary/elementary-shortcut-overlay/elementary-shortcut-overlay.spec index e12f8dd403..9b1fda581a 100644 --- a/anda/desktops/elementary/elementary-shortcut-overlay/elementary-shortcut-overlay.spec +++ b/anda/desktops/elementary/elementary-shortcut-overlay/elementary-shortcut-overlay.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 diff --git a/anda/desktops/elementary/elementary-sound-theme/chkupdate.py b/anda/desktops/elementary/elementary-sound-theme/chkupdate.py new file mode 100644 index 0000000000..1097665687 --- /dev/null +++ b/anda/desktops/elementary/elementary-sound-theme/chkupdate.py @@ -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}') diff --git a/anda/desktops/elementary/elementary-tasks/chkupdate.py b/anda/desktops/elementary/elementary-tasks/chkupdate.py new file mode 100644 index 0000000000..7062745cfe --- /dev/null +++ b/anda/desktops/elementary/elementary-tasks/chkupdate.py @@ -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}') diff --git a/anda/desktops/elementary/elementary-tasks/elementary-tasks.spec b/anda/desktops/elementary/elementary-tasks/elementary-tasks.spec index 5aa52ffdb1..efdc53e30a 100644 --- a/anda/desktops/elementary/elementary-tasks/elementary-tasks.spec +++ b/anda/desktops/elementary/elementary-tasks/elementary-tasks.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+ diff --git a/anda/desktops/elementary/elementary-theme/chkupdate.py b/anda/desktops/elementary/elementary-theme/chkupdate.py new file mode 100644 index 0000000000..c9ead73f47 --- /dev/null +++ b/anda/desktops/elementary/elementary-theme/chkupdate.py @@ -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}') diff --git a/anda/desktops/elementary/elementary-theme/elementary-theme.spec b/anda/desktops/elementary/elementary-theme/elementary-theme.spec index 208ae20e09..253d450cf1 100644 --- a/anda/desktops/elementary/elementary-theme/elementary-theme.spec +++ b/anda/desktops/elementary/elementary-theme/elementary-theme.spec @@ -3,7 +3,7 @@ Name: elementary-theme Summary: elementary GTK+ Stylesheet -Version: 6.1.1 +Version: 7.0.1 Release: %autorelease License: GPLv3 diff --git a/anda/desktops/elementary/elementary-videos/chkupdate.py b/anda/desktops/elementary/elementary-videos/chkupdate.py new file mode 100644 index 0000000000..fea2278962 --- /dev/null +++ b/anda/desktops/elementary/elementary-videos/chkupdate.py @@ -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}') diff --git a/anda/desktops/elementary/granite/granite.spec b/anda/desktops/elementary/granite/granite.spec index 5ef12e9faa..75f00aa21b 100644 --- a/anda/desktops/elementary/granite/granite.spec +++ b/anda/desktops/elementary/granite/granite.spec @@ -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 - 7.1.0-1 diff --git a/anda/desktops/elementary/pantheon-agent-geoclue2/chkupdate.py b/anda/desktops/elementary/pantheon-agent-geoclue2/chkupdate.py new file mode 100644 index 0000000000..04527639e4 --- /dev/null +++ b/anda/desktops/elementary/pantheon-agent-geoclue2/chkupdate.py @@ -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}') diff --git a/anda/desktops/elementary/pantheon-agent-geoclue2/pantheon-agent-geoclue2.spec b/anda/desktops/elementary/pantheon-agent-geoclue2/pantheon-agent-geoclue2.spec index de5507874f..3d730c0623 100644 --- a/anda/desktops/elementary/pantheon-agent-geoclue2/pantheon-agent-geoclue2.spec +++ b/anda/desktops/elementary/pantheon-agent-geoclue2/pantheon-agent-geoclue2.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 diff --git a/anda/desktops/elementary/pantheon-agent-polkit/chkupdate.py b/anda/desktops/elementary/pantheon-agent-polkit/chkupdate.py new file mode 100644 index 0000000000..54d5c1bc56 --- /dev/null +++ b/anda/desktops/elementary/pantheon-agent-polkit/chkupdate.py @@ -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}') diff --git a/anda/fonts/impallari-raleway-fonts/chkupdate.py b/anda/fonts/impallari-raleway-fonts/chkupdate.py new file mode 100644 index 0000000000..d1f19f980e --- /dev/null +++ b/anda/fonts/impallari-raleway-fonts/chkupdate.py @@ -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}') diff --git a/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec b/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec index 606c6d9cff..3934cc50a9 100644 --- a/anda/games/prismlauncher-nightly/prismlauncher-nightly.spec +++ b/anda/games/prismlauncher-nightly/prismlauncher-nightly.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 diff --git a/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec b/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec index 5eca037097..e1a697dfd9 100644 --- a/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec +++ b/anda/games/prismlauncher-qt5-nightly/prismlauncher-qt5-nightly.spec @@ -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 diff --git a/anda/lib/libhelium/libhelium.spec b/anda/lib/libhelium/libhelium.spec index 7b16929f8d..9ac2453f7d 100644 --- a/anda/lib/libhelium/libhelium.spec +++ b/anda/lib/libhelium/libhelium.spec @@ -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 - 1.1.5-1 - new version diff --git a/anda/tau-helium/tau-helium.spec b/anda/tau-helium/tau-helium.spec index f5ac387c47..9874edb356 100644 --- a/anda/tau-helium/tau-helium.spec +++ b/anda/tau-helium/tau-helium.spec @@ -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 - 1.1.21-1 +- new version + +* Fri Nov 18 2022 Lleyton Gray - 1.1.20-1 +- new version + * Thu Nov 17 2022 root - 1.1.19-1 - new version diff --git a/anda/tau-hydrogen/anda.hcl b/anda/tau-hydrogen/anda.hcl new file mode 100644 index 0000000000..86d42cce6c --- /dev/null +++ b/anda/tau-hydrogen/anda.hcl @@ -0,0 +1,5 @@ +project "pkg" { + rpm { + spec = "tau-hydrogen.spec" + } +} \ No newline at end of file diff --git a/anda/tau-hydrogen/chkupdate.py b/anda/tau-hydrogen/chkupdate.py new file mode 100644 index 0000000000..89ee38857d --- /dev/null +++ b/anda/tau-hydrogen/chkupdate.py @@ -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}') diff --git a/anda/tau-hydrogen/tau-hydrogen.spec b/anda/tau-hydrogen/tau-hydrogen.spec new file mode 100644 index 0000000000..dce742df80 --- /dev/null +++ b/anda/tau-hydrogen/tau-hydrogen.spec @@ -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 - 1.0.1 +- Terra Release