mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-16 16:40:38 +00:00
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "golang-github-ente-io-cli.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,72 @@
|
||||
# Generated by go2rpm 1.19.0
|
||||
%bcond check 1
|
||||
%bcond bootstrap 0
|
||||
|
||||
%if %{with bootstrap}
|
||||
%global debug_package %{nil}
|
||||
%endif
|
||||
|
||||
%if %{with bootstrap}
|
||||
%global __requires_exclude %{?__requires_exclude:%{__requires_exclude}|}^golang\\(.*\\)$
|
||||
%endif
|
||||
|
||||
# https://github.com/ente-io/ente
|
||||
%global goipath github.com/ente-io/ente
|
||||
%global tag cli-v0.2.3
|
||||
Version: %(echo %tag | sed 's/^cli-v//')
|
||||
|
||||
%gometa -f
|
||||
|
||||
%global common_description %{expand:
|
||||
The Ente CLI is a Command Line Utility for exporting data from Ente. It also does a few more things, for example, you can use it to decrypt the export from Ente Auth.}
|
||||
|
||||
%global golicenses LICENSE
|
||||
%global godocs CODE_OF_CONDUCT.md CONTRIBUTING.md cli/README.md SECURITY.md SUPPORT.md
|
||||
Name: ente
|
||||
Release: %autorelease
|
||||
Summary: 💚 End-to-end encrypted cloud for everything
|
||||
Packager: madonuko <mado@fyralabs.com>
|
||||
|
||||
License: AGPL-3.0-only
|
||||
URL: ente.com
|
||||
Source: %{gosource}
|
||||
|
||||
%description %{common_description}
|
||||
|
||||
%gopkg
|
||||
|
||||
%prep
|
||||
%goprep -A
|
||||
%autopatch -p1
|
||||
|
||||
%if %{without bootstrap}
|
||||
%build
|
||||
%go_build_online -o %{gobuilddir}/bin/ente %{goipath}/cli
|
||||
%endif
|
||||
|
||||
%install
|
||||
%gopkginstall
|
||||
%if %{without bootstrap}
|
||||
install -m 0755 -vd %{buildroot}%{_bindir}
|
||||
install -m 0755 -vp %{gobuilddir}/bin/* %{buildroot}%{_bindir}/
|
||||
%endif
|
||||
|
||||
%if %{without bootstrap}
|
||||
%if %{with check}
|
||||
%check
|
||||
%gocheck
|
||||
%endif
|
||||
%endif
|
||||
|
||||
%if %{without bootstrap}
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc CODE_OF_CONDUCT.md CONTRIBUTING.md README.md SECURITY.md SUPPORT.md cli/README.md
|
||||
%{_bindir}/ente
|
||||
%endif
|
||||
|
||||
%gopkgfiles
|
||||
|
||||
%changelog
|
||||
* Tue Jun 16 2026 madonuko <mado@fyralabs.com> - 0.2.3-1
|
||||
- Initial package.
|
||||
@@ -0,0 +1,10 @@
|
||||
let tagobjs = get("https://api.github.com/repos/ente-io/ente/tags").json_arr();
|
||||
for tagobj in tagobjs {
|
||||
if tagobj.name.starts_with("cli-v") {
|
||||
rpm.global("tag", tagobj.name);
|
||||
if rpm.changed() {
|
||||
rpm.release();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "ensu.spec"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Name=Ensu
|
||||
Comment=Ensu Desktop App
|
||||
Exec=ensu
|
||||
Icon=io.ente.ensu
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Categories=Utility;
|
||||
StartupNotify=true
|
||||
@@ -0,0 +1,40 @@
|
||||
%global tag ensu-v0.1.17
|
||||
%global appid io.ente.ensu
|
||||
%global developer "Ente"
|
||||
%global org "io.ente"
|
||||
%global appstream_component desktop-application
|
||||
|
||||
Name: ensu
|
||||
Version: %(echo %tag | sed 's/^ensu-v//')
|
||||
Release: 1%?dist
|
||||
Summary: Private, personal LLM app that runs on your device and grows with you over time
|
||||
License: AGPL-3.0-only
|
||||
URL: https://ente.com/ensu
|
||||
Source0: https://github.com/ente-io/ente/archive/refs/tags/%tag.tar.gz
|
||||
Source1: ensu.desktop
|
||||
Packager: madonuko <mado@fyralabs.com>
|
||||
BuildRequires: cmake %tauri_buildrequires
|
||||
|
||||
%description
|
||||
%summary.
|
||||
|
||||
%prep
|
||||
%autosetup -n ente-%tag
|
||||
cd rust/apps/ensu
|
||||
%tauri_prep
|
||||
|
||||
%build
|
||||
cd rust/apps/ensu
|
||||
%npm_build -B
|
||||
install -Dpm755 src-tauri/target/rpm/ensu -t %buildroot%_bindir
|
||||
%desktop_file_install %{S:1}
|
||||
install -Dpm644 src-tauri/icons/icon.png %buildroot%_hicolordir/1024x1024/apps/ensu.png
|
||||
%terra_appstream
|
||||
|
||||
%files
|
||||
%doc README.md CONTRIBUTING.md CODE_OF_CONDUCT.md SECURITY.md SUPPORT.md
|
||||
%license LICENSE
|
||||
%_bindir/ensu
|
||||
%_appsdir/ensu.desktop
|
||||
%_hicolordir/*/apps/ensu.png
|
||||
%_metainfodir/%appid.metainfo.xml
|
||||
@@ -0,0 +1,10 @@
|
||||
let tagobjs = get("https://api.github.com/repos/ente-io/ente/tags").json_arr();
|
||||
for tagobj in tagobjs {
|
||||
if tagobj.name.starts_with("ensu-v") {
|
||||
rpm.global("tag", tagobj.name);
|
||||
if rpm.changed() {
|
||||
rpm.release();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
project pkg {
|
||||
rpm {
|
||||
spec = "enteauth.spec"
|
||||
}
|
||||
labels {
|
||||
mock = 1 # flutter requires root
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,35 @@
|
||||
%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
|
||||
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.
|
||||
@@ -0,0 +1,10 @@
|
||||
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