Compare commits

..

9 Commits

Author SHA1 Message Date
madonuko 31a2095a8d use pkgconfig? 2026-06-20 17:52:30 +08:00
madonuko 1a3f337c2f try this 2026-06-20 17:49:53 +08:00
madomado 3868a84344 Update anda.spec
Signed-off-by: madomado <madonuko@outlook.com>
2026-06-20 17:48:15 +08:00
madonuko 14b2d97e82 fix(anda): undep libgit2 (covered by bdep) 2026-06-20 17:47:29 +08:00
Raboneko ae170009ff bump: plasma6-applet-appgrid rust-bottom zig-master-bootstrap anda-srpm-macros 2026-06-20 08:14:42 +00:00
Raboneko 3aa382d9fd bump(branch): LCEVCdec gstreamer1-plugin-libav 2026-06-20 06:57:14 +00:00
Raboneko be9bc0d096 bump: discord-canary-openasar discord-canary ruffle-nightly 2026-06-20 04:43:30 +00:00
Raboneko 1aa6a1c1c1 bump(nightly): flameshot-nightly noctalia-git zed-nightly xray-nightly types-colorama v2ray-domain-list-community v2ray-geoip cloud-hypervisor-nightly 2026-06-20 04:03:09 +00:00
Pornpipat Popum 107c771cb2 add 1Password and 1Password CLI (#13171)
Co-authored-by: Cypress Reed <willow@willowidk.dev>
2026-06-19 21:38:40 -06:00
30 changed files with 286 additions and 49 deletions
@@ -0,0 +1,49 @@
%global debug_package %{nil}
%ifarch x86_64
%global op_arch amd64
%elifarch aarch64
%global op_arch arm64
%endif
Name: 1password-cli
Version: 2.34.1
Release: 1%{?dist}
Summary: 1Password command-line tool
Packager: Cappy Ishihara <cappy@fyralabs.com>
License: LicenseRef-1Password-Proprietary
URL: https://developer.1password.com/docs/cli/
Source0: https://cache.agilebits.com/dist/1P/op2/pkg/v%{version}/op_linux_%{op_arch}_v%{version}.zip
Source1: 1password-cli.sysusers
ExclusiveArch: x86_64 aarch64
BuildRequires: systemd-rpm-macros
BuildRequires: unzip
Recommends: 1password
Recommends: polkit
%description
1Password CLI brings 1Password to your terminal.
%prep
%autosetup -c
%build
%install
install -Dm0755 op %{buildroot}%{_bindir}/op
chmod 2755 %{buildroot}%{_bindir}/op
install -Dm0644 %{SOURCE1} %{buildroot}%{_sysusersdir}/%{name}.conf
%pre
%sysusers_create_package %{name} %{SOURCE1}
%files
%attr(2755,root,onepassword-cli) %{_bindir}/op
%{_sysusersdir}/%{name}.conf
%changelog
* Fri Jun 19 2026 Cappy Ishihara <cappy@cappuchino.xyz>
- Initial Package
@@ -0,0 +1 @@
g onepassword-cli -
+6
View File
@@ -0,0 +1,6 @@
project pkg {
arches = ["x86_64", "aarch64"]
rpm {
spec = "1password-cli.spec"
}
}
+37
View File
@@ -0,0 +1,37 @@
let html = get("https://app-updates.agilebits.com/product_history/CLI2");
let versions = [];
for matches in find_all(`op_linux_amd64_v([\d]+\.[\d]+\.[\d]+)\.zip`, html) {
versions += matches[1];
}
versions.dedup();
let latest = "";
let latest_major = 0;
let latest_minor = 0;
let latest_patch = 0;
for version in versions {
let parts = version.split(".");
let major = parts[0].parse_int();
let minor = parts[1].parse_int();
let patch = parts[2].parse_int();
if latest == "" ||
major > latest_major ||
major == latest_major && minor > latest_minor ||
major == latest_major && minor == latest_minor && patch > latest_patch {
latest = version;
latest_major = major;
latest_minor = minor;
latest_patch = patch;
}
}
if latest == "" {
print("E: no 1Password CLI version found");
terminate();
}
rpm.version(latest);
+105
View File
@@ -0,0 +1,105 @@
%global debug_package %{nil}
%global policy_owners unix-group:wheel
%global appdir %{_datadir}/1password
%ifarch x86_64
%global tararch x64
%elifarch aarch64
%global tararch arm64
%endif
Name: 1password
Version: 8.12.24
Release: 1%{?dist}
Summary: Password manager and secure wallet
Packager: Cappy Ishihara <cappy@fyralabs.com>
License: LicenseRef-1Password-Proprietary
URL: https://1password.com
Source0: https://downloads.1password.com/linux/tar/stable/%{_arch}/%{name}-%{version}.%{tararch}.tar.gz
Source1: https://downloads.1password.com/linux/tar/stable/%{_arch}/%{name}-%{version}.%{tararch}.tar.gz.sig
Source2: 1password.sysusers
ExclusiveArch: x86_64 aarch64
BuildRequires: desktop-file-utils
BuildRequires: systemd-rpm-macros
Requires: desktop-file-utils
Requires: gtk3
Requires: hicolor-icon-theme
Requires: nss
Requires: polkit
Requires: xdg-utils
%description
%{summary}
%prep
%autosetup -n %{name}-%{version}.%{tararch}
%build
%install
# Install icons
install -Dm0644 resources/icons/hicolor/32x32/apps/1password.png -t %{buildroot}%{_datadir}/icons/hicolor/32x32/apps/
install -Dm0644 resources/icons/hicolor/64x64/apps/1password.png -t %{buildroot}%{_datadir}/icons/hicolor/64x64/apps/
install -Dm0644 resources/icons/hicolor/256x256/apps/1password.png -t %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/
install -Dm0644 resources/icons/hicolor/512x512/apps/1password.png -t %{buildroot}%{_datadir}/icons/hicolor/512x512/apps/
sed 's|${POLICY_OWNERS}|%{policy_owners}|g' \
com.1password.1Password.policy.tpl > com.1password.1Password.policy
install -Dm0644 com.1password.1Password.policy -t %{buildroot}%{_datadir}/polkit-1/actions/
install -Dm0644 resources/custom_allowed_browsers -t %{buildroot}%{_sysconfdir}/1password/
install -Dm0644 resources/custom_allowed_browsers -t %{buildroot}%{_datadir}/doc/1password/examples/
sed -i 's|^Exec=/opt/1Password/1password|Exec=%{_bindir}/1password|' resources/1password.desktop
desktop-file-install --dir=%{buildroot}%{_datadir}/applications resources/1password.desktop
install -Dm0644 %{SOURCE2} %{buildroot}%{_sysusersdir}/%{name}.conf
# Install application payload under /usr for immutable-system compatibility.
mkdir -p %{buildroot}%{appdir}
cp -a . %{buildroot}%{appdir}/
rm -f %{buildroot}%{appdir}/com.1password.1Password.policy \
%{buildroot}%{appdir}/com.1password.1Password.policy.tpl \
%{buildroot}%{appdir}/after-install.sh \
%{buildroot}%{appdir}/after-remove.sh \
%{buildroot}%{appdir}/install.sh \
%{buildroot}%{appdir}/install_biometrics_policy.sh
mkdir -p %{buildroot}%{_bindir}
ln -sr %{buildroot}%{appdir}/%{name} %{buildroot}%{_bindir}/%{name}
chmod 4755 %{buildroot}%{appdir}/chrome-sandbox
chmod 2755 %{buildroot}%{appdir}/1Password-BrowserSupport
if [ -f %{buildroot}%{appdir}/onepassword-mcp ]; then
chmod 2755 %{buildroot}%{appdir}/onepassword-mcp
fi
find %{buildroot}%{appdir} -type f \
! -name chrome-sandbox \
! -name 1Password-BrowserSupport \
! -name onepassword-mcp \
-printf '/%%P\n' | sed "s|^/|%{appdir}/|" > app.files
%pre
%sysusers_create_package %{name} %{SOURCE2}
%files -f app.files
%{_bindir}/%{name}
%dir %{appdir}
%attr(4755,root,root) %{appdir}/chrome-sandbox
%attr(2755,root,onepassword) %{appdir}/1Password-BrowserSupport
%attr(2755,root,onepassword-mcp) %{appdir}/onepassword-mcp
%{_datadir}/icons/hicolor/32x32/apps/1password.png
%{_datadir}/icons/hicolor/64x64/apps/1password.png
%{_datadir}/icons/hicolor/256x256/apps/1password.png
%{_datadir}/icons/hicolor/512x512/apps/1password.png
%{_datadir}/applications/%{name}.desktop
%{_datadir}/polkit-1/actions/com.1password.1Password.policy
%{_sysusersdir}/%{name}.conf
%config(noreplace) %{_sysconfdir}/1password/custom_allowed_browsers
%{_datadir}/doc/1password/
%changelog
* Fri Jun 19 2026 Cappy Ishihara <cappy@cappuchino.xyz>
- Initial Package
+2
View File
@@ -0,0 +1,2 @@
g onepassword -
g onepassword-mcp -
+7
View File
@@ -0,0 +1,7 @@
project pkg {
arches = ["x86_64", "aarch64"]
rpm {
spec = "1password.spec"
}
}
+36
View File
@@ -0,0 +1,36 @@
let xml = get("https://releases.1password.com/linux/stable/index.xml");
let latest = "";
let latest_major = 0;
let latest_minor = 0;
let latest_patch = 0;
for title in find_all(`<title>[^<]*</title>`, xml) {
let matches = find_all(`[\d]+\.[\d]+\.[\d]+`, title[0]);
if matches.len() == 0 {
continue;
}
let version = matches[0][0];
let parts = version.split(".");
let major = parts[0].parse_int();
let minor = parts[1].parse_int();
let patch = parts[2].parse_int();
if latest == "" ||
major > latest_major ||
major == latest_major && minor > latest_minor ||
major == latest_major && minor == latest_minor && patch > latest_patch {
latest = version;
latest_major = major;
latest_minor = minor;
latest_patch = patch;
}
}
if latest == "" {
print("E: no 1Password version found");
terminate();
}
rpm.version(latest);
@@ -6,7 +6,7 @@
%global __provides_exclude_from %{_datadir}/%{name}/.*\\.so
Name: discord-canary-openasar
Version: 1.0.1316
Version: 1.0.1317
Release: 1%{?dist}
Summary: A snappier Discord rewrite with features like further customization and theming
License: MIT AND https://discord.com/terms
+1 -1
View File
@@ -1,5 +1,5 @@
Name: discord-canary
Version: 1.0.1316
Version: 1.0.1317
Release: 1%{?dist}
Summary: Free Voice and Text Chat for Gamers
URL: discord.com
+3 -3
View File
@@ -1,9 +1,9 @@
#? https://github.com/flameshot-org/flameshot/blob/master/packaging/rpm/fedora/flameshot.spec
%global ver 13.3.0
%global commit 18accdcc9a739233438b1591965067e3e9cdec72
%global ver 14.0.0
%global commit 550d4fae96dbea937d92a236605538f489e7b413
%global shortcommit %{sub %{commit} 1 7}
%global commit_date 20260618
%global commit_date 20260620
%global devel_name QtColorWidgets
%global _distro_extra_cflags -fuse-ld=mold
%global _distro_extra_cxxflags -fuse-ld=mold
+1 -1
View File
@@ -1,4 +1,4 @@
%global ver 2026-06-19
%global ver 2026-06-20
%global goodver %(echo %ver | sed 's/-//g')
%global __brp_mangle_shebangs %{nil}
%bcond_without mold
+2 -6
View File
@@ -4,7 +4,7 @@
Name: anda
Version: 0.7.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Andaman Build toolchain
SourceLicense: MIT
License: ((MIT OR Apache-2.0) AND Unicode-3.0) AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 AND ISC) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR MIT) AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND Apache-2.0 AND (BSD-2-Clause OR Apache-2.0 OR MIT) AND BSD-3-Clause AND BSL-1.0 AND CDLA-Permissive-2.0 AND ISC AND (MIT OR Apache-2.0 OR LGPL-2.1-or-later) AND (MIT OR Apache-2.0) AND (MIT OR Zlib OR Apache-2.0) AND MIT AND MPL-2.0-or-later AND MPL-2.0-only AND Unicode-3.0 AND (Unlicense OR MIT)
@@ -18,18 +18,14 @@ BuildRequires: gcc
BuildRequires: rust-packaging >= 21
BuildRequires: anda-srpm-macros
BuildRequires: openssl-devel
%if %{defined fedora}
BuildRequires: openssl-devel-engine
%endif
BuildRequires: git-core
BuildRequires: libgit2-devel
BuildRequires: pkgconfig(libgit2)
BuildRequires: libssh2-devel
BuildRequires: mold
Requires: mock
Requires: rpm-build
Requires: createrepo_c
Requires: git-core
Requires: libgit2
%if 0%{?fedora} >= 42
Requires: mock-filesystem
Requires: util-linux-script
@@ -1,6 +1,6 @@
Name: plasma6-applet-appgrid
Version: 1.9.1
Release: 2%{?dist}
Version: 1.9.2
Release: 1%{?dist}
Summary: A modern application launcher for KDE Plasma
# Main code: GPL-2.0-or-later
# dev.xarbit.appgrid.metainfo.xml: CC0-1.0
+1 -1
View File
@@ -2,7 +2,7 @@
%global ver 5.0.0
%global commit 7bc707b611fcb88401f64a52f483f389e2771f43
%global commit a7af75821ed8aa9e199b0d8044362dc882c78fbc
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commitdate 20260608
@@ -6,13 +6,14 @@
Name: noctalia-greeter
Version: %{ver}^%{commitdate}git.%{shortcommit}
Release: 2%{?dist}
Release: 1%{?dist}
Summary: A minimal login greeter for greetd that matches the look and feel of Noctalia Shell.
License: MIT
URL: https://github.com/noctalia-dev/%{name}
Source0: %{url}/archive/%{commit}/%{name}-%{commit}.tar.gz
License: shortcommit
URL: https://github.com/noctalia-dev/noctalia-greeter
Source0: https://github.com/noctalia-dev/noctalia-greeter/archive/%{commit}/noctalia-greeter-%{commit}.tar.gz
BuildRequires: cage
BuildRequires: dbus
BuildRequires: gcc-c++
BuildRequires: greetd
@@ -31,11 +32,11 @@ BuildRequires: pkgconfig(wayland-client)
BuildRequires: pkgconfig(wayland-protocols)
BuildRequires: pkgconfig(xkbcommon)
BuildRequires: polkit
BuildRequires: wlroots-devel >= 0.20
BuildRequires: wlr-randr
Requires: cage
Requires: dbus
Requires: greetd
Requires: wlroots >= 0.20
Packager: Cypress Reed <cypress@fyralabs.com>
@@ -47,7 +48,8 @@ It lets you pick a user, enter your password, choose a Wayland session, and pick
%autosetup -n noctalia-greeter-%{commit}
%conf
%meson -Db_pie=true
export LDFLAGS="%{__global_ldflags} -Wl,-z,notext"
%meson
%build
%meson_build
@@ -60,15 +62,11 @@ It lets you pick a user, enter your password, choose a Wayland session, and pick
%license LICENSE
%{_bindir}/%{name}
%{_bindir}/%{name}-apply-appearance
%{_bindir}/%{name}-compositor
%{_bindir}/%{name}-print-greetd-config
%{_bindir}/%{name}-session
%{_datadir}/%{name}/*
%{_datadir}/polkit-1/actions/org.noctalia.greeter.apply-appearance.policy
%changelog
* Fri Jun 19 2026 Cypress Reed <cypress@fyralabs.com>
- Update dependencies and files for built-in compositor
* Tue Jun 09 2026 Cypress Reed <cypress@fyralabs.com>
- Port to terra from Fedora COPR lionheartp/Hyprland
+2 -2
View File
@@ -1,6 +1,6 @@
%global commit 69b602c797a62f09318916d24a98c930533fbdc8
%global commit 9f56a4df515c9989bf0baa71c2150408cce0608e
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global commit_date 20260619
%global commit_date 20260620
%global ver 1.9.0
%bcond_with check
+2 -2
View File
@@ -1,7 +1,7 @@
%global commit 1e036ce1c5076f695d149a672ca578ebf907f882
%global commit be8009c62509322682299bfbe969a62cee03f4d5
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global ver v26.3.27
%global commit_date 20260619
%global commit_date 20260620
%global goipath github.com/XTLS/Xray-core
Version: %{ver}^%{commit_date}git.%{shortcommit}
@@ -1,5 +1,5 @@
%global commit 63c876f66ae413d8729da02422c5f40153a86540
%global commit_date 20260618
%global commit fb2af6606cf8fa85a8bf06c0d1f5689327d4b6fc
%global commit_date 20260620
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global pypi_name types-colorama
+2 -2
View File
@@ -5,8 +5,8 @@
%global crate bottom
Name: rust-bottom
Version: 0.12.3
Release: 1%?dist
Version: 0.13.0
Release: 1%{?dist}
Summary: Customizable cross-platform graphical process/system monitor for the terminal
License: MIT
+1 -1
View File
@@ -1,6 +1,6 @@
#!/usr/bin/bash
version=0.17.0-dev.892+54537285c
version=0.17.0-dev.902+7255f3e72
mirrors=()
@@ -6,7 +6,7 @@
%define llvm_compat 22
%endif
%global llvm_version 22.0.0
%global ver 0.17.0-dev.892+54537285c
%global ver 0.17.0-dev.902+7255f3e72
%bcond bootstrap 1
%bcond docs %{without bootstrap}
%bcond test 1
@@ -1,7 +1,7 @@
%global commit 9ad36e14f6e5db3b45235943d61768e5fa246edd
%global commit dccbbd62a026752603f3205a12de0f2ff7ff2ab0
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global ver 20260618031303
%global commit_date 20260618
%global ver 20260620002456
%global commit_date 20260620
Name: v2ray-domain-list-community
Version: %{ver}^%{commit_date}git.%{shortcommit}
+3 -3
View File
@@ -1,7 +1,7 @@
%global commit ce6485980843245f8dc13ec0d0b2258fb04435d2
%global commit 519243fd551caf9b118d2a34c95699ce15cd74eb
%global shortcommit %(c=%{commit}; echo ${c:0:7})
%global ver 202605120112
%global commit_date 20260512
%global ver 202606191114
%global commit_date 20260620
%global year %{gsub %commit_date %%d%%d%%d%%d$ %{quote:}}
%global month %{gsub %commit_date %%d%%d%%d%%d(%%d%%d)%%d%%d %%1}
+1 -1
View File
@@ -10,7 +10,7 @@
Name: LCEVCdec
Version: 4.2.0
Release: 1%{?dist}
Release: 2%{?dist}
Summary: MPEG-5 LCEVC Decoder
License: BSD-3-Clause-Clear
URL: https://docs.v-nova.com/v-nova/lcevc/lcevc-sdk-overview
+1 -1
View File
@@ -1 +1 @@
8.1.1
8.1.2
@@ -1 +1 @@
8.1.1
8.1.2
@@ -1,6 +1,6 @@
Name: gstreamer1-plugin-libav
Version: 1.28.4
Release: 1%{?dist}
Release: 2%{?dist}
Epoch: 1
Summary: GStreamer Libav plugin
License: LGPL-2.0-or-later
@@ -1,5 +1,5 @@
%global commit 066091a54c08b240939c3bc2c4119c693c636bdb
%global commit_date 20260619
%global commit b0610f3e9109274730d6b7044f6d7b6603eaac3f
%global commit_date 20260620
%global shortcommit %(c=%{commit}; echo ${c:0:7})
Name: cloud-hypervisor-nightly
+1 -1
View File
@@ -1,5 +1,5 @@
Name: anda-srpm-macros
Version: 0.3.10
Version: 0.3.11
Release: 1%{?dist}
Summary: SRPM macros for extra Fedora packages