# Tessel component "files". Built from one source tree per release: see # distribution/fedora/README.md for how the sources are made. %global debug_package %{nil} %global tessel_libdir %{_prefix}/lib/tessel %{!?tessel_cargo_target_dir:%global tessel_cargo_target_dir %{_builddir}/tessel-target} # Sources come from GitHub: the commit this package is built from, and the # vendored crates for that commit's Cargo.lock (see README.md, "Sources"). # build.sh overrides both to build the working tree. %{!?commit:%global commit d474d36f26c5da826b52d724925fce09d24c7594} %{!?vendorlock:%global vendorlock ace8d23feae6} Name: tessel-files Version: 0.1.0 Release: 8%{?dist} Summary: Tessel file manager License: GPL-3.0-or-later URL: https://github.com/GloriousEggroll/tessel-desktop Source0: %{url}/archive/%{commit}/tessel-desktop-%{commit}.tar.gz Source1: %{url}/releases/download/vendor-%{vendorlock}/tessel-desktop-vendor-%{vendorlock}.tar.xz BuildRequires: cargo BuildRequires: gcc BuildRequires: gtksourceview5 BuildRequires: pkgconfig(cairo) BuildRequires: pkgconfig(gdk-pixbuf-2.0) BuildRequires: pkgconfig(gio-2.0) BuildRequires: pkgconfig(gio-unix-2.0) BuildRequires: pkgconfig(glib-2.0) BuildRequires: pkgconfig(gobject-2.0) BuildRequires: pkgconfig(graphene-gobject-1.0) BuildRequires: pkgconfig(gtk4) BuildRequires: pkgconfig(gtk4-layer-shell-0) BuildRequires: pkgconfig(gtk4-wayland) BuildRequires: pkgconfig(liblzma) BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(pango) BuildRequires: pkgconfig(wayland-client) BuildRequires: rust Requires: tessel-common >= %{version} Requires: ptyxis Requires: acl Requires: gvfs Requires: tar Requires: gzip Requires: xdg-utils Requires: poppler-glib Recommends: tessel-archive Recommends: zstd Recommends: zip %description Tessel file manager. Part of the Tessel desktop. %prep %autosetup -n tessel-desktop-%{commit} -a1 cat >> .cargo/config.toml <<'EOF' [source.crates-io] replace-with = "vendored-sources" [source.vendored-sources] directory = "vendor" EOF %build export TESSEL_PACKAGED=1 export CARGO_TARGET_DIR=%{tessel_cargo_target_dir} export CARGO_HOME=%{_builddir}/cargo-home export RUSTFLAGS="-Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now" cargo build --release --offline --locked -p tessel-files %install export CARGO_TARGET_DIR=%{tessel_cargo_target_dir} install -d %{buildroot}%{tessel_libdir} %{buildroot}%{_bindir} install -m755 "$CARGO_TARGET_DIR/release/tessel-files" %{buildroot}%{tessel_libdir}/tessel-files ln -s ../lib/tessel/tessel-files %{buildroot}%{_bindir}/tessel-files install -d %{buildroot}%{_datadir}/applications sed -e 's|@LIBDIR@|%{tessel_libdir}|g' -e 's#^\(Exec\|TryExec\)=tessel-#\1=%{tessel_libdir}/tessel-#' components/files/data/org.tessel.Files.desktop > %{buildroot}%{_datadir}/applications/org.tessel.Files.desktop chmod 644 %{buildroot}%{_datadir}/applications/org.tessel.Files.desktop %files %{tessel_libdir}/tessel-files %{_bindir}/tessel-files %{_datadir}/applications/org.tessel.Files.desktop %changelog * Thu Nov 19 2026 GloriousEggroll - 0.1.0-8 - Opening a program or AppImage runs it; an AppImage that may not run yet asks first, and an executable script asks whether to run or open it - Copies and moves to USB devices and network shares finish when the data is on the device; moves keep their sources until then * Fri Nov 13 2026 GloriousEggroll - 0.1.0-7 - Previewing a video no longer makes GTK copy each frame at full size; that copy crashed Files on NVIDIA (issue 17) * Thu Nov 12 2026 GloriousEggroll - 0.1.0-6 - Places pane no longer jumps while disk space loads or when mounts change * Thu Nov 12 2026 GloriousEggroll - 0.1.0-5 - Open in Terminal uses the terminal chosen in Default Apps at once * Thu Nov 12 2026 GloriousEggroll - 0.1.0-4 - Empty Trash and Delete permanently remove trashed folders instead of failing - Inside the Trash, the Delete key deletes for good after asking * Wed Nov 11 2026 GloriousEggroll - 0.1.0-3 - Window buttons are as far from the side of the window as from its top - Rounded corners are 8 px, as browsers' own windows have * Mon Nov 09 2026 GloriousEggroll - 0.1.0-2 - Require tessel-common by version, so it can update on its own * Sun Nov 08 2026 GloriousEggroll - 0.1.0-1 - First package