mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-28 06:18:27 +00:00
stuff
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "enteauth.spec"
|
||||
}
|
||||
labels {
|
||||
mock = 1 # flutter requires root
|
||||
}
|
||||
}
|
||||
@@ -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.
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user