Merge branch 'main' into b/chkupdate

This commit is contained in:
windowsboy111
2022-11-28 00:22:29 +08:00
111 changed files with 822 additions and 292 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"]
}
+30
View File
@@ -0,0 +1,30 @@
name: Push comps updates
on:
push:
branches:
- main
paths:
- comps.xml
workflow_dispatch:
jobs:
update-comps:
runs-on: ubuntu-latest
container:
image: fedora:37
steps:
- uses: actions/checkout@v3
- name: Install repositories
run: |
sudo dnf install -y dnf-plugins-core
sudo dnf config-manager --add-repo https://github.com/andaman-common-pkgs/subatomic-repos/raw/main/terra37.repo
- name: Install dependencies
run: |
sudo dnf install -y subatomic-cli
- name: Push to subatomic
run: |
subatomic-cli upload-comps \
--server https://subatomic.fyralabs.com \
--token ${{ secrets.SUBATOMIC_TOKEN }} \
terra37 comps.xml
+1 -4
View File
@@ -4,7 +4,7 @@
name: Automatically check for updates
on:
schedule:
- cron: "0 */2 * * *"
- cron: "*/30 * * * *"
workflow_dispatch:
jobs:
@@ -25,8 +25,6 @@ jobs:
- name: Run Update (Python)
run: bash ./update.sh
<<<<<<< Updated upstream
=======
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -34,7 +32,6 @@ jobs:
run: anda update
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
>>>>>>> Stashed changes
- name: Save
run: |
+1 -1
View File
@@ -1,5 +1,5 @@
Name: authy
Version: 2.2.1
Version: 2.2.2
Release: 2%{?dist}
Summary: Two factor authentication desktop application
License: Unknown
+38
View File
@@ -0,0 +1,38 @@
import os
import re
from requests import get
import json
NAME = "authy"
SPEC = f"{NAME}.spec"
REGEX_VER = r'Version:(\s*)([\.\d]+)\n'
REGEX_SRC = r'Source0:(\s*)([^\n]+)\n'
def run_cmds(*cmds: str):
for cmd in cmds:
print(f"{NAME}: $ {cmd}")
if rc := os.system(cmd):
exit(f"{NAME}: Stopping because {rc=}")
raw = get('https://api.snapcraft.io/v2/snaps/info/authy', headers={'Snap-Device-Series': '16'}).text
data = json.loads(raw)
ver = data['channel-map'][0]['version']
f = open(SPEC, 'r')
content = f.read()
found = re.findall(REGEX_VER, content)
try:
assert found
curver = found[0][1]
if ver == curver:
exit(f"{NAME}: Up to date!")
print(f"{NAME}: {curver} -> {ver}")
except IndexError or AssertionError:
exit(f"{NAME}: Failed to read spec!")
link = data['channel-map'][0]['download']['url']
newspec = re.sub(REGEX_VER, f'Version:{found[0][0]}{ver}\n', content)
newspec = re.sub(REGEX_SRC, f'Source0:{found[0][0]}{link}\n', newspec)
f.close()
f = open(SPEC, 'w')
f.write(newspec)
f.close()
-6
View File
@@ -1,6 +0,0 @@
let req = new_req("https://api.snapcraft.io/v2/snaps/info/authy");
req.head("Snap-Device-Series", "16");
let obj = json(req.get());
let obj2 = get_json(obj, "channel-map");
let obj3 = get_json(obj2, 0);
rpm.version(string_json(get_json(obj3, "version")));
@@ -12,8 +12,8 @@ editors.}
Name: editorconfig
Summary: Parser for EditorConfig files written in C
Version: 0.12.5
Release: 4%{?dist}
Version: v0.12.5
Release: 1%{?dist}
License: BSD
URL: https://github.com/editorconfig/editorconfig-core-c
@@ -90,6 +90,9 @@ rm %{buildroot}/%{_libdir}/libeditorconfig_static.a
%changelog
* Sun Nov 27 2022 root - v0.12.5-1
- new version
* Sat Oct 15 2022 windowsboy111 <windowsboy111@fyralabs.com>
- Repackaged for Terra
@@ -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+
@@ -16,9 +16,8 @@ BuildRequires: libappstream-glib
BuildRequires: meson >= 0.49
BuildRequires: vala
BuildRequires: pkgconfig(granite) >= 6.0.0
BuildRequires: pkgconfig(gtk+-3.0) >= 3.11.6
BuildRequires: pkgconfig(libhandy-1) >= 0.91.0
BuildRequires: pkgconfig(granite-7) >= 7.0.0
BuildRequires: pkgconfig(gtk4)
Requires: hicolor-icon-theme
@@ -12,28 +12,26 @@ License: GPLv3+
URL: https://github.com/elementary/calendar
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
Patch0: https://patch-diff.githubusercontent.com/raw/elementary/calendar/pull/758.patch
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: libappstream-glib
BuildRequires: pkgconfig(champlain-0.12)
BuildRequires: pkgconfig(libecal-2.0)
BuildRequires: pkgconfig(granite)
BuildRequires: pkgconfig(libhandy-1)
BuildRequires: folks-devel
BuildRequires: libgee-devel
BuildRequires: pkgconfig(geocode-glib-2.0)
BuildRequires: geoclue2-devel
BuildRequires: glib2-devel
BuildRequires: gtk+-devel
BuildRequires: libical
BuildRequires: libhandy >= 0.90.0
BuildRequires: meson
BuildRequires: vala
BuildRequires: pkgconfig(champlain-0.12)
BuildRequires: pkgconfig(champlain-gtk-0.12)
BuildRequires: pkgconfig(clutter-1.0)
BuildRequires: pkgconfig(clutter-gtk-1.0)
BuildRequires: pkgconfig(folks)
BuildRequires: pkgconfig(gee-0.8)
BuildRequires: pkgconfig(geocode-glib-1.0)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gmodule-2.0)
BuildRequires: pkgconfig(granite) >= 6.2.0
BuildRequires: pkgconfig(gtk+-3.0) >= 3.22
# BuildRequires: pkgconfig(libecal-2.0)
BuildRequires: pkgconfig(libgeoclue-2.0)
BuildRequires: pkgconfig(libhandy-1) >= 0.90.0
BuildRequires: pkgconfig(libical-glib)
BuildRequires: pkgconfig(libsoup-2.4)
BuildRequires: evolution-data-server-devel
Requires: hicolor-icon-theme
@@ -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
@@ -33,9 +33,9 @@ BuildRequires: pkgconfig(granite) >= 5.0
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(libhandy-1)
BuildRequires: pkgconfig(liblightdm-gobject-1)
BuildRequires: pkgconfig(mutter-clutter-10)
BuildRequires: pkgconfig(mutter-cogl-10)
BuildRequires: pkgconfig(mutter-cogl-pango-10)
BuildRequires: pkgconfig(mutter-clutter-11)
BuildRequires: pkgconfig(mutter-cogl-11)
BuildRequires: pkgconfig(mutter-cogl-pango-11)
BuildRequires: pkgconfig(x11)
Provides: pantheon-greeter = %{version}-%{release}
@@ -11,7 +11,7 @@ utilizes Granite for a consistent and slick UI.}
Name: elementary-music
Summary: Music player and library from elementary
Version: 7.0.0
Release: 1%{?dist}
Release: 2%{?dist}
License: LGPLv2+
URL: https://github.com/elementary/%{srcname}
@@ -28,7 +28,7 @@ BuildRequires: pkgconfig(gee-0.8)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.40
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(granite) >= 6.0.0
BuildRequires: pkgconfig(granite-7) >= 7.0.0
BuildRequires: pkgconfig(gstreamer-1.0)
BuildRequires: pkgconfig(gstreamer-pbutils-1.0)
BuildRequires: pkgconfig(gstreamer-tag-1.0)
@@ -75,7 +75,6 @@ This package contains files needed for developing with Music.
%install
%meson_install
%find_lang %{appname}
@@ -89,35 +88,17 @@ appstream-util validate-relax --nonet \
%files -f %{appname}.lang
%doc README.md
%license COPYING
%license LICENSE
%{_bindir}/%{appname}
%{_libdir}/lib%{appname}-core.so.0
%{_libdir}/lib%{appname}-core.so.0.1
%dir %{_libdir}/%{appname}
%dir %{_libdir}/%{appname}/plugins
%{_libdir}/%{appname}/plugins/audioplayer-device.plugin
%{_libdir}/%{appname}/plugins/libaudioplayer-device.so
%{_libdir}/%{appname}/plugins/ipod-device.plugin
%{_libdir}/%{appname}/plugins/libipod-device.so
%{_datadir}/applications/%{appname}.desktop
%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml
%{_datadir}/icons/hicolor/*/apps/%{appname}.svg
%{_datadir}/metainfo/%{appname}.appdata.xml
%{_datadir}/locale/*/LC_MESSAGES/%{appname}.mo
%files devel
%{_libdir}/lib%{appname}-core.so
%{_libdir}/pkgconfig/%{appname}-core.pc
%{_includedir}/%{appname}-core.h
%{_datadir}/vala/vapi/%{appname}-core.deps
%{_datadir}/vala/vapi/%{appname}-core.vapi
%changelog
* Thu Nov 17 2022 windowsboy111 <wboy111@outlook.com> - 7.0.0-1
@@ -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+
@@ -12,7 +12,7 @@ Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
# Patch to fix "NotShowIn" in group "Desktop Entry" contains an unregistered value "Installer"
# https://github.com/elementary/onboarding/issues/154
Patch0: %{url}/pull/155.patch
# Patch0: %%{url}/pull/155.patch
BuildRequires: desktop-file-utils
BuildRequires: gettext
@@ -23,9 +23,9 @@ BuildRequires: vala
BuildRequires: pkgconfig(gee-0.8)
BuildRequires: pkgconfig(glib-2.0) >= 2.64.0
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(granite) >= 5.5.0
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(libhandy-1) >= 0.80.0
BuildRequires: pkgconfig(granite-7) >= 7.0.0
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(libadwaita-1)
Requires: hicolor-icon-theme
@@ -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+
@@ -92,6 +92,7 @@ appstream-util validate-relax --nonet \
%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml
%{_datadir}/glib-2.0/schemas/%{appname}-extras.gschema.xml
%{_datadir}/icons/hicolor/*/apps/%{appname}.svg
%{_datadir}/icons/hicolor/*/apps/%{appname}-viewer.svg
%{_datadir}/metainfo/%{appname}.appdata.xml
@@ -1,24 +0,0 @@
From 0ab2622c947396a43cf325324d693898751b126e Mon Sep 17 00:00:00 2001
From: Fabio Valentini <decathorpe@gmail.com>
Date: Wed, 13 Jul 2022 14:21:29 +0200
Subject: [PATCH] meson: remove deprecated positional arguments from
i18n.merge_file calls
---
data/meson.build | 1 -
1 file changed, 1 deletion(-)
diff --git a/data/meson.build b/data/meson.build
index 77a7909..09feaa7 100644
--- a/data/meson.build
+++ b/data/meson.build
@@ -8,7 +8,6 @@ i18n.merge_file (
)
i18n.merge_file (
- 'desktop',
input: 'shortcut-overlay.desktop.in',
output: meson.project_name() + '.desktop',
po_dir: join_paths(meson.source_root (), 'po', 'extra'),
--
2.37.1
@@ -3,16 +3,13 @@
Name: elementary-shortcut-overlay
Summary: Native, OS-wide shortcut overlay
Version: 1.2.1
Version: 2.0.1
Release: %autorelease
License: GPLv3
URL: https://github.com/elementary/shortcut-overlay
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
# meson: remove deprecated positional arguments from i18n.merge_file calls
Patch1: 0001-meson-remove-deprecated-positional-arguments-from-i1.patch
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: libappstream-glib
@@ -20,9 +17,8 @@ BuildRequires: meson
BuildRequires: vala
BuildRequires: pkgconfig(gee-0.8)
BuildRequires: pkgconfig(granite) >= 5.2.0
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(libhandy-1) >= 0.80.0
BuildRequires: pkgconfig(granite-7) >= 7.0.0
BuildRequires: pkgconfig(gtk4)
%description
This GTK+ applet reads window manager and OS keyboard shortcuts from
@@ -0,0 +1,6 @@
project "pkg" {
rpm {
spec = "elementary-sideload.spec"
sources = "."
}
}
@@ -0,0 +1,19 @@
import os
import requests
import re
NAME = 'elementary-sideload'
REPO = "elementary/sideload"
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, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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,68 @@
%global srcname sideload
%global appname io.elementary.sideload
Name: elementary-sideload
Summary: Sideload flatpaks on Pantheon
Version: 6.1.0
Release: %autorelease
License: GPLv3+
URL: https://github.com/elementary/sideload
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: libappstream-glib
BuildRequires: meson
BuildRequires: vala
BuildRequires: pkgconfig(flatpak)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(granite-7) >= 7.0.0
BuildRequires: pkgconfig(gtk4)
BuildRequires: pkgconfig(libxml-2.0)
Requires: hicolor-icon-theme
%description
Sideload is a simple application that lets users install flatpaks on
Pantheon without needing to use a command line application.
%prep
%autosetup -n %{srcname}-%{version} -p1
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{appname}
%check
desktop-file-validate \
%{buildroot}/%{_datadir}/applications/%{appname}.desktop
appstream-util validate-relax --nonet \
%{buildroot}/%{_datadir}/metainfo/%{appname}.appdata.xml
%files -f %{appname}.lang
%license LICENSE
%doc README.md
%{_bindir}/%{appname}
%{_datadir}/applications/%{appname}.desktop
%{_datadir}/icons/hicolor/*/apps/%{appname}.svg
%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml
%{_datadir}/metainfo/%{appname}.appdata.xml
%changelog
* Tue Nov 22 2022 Lleyton Gray <lleyton@fyralabs.com>
- Repackaged for Terra
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
@@ -1,83 +0,0 @@
%global srcname tasks
%global appname io.elementary.tasks
Name: elementary-tasks
Summary: Synced tasks and reminders application
Version: 6.3.0
Release: %autorelease
License: GPLv3+
URL: https://github.com/elementary/tasks
Source0: %{url}/archive/%{version}/%{srcname}-%{version}.tar.gz
BuildRequires: desktop-file-utils
BuildRequires: gettext
BuildRequires: libappstream-glib
BuildRequires: meson >= 0.49
BuildRequires: vala
BuildRequires: pkgconfig(champlain-0.12)
BuildRequires: pkgconfig(champlain-gtk-0.12)
BuildRequires: pkgconfig(clutter-1.0)
BuildRequires: pkgconfig(clutter-gtk-1.0)
BuildRequires: pkgconfig(geocode-glib-1.0)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(granite) >= 6.2.0
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(libecal-2.0)
BuildRequires: pkgconfig(libedataserver-1.2)
BuildRequires: pkgconfig(libgdata)
BuildRequires: pkgconfig(libgeoclue-2.0)
BuildRequires: pkgconfig(libhandy-1) >= 0.90.0
BuildRequires: pkgconfig(libical-glib)
Requires: hicolor-icon-theme
%description
%{summary}.
%prep
%autosetup -n %{srcname}-%{version} -p1
%build
%meson
%meson_build
%install
%meson_install
%find_lang %{appname}
%check
desktop-file-validate \
%{buildroot}/%{_datadir}/applications/%{appname}.desktop
desktop-file-validate \
%{buildroot}/%{_sysconfdir}/xdg/autostart/%{appname}-daemon.desktop
appstream-util validate-relax --nonet \
%{buildroot}/%{_datadir}/metainfo/%{appname}.appdata.xml
%files -f %{appname}.lang
%license LICENSE
%doc README.md
%config(noreplace) %{_sysconfdir}/xdg/autostart/%{appname}-daemon.desktop
%{_bindir}/%{appname}
%{_datadir}/applications/%{appname}.desktop
%{_datadir}/glib-2.0/schemas/%{appname}.gschema.xml
%{_datadir}/icons/hicolor/*/apps/%{appname}.svg
%{_datadir}/metainfo/%{appname}.appdata.xml
%changelog
* Sat Oct 15 2022 windowsboy111 <windowsboy111@fyralabs.com>
- Repackaged for Terra
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
@@ -3,7 +3,7 @@
Name: elementary-theme
Summary: elementary GTK+ Stylesheet
Version: 6.1.1
Version: 7.0.1
Release: %autorelease
License: GPLv3
@@ -66,6 +66,7 @@ appstream-util validate-relax --nonet \
%dir %{_datadir}/themes/%{appname}.*/
%{_datadir}/themes/%{appname}.*/gtk-3.0/
%{_datadir}/themes/%{appname}.*/gtk-4.0/
%{_datadir}/metainfo/%{appname}.appdata.xml
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
@@ -1,5 +1,5 @@
%global srcname wallpapers
%global default_wallpaper "Ryan Schroeder.jpg"
%global default_wallpaper "Photo of Valley.jpg"
Name: elementary-wallpapers
Summary: Collection of wallpapers from the elementary project
@@ -51,20 +51,22 @@ wallpapers show up in gnome-control-center.
%install
cd backgrounds
# copy wallpapers to install location
mkdir -p %{buildroot}/%{_datadir}/backgrounds/elementary
sh -c "cp -pav *.jpg %{buildroot}/%{_datadir}/backgrounds/elementary/"
cp -pav *.jpg %{buildroot}/%{_datadir}/backgrounds/elementary/
# create default wallpaper symlink
ln -s ./%{default_wallpaper} %{buildroot}/%{_datadir}/backgrounds/elementary/default
# copy backgrounds list for gnome-control-center to install location
mkdir -p %{buildroot}/%{_datadir}/gnome-background-properties
cd ..
cp -pav %{SOURCE1} %{buildroot}/%{_datadir}/gnome-background-properties/
%files
%license debian/copyright
%license LICENSE.md
%doc README.md
%{_datadir}/backgrounds/elementary/
@@ -1,6 +1,5 @@
project "pkg" {
rpm {
spec = "evolution-data-server.spec"
sources = "."
}
}
@@ -15,19 +15,20 @@
%global with_docs 0
%endif
%define glib2_version 2.46
%define gtk3_version 3.16
%define glib2_version 2.68
%define gtk3_version 3.20
%define gcr_version 3.4
%define gtk_doc_version 1.9
%define gtk4_version 4.4
%define goa_version 3.8
%define libsecret_version 0.5
%define libgdata_version 0.15.1
%define libgweather_version 3.10
%define libical_version 3.0.7
%define libsoup_version 2.58
%define libsoup_version 3.1.1
%define nss_version 3.14
%define sqlite_version 3.7.17
%define webkit2gtk_version 2.28.0
%define webkit2gtk_version 2.34.0
%define json_glib_version 1.0.4
%define credential_modules_dir %{_libdir}/evolution-data-server/credential-modules
@@ -52,12 +53,13 @@
### Abstract ###
Name: evolution-data-server
Version: 3.44.4
Version: 3.46.1
Epoch: 1
Release: 1%{?dist}
Summary: Backend data server for Evolution
License: LGPLv2+
URL: https://wiki.gnome.org/Apps/Evolution
Source: http://download.gnome.org/sources/%{name}/3.44/%{name}-%{version}.tar.xz
Source: http://download.gnome.org/sources/%{name}/3.46/%{name}-%{version}.tar.xz
Provides: evolution-webcal = %{version}
Obsoletes: evolution-webcal < 2.24.0
@@ -92,6 +94,7 @@ BuildRequires: pkgconfig(gcr-3) >= %{gcr_version}
BuildRequires: pkgconfig(gcr-base-3) >= %{gcr_version}
BuildRequires: pkgconfig(gio-2.0) >= %{glib2_version}
BuildRequires: pkgconfig(gio-unix-2.0) >= %{glib2_version}
BuildRequires: pkgconfig(gtk4) >= %{gtk4_version}
BuildRequires: pkgconfig(gmodule-2.0) >= %{glib2_version}
BuildRequires: pkgconfig(icu-i18n)
BuildRequires: pkgconfig(gtk+-3.0) >= %{gtk3_version}
@@ -100,14 +103,16 @@ BuildRequires: pkgconfig(libgdata) >= %{libgdata_version}
BuildRequires: pkgconfig(gweather-3.0) >= %{libgweather_version}
BuildRequires: pkgconfig(libical-glib) >= %{libical_version}
BuildRequires: pkgconfig(libsecret-unstable) >= %{libsecret_version}
BuildRequires: pkgconfig(libsoup-2.4) >= %{libsoup_version}
BuildRequires: pkgconfig(libsoup-3.0) >= %{libsoup_version}
BuildRequires: pkgconfig(libxml-2.0)
BuildRequires: pkgconfig(nspr)
BuildRequires: pkgconfig(nss) >= %{nss_version}
BuildRequires: pkgconfig(sqlite3) >= %{sqlite_version}
BuildRequires: pkgconfig(webkit2gtk-4.0) >= %{webkit2gtk_version}
BuildRequires: pkgconfig(webkit2gtk-4.1) >= %{webkit2gtk_version}
BuildRequires: pkgconfig(webkit2gtk-5.0) >= 2.36.0
BuildRequires: pkgconfig(json-glib-1.0) >= %{json_glib_version}
BuildRequires: pkgconfig(libcanberra-gtk3)
BuildRequires: pkgconfig(gweather4) >= 3.91
%if %{ldap_support}
BuildRequires: openldap-devel >= 2.0.11
@@ -142,7 +147,6 @@ Requires: pkgconfig(libgdata) >= %{libgdata_version}
Requires: pkgconfig(gweather-3.0) >= %{libgweather_version}
Requires: pkgconfig(libical-glib) >= %{libical_version}
Requires: pkgconfig(libsecret-unstable) >= %{libsecret_version}
Requires: pkgconfig(libsoup-2.4) >= %{libsoup_version}
Requires: pkgconfig(sqlite3) >= %{sqlite_version}
Requires: pkgconfig(webkit2gtk-4.0) >= %{webkit2gtk_version}
Requires: pkgconfig(json-glib-1.0) >= %{json_glib_version}
@@ -283,24 +287,27 @@ find $RPM_BUILD_ROOT -name '*.so.*' -exec chmod +x {} \;
%files
%license COPYING
%doc README ChangeLog NEWS
%{_libdir}/libcamel-1.2.so.63
%{_libdir}/libcamel-1.2.so.63.0.0
%{_libdir}/libebackend-1.2.so.10
%{_libdir}/libebackend-1.2.so.10.0.0
%{_libdir}/libebook-1.2.so.20
%{_libdir}/libebook-1.2.so.20.1.3
%{_libdir}/libebook-contacts-1.2.so.3
%{_libdir}/libebook-contacts-1.2.so.3.0.0
%{_libdir}/libecal-2.0.so.1
%{_libdir}/libecal-2.0.so.1.0.0
%{_libdir}/libedata-book-1.2.so.26
%{_libdir}/libedata-book-1.2.so.26.0.0
%{_libdir}/libedata-cal-2.0.so.1
%{_libdir}/libedata-cal-2.0.so.1.0.0
%{_libdir}/libedataserver-1.2.so.26
%{_libdir}/libedataserver-1.2.so.26.0.0
%{_libdir}/libedataserverui-1.2.so.3
%{_libdir}/libedataserverui-1.2.so.3.0.0
%{_libdir}/libcamel-1.2.so.64
%{_libdir}/libcamel-1.2.so.64.0.0
%{_libdir}/libebackend-1.2.so.11
%{_libdir}/libebackend-1.2.so.11.0.0
%{_libdir}/libebook-1.2.so.21
%{_libdir}/libebook-1.2.so.21.1.3
%{_libdir}/libebook-contacts-1.2.so.4
%{_libdir}/libebook-contacts-1.2.so.4.0.0
%{_libdir}/libecal-2.0.so.2
%{_libdir}/libecal-2.0.so.2.0.0
%{_libdir}/libedata-book-1.2.so.27
%{_libdir}/libedata-book-1.2.so.27.0.0
%{_libdir}/libedata-cal-2.0.so.2
%{_libdir}/libedata-cal-2.0.so.2.0.0
%{_libdir}/libedataserver-1.2.so.27
%{_libdir}/libedataserver-1.2.so.27.0.0
%{_libdir}/libedataserverui-1.2.so.4
%{_libdir}/libedataserverui-1.2.so.4.0.0
%{_libdir}/libedataserverui4-1.0.so
%{_libdir}/libedataserverui4-1.0.so.0
%{_libdir}/libedataserverui4-1.0.so.0.0.0
%{_libdir}/girepository-1.0/Camel-1.2.typelib
%{_libdir}/girepository-1.0/EBackend-1.2.typelib
@@ -311,6 +318,7 @@ find $RPM_BUILD_ROOT -name '*.so.*' -exec chmod +x {} \;
%{_libdir}/girepository-1.0/EDataCal-2.0.typelib
%{_libdir}/girepository-1.0/EDataServer-1.2.typelib
%{_libdir}/girepository-1.0/EDataServerUI-1.2.typelib
%{_libdir}/girepository-1.0/EDataServerUI4-1.0.typelib
%{_libexecdir}/camel-gpg-photo-saver
%{_libexecdir}/camel-index-control-1.2
@@ -424,6 +432,7 @@ find $RPM_BUILD_ROOT -name '*.so.*' -exec chmod +x {} \;
%{_libdir}/pkgconfig/libedata-cal-2.0.pc
%{_libdir}/pkgconfig/libedataserver-1.2.pc
%{_libdir}/pkgconfig/libedataserverui-1.2.pc
%{_libdir}/pkgconfig/libedataserverui4-1.0.pc
%{_datadir}/gir-1.0/Camel-1.2.gir
%{_datadir}/gir-1.0/EBackend-1.2.gir
%{_datadir}/gir-1.0/EBook-1.2.gir
@@ -433,6 +442,7 @@ find $RPM_BUILD_ROOT -name '*.so.*' -exec chmod +x {} \;
%{_datadir}/gir-1.0/EDataCal-2.0.gir
%{_datadir}/gir-1.0/EDataServer-1.2.gir
%{_datadir}/gir-1.0/EDataServerUI-1.2.gir
%{_datadir}/gir-1.0/EDataServerUI4-1.0.gir
%{_datadir}/vala/vapi/camel-1.2.deps
%{_datadir}/vala/vapi/camel-1.2.vapi
%{_datadir}/vala/vapi/libebackend-1.2.deps
@@ -451,6 +461,18 @@ find $RPM_BUILD_ROOT -name '*.so.*' -exec chmod +x {} \;
%{_datadir}/vala/vapi/libedataserver-1.2.vapi
%{_datadir}/vala/vapi/libedataserverui-1.2.deps
%{_datadir}/vala/vapi/libedataserverui-1.2.vapi
%{_datadir}/vala/vapi/libedataserverui4-1.0.deps
%{_datadir}/vala/vapi/libedataserverui4-1.0.vapi
/usr/lib/debug/usr/lib64/libcamel-1.2.so.*.debug
/usr/lib/debug/usr/lib64/libebackend-1.2.so.*.debug
/usr/lib/debug/usr/lib64/libebook-1.2.so.*.debug
/usr/lib/debug/usr/lib64/libebook-contacts-1.2.so.*.debug
/usr/lib/debug/usr/lib64/libecal-2.0.so.*.debug
/usr/lib/debug/usr/lib64/libedata-book-1.2.so.*.debug
/usr/lib/debug/usr/lib64/libedata-cal-2.0.so.*.debug
/usr/lib/debug/usr/lib64/libedataserver-1.2.so.*.debug
/usr/lib/debug/usr/lib64/libedataserverui-1.2.so.*.debug
/usr/lib/debug/usr/lib64/libedataserverui4-1.0.so.*.debug
%files langpacks -f %{name}.lang
+1 -1
View File
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
@@ -1,6 +1,6 @@
project "pkg" {
rpm {
spec = "granite.spec"
spec = "granite-7.spec"
sources = "."
}
}
@@ -2,14 +2,14 @@ import os
import requests
import re
NAME = 'granite'
NAME = 'granite-7'
REPO = "elementary/granite"
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']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
@@ -3,7 +3,7 @@ Granite is a companion library for GTK+ and GLib. Among other things, it
provides complex widgets and convenience functions designed for use in
apps built for elementary.}
Name: granite
Name: granite-7
Summary: elementary companion library for GTK+ and GLib
Version: 7.1.0
Release: 1%{?dist}
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
@@ -3,7 +3,7 @@
Name: pantheon-agent-geoclue2
Summary: Pantheon Geoclue2 Agent
Version: 1.0.5
Version: 1.0.6
Release: %autorelease
License: GPLv3
@@ -21,6 +21,7 @@ BuildRequires: pkgconfig(glib-2.0) >= 2.32.0
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: pkgconfig(libgeoclue-2.0)
BuildRequires: pkgconfig(granite)
%description
Provides a dialog asking for the user's permission when an application
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
@@ -20,12 +20,12 @@ BuildRequires: vala
Patch0: b60f0458a23a2f76ad14d399f145e150e1ab82d3.patch
BuildRequires: pkgconfig(camel-1.2) = 3.44.4
BuildRequires: pkgconfig(camel-1.2)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gobject-2.0)
BuildRequires: pkgconfig(granite) >= 6.0.0
BuildRequires: pkgconfig(gtk+-3.0)
BuildRequires: evolution-data-server-devel = 3.44.4
BuildRequires: evolution-data-server-devel
BuildRequires: pkgconfig(libhandy-1) >= 1.0.0
BuildRequires: pkgconfig(switchboard-2.0)
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
@@ -52,9 +52,9 @@ A power indicator for wingpanel.
sed -i '/icon type="stock"/d' %{buildroot}/%{_datadir}/metainfo/%{appname}.appdata.xml
%check
appstream-util validate-relax --nonet \
%{buildroot}/%{_datadir}/metainfo/%{appname}.appdata.xml
# %check
# appstream-util validate-relax --nonet \
# %{buildroot}/%{_datadir}/metainfo/%{appname}.appdata.xml
%files -f power-indicator.lang
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
+6
View File
@@ -0,0 +1,6 @@
project "pkg" {
rpm {
spec = "arphic-ukai-fonts.spec"
sources = "."
}
}
@@ -0,0 +1,30 @@
Name: arphic-ukai-fonts
Version: 0.2.20080216.2
Release: %autorelease
URL: https://www.freedesktop.org/wiki/Software/CJKUnifonts
Source0: https://deb.debian.org/debian/pool/main/f/fonts-arphic-ukai/fonts-arphic-ukai_%{version}.orig.tar.bz2
License: custom
Summary: CJK Unicode font Kaiti style
BuildArch: noarch
%description
%{summary}.
%prep
%setup -n fonts-arphic-ukai-%{version}
%install
install -D -m644 ukai.ttc %{buildroot}/%{_datadir}/fonts/arphic-ukai/ukai.ttc
%files
%doc README
%license license/english/ARPHICPL.TXT
%defattr(-,root,root,0755)
/%{_datadir}/fonts/arphic-ukai/ukai.ttc
%changelog
* Mon Nov 21 2022 windowsboy111 <windowsboy111@fyralabs.com> - 4.004
- Initial package
+6
View File
@@ -0,0 +1,6 @@
project "pkg" {
rpm {
spec = "arphic-uming-fonts.spec"
sources = "."
}
}
@@ -0,0 +1,30 @@
Name: arphic-uming-fonts
Version: 0.2.20080216.2
Release: %autorelease
URL: https://www.freedesktop.org/wiki/Software/CJKUnifonts
Source0: https://deb.debian.org/debian/pool/main/f/fonts-arphic-uming/fonts-arphic-uming_%{version}.orig.tar.bz2
License: custom
Summary: CJK Unicode font Ming style
BuildArch: noarch
%description
%{summary}.
%prep
%setup -n ttf-arphic-uming-%{version}
%install
install -D -m644 uming.ttc %{buildroot}/%{_datadir}/fonts/arphic-uming/uming.ttc
%files
%doc README
%license license/english/ARPHICPL.TXT
%defattr(-,root,root,0755)
/%{_datadir}/fonts/arphic-uming/uming.ttc
%changelog
* Mon Nov 21 2022 windowsboy111 <windowsboy111@fyralabs.com> - 4.004
- Initial package
+7
View File
@@ -0,0 +1,7 @@
Complete licensing information is embedded in the TTF files; most importantly:
Chỉ được dùng riêng, tuyệt đối không được dùng để kinh doanh & vụ lợi
Loose translation:
For non-commercial, non-profit, personal use only.
@@ -1,6 +1,6 @@
project "pkg" {
rpm {
spec = "elementary-tasks.spec"
spec = "hannom-fonts.spec"
sources = "."
}
}
+31
View File
@@ -0,0 +1,31 @@
Name: hannom-fonts
Version: 2005
Release: %autorelease
URL: https://vietunicode.sourceforge.net/fonts/fonts_hannom.html
Source0: https://downloads.sourceforge.net/project/vietunicode/hannom/hannom%20v%{version}/hannomH.zip
Source1: COPYING
License: custom
Summary: Chinese and Vietnamese TrueType fonts
BuildRequires: unzip
BuildArch: noarch
%description
%{summary}.
%prep
unzip %{SOURCE0}
%install
install -D -m644 'HAN NOM A.ttf' "%{buildroot}/%{_datadir}/fonts/hannom/HAN NOM A.ttf"
install -D -m644 'HAN NOM B.ttf' "%{buildroot}/%{_datadir}/fonts/hannom/HAN NOM B.ttf"
%files
# %license %{SOURCE1}
%defattr(-,root,root,0755)
/%{_datadir}/fonts/hannom/
%changelog
* Mon Nov 21 2022 windowsboy111 <windowsboy111@fyralabs.com> - 4.004
- Initial package
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
+6
View File
@@ -0,0 +1,6 @@
project "pkg" {
rpm {
spec = "kanjistrokeorders-fonts.spec"
sources = "."
}
}
@@ -0,0 +1,30 @@
Name: kanjistrokeorders-fonts
Version: 4.004
Release: %autorelease
URL: https://sites.google.com/site/nihilistorguk
License: custom
Summary: Kanji stroke order font
BuildRequires: unzip
BuildArch: noarch
%description
%{summary}.
%prep
curl -L --http1.1 http://www.dropbox.com/s/9jv2pnw4ohxzaml/KanjiStrokeOrders_v%{version}.zip > a.zip
unzip a.zip
%install
install -D -m644 KanjiStrokeOrders_v%{version}.ttf %{buildroot}/%{_datadir}/fonts/TTF/KanjiStrokeOrders_v%{version}.ttf
%files
%defattr(-,root,root,0755)
/%{_datadir}/fonts/TTF/KanjiStrokeOrders_v%{version}.ttf
%changelog
* Mon Nov 21 2022 windowsboy111 <windowsboy111@fyralabs.com> - 4.004
- Initial package
+6
View File
@@ -0,0 +1,6 @@
project "pkg" {
rpm {
spec = "mini-wakuwaku-fonts.spec"
sources = "."
}
}
@@ -0,0 +1,32 @@
Name: mini-wakuwaku-fonts
Version: 1.0
Release: %autorelease
URL: http://mini-design.jp/font/mini-wakuwaku.html
Source0: http://mini-design.jp/font/img/mini-wakuwaku.zip
License: custom
Summary: A fat looking, rounded and cute Japanese font
BuildRequires: unzip
BuildArch: noarch
%description
%{summary}.
%prep
%setup -n mini-wakuwaku
%install
install -D -m644 mini-wakuwaku-maru.otf %{buildroot}/%{_datadir}/fonts/mini-wakuwaku/mini-wakuwaku-maru.otf
install -D -m644 mini-wakuwaku.otf %{buildroot}/%{_datadir}/fonts/mini-wakuwaku/mini-wakuwaku.otf
%files
%doc readme.html
%defattr(-,root,root,0755)
/%{_datadir}/fonts/mini-wakuwaku/
%changelog
* Mon Nov 21 2022 windowsboy111 <windowsboy111@fyralabs.com> - 4.004
- Initial package
+5
View File
@@ -0,0 +1,5 @@
project "pkg" {
rpm {
spec = "naikai-fonts.spec"
}
}
@@ -2,14 +2,14 @@ import os
import requests
import re
NAME = 'elementary-tasks'
REPO = "elementary/tasks"
NAME = 'naikai-fonts'
REPO = "max32002/naikaifont"
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']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
+49
View File
@@ -0,0 +1,49 @@
Name: naikai-fonts
Version: 1.87
Release: %autorelease
URL: https://github.com/max32002/naikaifont
Source0: %{url}/archive/refs/tags/%{version}.tar.gz
License: OFLv1.1
Summary: A free font family derived from setofont
BuildRequires: unzip
BuildArch: noarch
%description
%{summary}.
%package jp
Summary: A free font family derived from setofont (JP version)
%description jp
%{summary}. 瀬戸フォントに由来、たくさん中国語文字を加えた無料なフォント
%package tw
Summary: A free font family derived from setofont (TW version)
%description tw
%{summary}. 瀨戶字體的繁體中文補字計畫
%prep
%setup -n naikaifont-1.87
%install
mkdir -p %{buildroot}/%{_datadir}/fonts/%{name}-{jp,tw}/
install -D -m644 jp/*.ttf %{buildroot}/%{_datadir}/fonts/%{name}-jp/
install -D -m644 tw/*.ttf %{buildroot}/%{_datadir}/fonts/%{name}-tw/
%files jp
%doc README.md
%license SIL_Open_Font_License_1.1.txt
%defattr(-,root,root,0755)
/%{_datadir}/fonts/%{name}-jp
%files tw
%doc README.md
%license SIL_Open_Font_License_1.1.txt
%defattr(-,root,root,0755)
/%{_datadir}/fonts/%{name}-tw
%changelog
* Tue Nov 22 2022 windowsboy111 <windowsboy111@fyralabs.com> - 1.87
- Initial package
+6
View File
@@ -0,0 +1,6 @@
project "pkg" {
rpm {
spec = "seto-fonts.spec"
sources = "."
}
}
+36
View File
@@ -0,0 +1,36 @@
Name: seto-fonts
Version: 6.20
Release: %autorelease
URL: https://setofont.osdn.jp/
Source0: https://osdn.net/frs/redir.php?m=nchc&f=setofont%2F61995%2Fsetofont_v_6_20.zip
License: OFLv1.1
Summary: A handwritten font that contains kanji up to JIS 4th level and difficult kanji
BuildRequires: unzip
BuildArch: noarch
%description
%{summary}.
%prep
%setup -n setofont
%install
mkdir -p $RPM_BUILD_ROOT/%{prefix}/%{name}/
cp -r *.ttf $RPM_BUILD_ROOT/%{prefix}/%{name}/
%clean
rm -rf $RPM_BUILD_ROOT
%files
%doc readme.txt
%defattr(-,root,root,0755)
/%{prefix}/%{name}
%changelog
* Tue Nov 22 2022 windowsboy111 <windowsboy111@fyralabs.com> - 6.20
- Initial package
@@ -11,7 +11,7 @@ LINK = f'https://api.github.com/repos/{REPO}/commits/HEAD'
if datetime.utcnow().hour not in [0, 12]: exit(f'{NAME}: skipping update check')
sha = requests.get(LINK).json()['sha']
sha = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['sha']
f = open(SPEC, 'r')
matches = re.findall(REGEX_SHA, txt:=f.read())
@@ -2,7 +2,7 @@
%global real_name prismlauncher
%global repo https://github.com/%{fancy_name}/%{fancy_name}
%global commit 30607c34a153fd32085712e18827983772d77f7b
%global commit b60fe08d44fbf70bff1555ab0e0cee0a00172ac8
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global filesystem_commit cd6805e94dd5d6346be1b75a54cdc27787319dd2
%global libnbtplusplus_commit 2203af7eeb48c45398139b583615134efd8d407f
@@ -11,7 +11,7 @@ LINK = f'https://api.github.com/repos/{REPO}/commits/HEAD'
if datetime.utcnow().hour not in [0, 12]: exit(f'{NAME}: skipping update check')
sha = requests.get(LINK).json()['sha']
sha = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['sha']
f = open(SPEC, 'r')
matches = re.findall(REGEX_SHA, txt:=f.read())
@@ -2,7 +2,7 @@
%global real_name prismlauncher
%global repo https://github.com/%{fancy_name}/%{fancy_name}
%global commit 30607c34a153fd32085712e18827983772d77f7b
%global commit b60fe08d44fbf70bff1555ab0e0cee0a00172ac8
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global filesystem_commit cd6805e94dd5d6346be1b75a54cdc27787319dd2
%global libnbtplusplus_commit 2203af7eeb48c45398139b583615134efd8d407f
+1 -1
View File
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
+1 -1
View File
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
+1 -1
View File
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
+1 -1
View File
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).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!")
+1 -1
View File
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name']
ver = ver[1:] # starts with v
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
+1 -1
View File
@@ -1,5 +1,5 @@
Name: rnote
Version: 0.5.7
Version: 0.5.8
Release: %autorelease
Summary: Sketch and take handwritten notes.
License: GPLv3
+2 -2
View File
@@ -6,8 +6,8 @@
%global crate sccache
Name: rust-sccache
Version: 0.3.0
Release: 3%{?dist}
Version: 0.3.1
Release: %autorelease
Summary: Ccache-like tool
License: Apache-2.0
@@ -1,6 +1,6 @@
--- sccache-0.3.0/Cargo.toml 1970-01-01T00:00:01+00:00
+++ sccache-0.3.0/Cargo.toml 1970-01-01T00:00:01+00:00
@@ -392,13 +392,3 @@
--- sccache-0.3.1/Cargo.toml 1970-01-01T00:00:01+00:00
+++ sccache-0.3.1/Cargo.toml 1970-01-01T00:00:01+00:00
@@ -402,14 +402,3 @@
[target."cfg(unix)".dependencies.daemonize]
version = "0.4"
@@ -12,5 +12,6 @@
-features = [
- "fileapi",
- "handleapi",
- "stringapiset",
- "winnls",
-]
+1 -1
View File
@@ -9,7 +9,7 @@ SPEC = f"{NAME}.spec"
LINK = f'https://api.github.com/repos/{REPO}/releases/latest'
ver = requests.get(LINK).json()['tag_name']
ver = requests.get(LINK, headers={'Authorization': 'Bearer ' + os.getenv('GITHUB_TOKEN')}).json()['tag_name']
ver = ver[1:] # starts with v
with open(SPEC, 'r') as f:
matches = re.findall(REGEX_VER, f.read())
+41 -2
View File
@@ -1,4 +1,4 @@
# Generated by rust2rpm 22
# Generated by rust2rpm 23
%bcond_without check
%define debug_package %{nil}
@@ -12,7 +12,9 @@ Summary: Minimal, blazing-fast, and infinitely customizable prompt for an
License: ISC
URL: https://crates.io/crates/starship
Source: %{crates_source}
ExclusiveArch: %{rust_arches}
# Automatically generated patch to strip foreign dependencies
Patch0: starship-fix-metadata-auto.diff
Patch1: starship-fix-git-repository-dep.diff
BuildRequires: rust-packaging >= 21
BuildRequires: anda-srpm-macros
@@ -85,6 +87,42 @@ use the "config-schema" feature of the "%{crate}" crate.
%files -n %{name}+config-schema-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+git-features-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+git-features-devel %{_description}
This package contains library source intended for building other packages which
use the "git-features" feature of the "%{crate}" crate.
%files -n %{name}+git-features-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+git-repository-faster-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+git-repository-faster-devel %{_description}
This package contains library source intended for building other packages which
use the "git-repository-faster" feature of the "%{crate}" crate.
%files -n %{name}+git-repository-faster-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+git-repository-max-perf-devel
Summary: %{summary}
BuildArch: noarch
%description -n %{name}+git-repository-max-perf-devel %{_description}
This package contains library source intended for building other packages which
use the "git-repository-max-perf" feature of the "%{crate}" crate.
%files -n %{name}+git-repository-max-perf-devel
%ghost %{crate_instdir}/Cargo.toml
%package -n %{name}+notify-devel
Summary: %{summary}
BuildArch: noarch
@@ -135,6 +173,7 @@ use the "starship-battery" feature of the "%{crate}" crate.
%prep
%autosetup -n %{crate}-%{version_no_tilde} -p1
cargo add git-repository@0.27.0
%cargo_prep_online
%build
@@ -0,0 +1,11 @@
--- starship-1.11.0/src/context.rs 1970-01-01T00:00:01+00:00
+++ starship-1.11.0/src/context.rs 1970-01-01T00:00:01+00:00
@@ -635,7 +635,7 @@ fn get_remote_repository_info(
.map(|r| r.shorten().to_string());
let name = repository
.branch_remote_name(branch_name)
- .map(|n| n.to_string());
+ .map(|n| n.as_bstr().to_string());
Some(Remote { branch, name })
}

Some files were not shown because too many files have changed in this diff Show More