This commit is contained in:
madonuko
2026-06-17 19:12:55 +08:00
parent 9b270a8b9c
commit 10fe0f5f6f
5 changed files with 3 additions and 55 deletions
@@ -42,7 +42,8 @@ Source: %{gosource}
%if %{without bootstrap}
%build
%global gomodulesmode GO111MODULE=on
%gobuild -o %{gobuilddir}/bin/ente %{goipath}/cli
cd cli
%gobuild -o %{gobuilddir}/bin/ente .
%endif
%install
+1
View File
@@ -22,6 +22,7 @@ BuildRequires: cmake %tauri_buildrequires
%autosetup -n ente-%tag
cd rust/apps/ensu
%tauri_prep
cd web && npm ci
%build
cd rust/apps/ensu
-8
View File
@@ -1,8 +0,0 @@
project pkg {
rpm {
spec = "enteauth.spec"
}
labels {
mock = 1 # flutter requires root
}
}
-36
View File
@@ -1,36 +0,0 @@
%global appid io.ente.enteauth
%global tag auth-v4.4.23
Name: enteauth
Version: %(echo %tag | sed 's/^auth-v//')
Release: 1%{?dist}
Summary: 2FA app with free end-to-end encrypted backup and sync
License: AGPL-3.0-only
URL: https://ente.com
Source0: https://github.com/ente-io/ente/archive/refs/tags/%tag.tar.gz
Packager: madonuko <mado@fyralabs.com>
BuildRequires: flutter
%description
%summary.
%prep
%autosetup -n ente-%tag
%build
pushd mobile/apps/auth
flutter config --enable-linux-desktop
flutter build linux --release
%install
%terra_appstream mobile/apps/auth/linux/packaging/enteauth.appdata.xml
%desktop_file_install mobile/apps/auth/linux/packaging/enteauth.desktop
%files
%doc CODE_OF_CONDUCT.md CONTRIBUTING.md README.md SECURITY.md SUPPORT.md README.md
%license LICENSE
%changelog
* Tue Jun 16 2026 madonuko <mado@fyralabs.com> - 4.4.23-1
- Initial package.
-10
View File
@@ -1,10 +0,0 @@
let tagobjs = get("https://api.github.com/repos/ente-io/ente/tags").json_arr();
for tagobj in tagobjs {
if tagobj.name.starts_with("auth-v") {
rpm.global("tag", tagobj.name);
if rpm.changed() {
rpm.release();
break;
}
}
}