%global commit bdbea3cfb862f8508f439dda63d4b30ffae3a646 %global shortcommit %(c=%{commit}; echo ${c:0:8}) Name: bookmarkfs Version: 0.1.3 Release: 1 Summary: FUSE-based pseudo-filesystem for managing web browser bookmarks License: GPL-3.0-or-later # https://www.nongnu.org/bookmarkfs/ URL: https://git.sr.ht/~cismonx/bookmarkfs # releases Source0: https://git.sr.ht/~cismonx/bookmarkfs/archive/v%{version}.tar.gz#/%{name}-v%{version}.tar.gz # development #Source0: https://git.sr.ht/~cismonx/bookmarkfs/archive/%%{shortcommit}.tar.gz#/%%{name}-git%%{shortcommit}.tar.gz BuildRequires: autoconf, autoconf-archive, automake, libtool, make, pkg-config, gcc BuildRequires: fuse3-devel >= 3.5 BuildRequires: libseccomp-devel >= 2.5 BuildRequires: sqlite-devel >= 3.35 BuildRequires: jansson-devel >= 2.14 BuildRequires: nettle-devel >= 3.4 BuildRequires: readline-devel >= 6.0 BuildRequires: tcl-devel >= 8.6 BuildRequires: uriparser-devel >= 0.9 BuildRequires: xxhash-devel >= 0.8 # for the manpage BuildRequires: texinfo Requires: fuse3 Requires: tcl %description BookmarkFS is a FUSE-based pseudo-filesystem which provides an interface to the bookmark data of web browsers. Currently, the following browsers (and their derivatives) are supported: - Firefox - Chromium %prep %autosetup -n %{name}-v%{version} %build autoreconf -vfi . #./configure --help %configure --prefix=%{_prefix} \ --enable-bookmarkctl \ --enable-bookmarkfs-fsck \ --enable-bookmarkfs-mkfs \ --enable-bookmarkfs-mount \ --enable-backend-firefox \ --enable-backend-firefox-write \ --enable-backend-chromium \ --enable-backend-chromium-write \ --enable-interactive-fsck \ --enable-fsck-handler-tcl \ --enable-bookmarkfs-util \ --enable-year2038 %make_build %install # install binaries /usr/bin/make install-exec DESTDIR= INSTALL="/usr/bin/install -p" # install headers, man pages and the pkg-config file /usr/bin/make install-data DESTDIR= INSTALL="/usr/bin/install -p" # install the user manual /usr/bin/make install-info DESTDIR= INSTALL="/usr/bin/install -p" %check %make_check %files %license COPYING %doc README.md %changelog * Fri Aug 01 2025 Patrick Laimbock - 0.1.3-1 - initial release for F42