From f96c48fc4620c104b343443abf61872282d6c262 Mon Sep 17 00:00:00 2001
From: mcepl <>
Date: Apr 22 2025 16:58:21 +0000
Subject: Update fuse-zip to version 0.7.2+git.1733961742.3715770 / rev 1 via SR 1271284


https://build.opensuse.org/request/show/1271284
by user mcepl + anag_factory
Used by vifm right now, and can be used by many more packages in future.

---

diff --git a/.files b/.files
new file mode 100644
index 0000000..ff7ef95
Binary files /dev/null and b/.files differ
diff --git a/.meta b/.meta
new file mode 100644
index 0000000..f70008d
--- /dev/null
+++ b/.meta
@@ -0,0 +1,11 @@
+<package name="fuse-zip" project="openSUSE:Factory">
+  <title>File System to Navigate, Extract, Create and Modify ZIP Archives</title>
+  <description>With fuse-zip you really can work with ZIP archives as real directories. Unlike
+KIO or Gnome VFS, it can be used in any application without modifications.
+Unlike other FUSE filesystems, only fuse-zip provides write support to ZIP
+archives. Also, fuse-zip is faster that all known implementations on large
+archives with many files.
+
+</description>
+  <url>http://code.google.com/p/fuse-zip/</url>
+</package>
diff --git a/.rev b/.rev
new file mode 100644
index 0000000..c1cc846
--- /dev/null
+++ b/.rev
@@ -0,0 +1,10 @@
+<revisionlist>
+  <revision rev="1" vrev="1">
+    <srcmd5>d75e79ef37bb8d214cd2f43763a3503c</srcmd5>
+    <version>0.7.2+git.1733961742.3715770</version>
+    <time>1745335778</time>
+    <user>anag_factory</user>
+    <comment>Used by vifm right now, and can be used by many more packages in future.</comment>
+    <requestid>1271284</requestid>
+  </revision>
+</revisionlist>
diff --git a/_service b/_service
new file mode 100644
index 0000000..9b6a116
--- /dev/null
+++ b/_service
@@ -0,0 +1,13 @@
+<services>
+  <service name="tar_scm" mode="manual">
+    <param name="url">https://bitbucket.org/agalanin/fuse-zip.git</param>
+    <param name="scm">git</param>
+    <param name="versionprefix">0.7.2+git</param>
+    <param name="changesgenerate">enable</param>
+  </service>
+  <service mode="manual" name="recompress">
+    <param name="file">*.tar</param>
+    <param name="compression">xz</param>
+  </service>
+  <service name="set_version" mode="manual" />
+</services>
diff --git a/_servicedata b/_servicedata
new file mode 100644
index 0000000..869a42f
--- /dev/null
+++ b/_servicedata
@@ -0,0 +1,4 @@
+<servicedata>
+<service name="tar_scm">
+                <param name="url">https://bitbucket.org/agalanin/fuse-zip.git</param>
+              <param name="changesrevision">3715770db5dc34b5035ec9904ca091aeeb473af8</param></service></servicedata>
\ No newline at end of file
diff --git a/fuse-zip-0.7.2+git.1733961742.3715770.tar.xz b/fuse-zip-0.7.2+git.1733961742.3715770.tar.xz
new file mode 120000
index 0000000..e83bc81
--- /dev/null
+++ b/fuse-zip-0.7.2+git.1733961742.3715770.tar.xz
@@ -0,0 +1 @@
+/ipfs/bafybeiedmg66hxgjmtmrhjnxxbygi5pkpfuoc2y3k7tizmnwah32voayqa
\ No newline at end of file
diff --git a/fuse-zip.changes b/fuse-zip.changes
new file mode 100644
index 0000000..a93f8a7
--- /dev/null
+++ b/fuse-zip.changes
@@ -0,0 +1,116 @@
+-------------------------------------------------------------------
+Sun Apr 20 20:22:52 UTC 2025 - Matej Cepl <mcepl@cepl.eu>
+
+- Update to version 0.7.2+git.1733961742.3715770:
+  * README: change character case in headings, add reference to INSTALL file
+  * fix setting read-only flag in DOS permissions field, add tests for permissions
+  * fix st_nlink for directories
+  * fix st_nlink for hardlinked files
+  * add more license headers
+  * add links to distributions and known uses
+  * add editorconfig file
+  * update tests for FUSE 2.9.9
+  * update wiki suprepo
+  * version 0.7.2
+
+-------------------------------------------------------------------
+Fri Apr  6 12:06:27 UTC 2018 - lazy.kent@opensuse.org
+
+- Update to 0.4.5.
+  * Print error message and exit on nonexistent file in read-only
+    mode.
+  * Check return value of chdir().
+  * Fixed errors found by static code analysis.
+- Add BuildRequires: pkgconfig(bzip2).
+- Changes in 0.4.3.
+  * License changed to GPLv3 or later.
+  * Support mknod() system call.
+  * Fixed out of bounds write on sparse file.
+  * Fixed timestamp and file attribute fields saving into archive.
+
+-------------------------------------------------------------------
+Wed Mar  2 13:46:10 UTC 2016 - lazy.kent@opensuse.org
+
+- Update to 0.4.2.
+  * Added mkdir -p to enable custom "prefix".
+  *  Properly handle ZIP_SOURCE_SUPPORTS call introduced in libzip
+     1.0.
+- Drop fuse-zip-Makefile-prefix.patch: fixed upstream.
+
+-------------------------------------------------------------------
+Wed Feb  3 10:41:43 UTC 2016 - lazy.kent@opensuse.org
+
+- Update to 0.4.1.
+  * Fixed problem with subdir module support.
+  * Applied Makefile conventions from GNU Coding Standards.
+- Drop fuse-zip-0.2.13-nostrip.patch: fixed upstream.
+- Add fuse-zip-Makefile-prefix.patch: add mkdir -p to enable custom
+  "prefix" location when running make install.
+- Fix build dependensies: pkgconfig(libzip) >= 0.11.2.
+- Update the URL tag.
+
+-------------------------------------------------------------------
+Wed Jan 15 19:04:25 UTC 2014 - lazy.kent@opensuse.org
+
+- Update to 0.4.0.
+  * Symbolic links.
+  * UNIX file permissions and owner info.
+  * DOS file attributes.
+  * Creation/access time.
+
+-------------------------------------------------------------------
+Mon Dec  9 18:14:04 UTC 2013 - lazy.kent@opensuse.org
+
+- Update to 0.3.2.
+  * No changes for Linux users.
+
+-------------------------------------------------------------------
+Sat Dec  7 17:32:12 UTC 2013 - lazy.kent@opensuse.org
+
+- Update to 0.3.1.
+  * Fixed compilation problems.
+  * Fixed memory reservation.
+- Drop fuse-zip-0.3.0-linker.patch (fixed upstream).
+
+-------------------------------------------------------------------
+Sat Jun 29 06:35:24 UTC 2013 - lazy.kent@opensuse.org
+
+- Update to 0.3.0.
+  * ZIP64 support.
+  * Relative and absolute paths support.
+- BuildRequires libzip >= 0.11 (Zip64 support).
+- Drop fuse-zip-0.2.13-libzip.patch and
+  fuse-zip-0.2.13-libzip-0.10.patch (fixed upstream).
+- Use pkgconfig(*) as build dependencies.
+
+-------------------------------------------------------------------
+Wed Aug 29 16:17:12 UTC 2012 - lazy.kent@opensuse.org
+
+- Add fuse-zip-0.2.13-libzip-0.10.patch: fix compilation against
+  libzip-0.10.
+
+-------------------------------------------------------------------
+Mon Nov  7 10:12:23 UTC 2011 - lazy.kent@opensuse.org
+
+- Corrected License tag.
+- Use full URL as a source.
+- spec clean up.
+
+-------------------------------------------------------------------
+Mon Apr  4 11:00:37 UTC 2011 - lazy.kent@opensuse.org
+
+- patch to locate libzip header file
+- added LICENSE to docs
+
+-------------------------------------------------------------------
+Mon Dec 27 02:17:45 UTC 2010 - lazy.kent@opensuse.org
+
+- update to 0.2.13
+- nostrip patch refresh
+- patch to fix "as-needed" issue
+
+-------------------------------------------------------------------
+Sun Sep 12 14:09:17 UTC 2010 - lazy.kent.suse@gmail.com
+
+- initial package created - 0.2.12
+
diff --git a/fuse-zip.spec b/fuse-zip.spec
new file mode 100644
index 0000000..703c54b
--- /dev/null
+++ b/fuse-zip.spec
@@ -0,0 +1,70 @@
+#
+# spec file for package fuse-zip
+#
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+#
+# All modifications and additions to the file contributed by third parties
+# remain the property of their copyright owners, unless otherwise agreed
+# upon. The license for this file, and modifications and additions to the
+# file, is the same license as for the pristine package itself (unless the
+# license for the pristine package is not an Open Source License, in which
+# case the license is the MIT License). An "Open Source License" is a
+# license that conforms to the Open Source Definition (Version 1.9)
+# published by the Open Source Initiative.
+
+# Please submit bugfixes or comments via http://bugs.opensuse.org/
+#
+
+
+Name:           fuse-zip
+Version:        0.7.2+git.1733961742.3715770
+Release:        0
+Summary:        File System to Navigate, Extract, Create and Modify ZIP Archives
+License:        GPL-3.0-or-later
+Group:          System/Filesystems
+URL:            https://bitbucket.org/agalanin/fuse-zip
+Source0:        %{name}-%{version}.tar.xz
+BuildRequires:  gcc-c++
+BuildRequires:  pkgconfig
+BuildRequires:  pkgconfig(bzip2)
+BuildRequires:  pkgconfig(fuse)
+BuildRequires:  pkgconfig(libzip) >= 0.11.2
+BuildRequires:  pkgconfig(zlib)
+BuildRequires:  tcl >= 8.6
+BuildRequires:  tclx >= 8.4
+# BuildRequires:  blt30 UNAVAILABLE IN OPENSUSE
+BuildRequires:  tcllib
+BuildRequires:  zip
+BuildRequires:  unzip
+BuildRequires:  fuse
+
+Requires:       fuse
+
+%description
+With fuse-zip you really can work with ZIP archives as real directories.
+Unlike KIO or Gnome VFS, it can be used in any application without
+modifications.
+Unlike other FUSE filesystems, only fuse-zip provides write support to
+ZIP archives. Also, fuse-zip is faster that all known implementations on
+large archives with many files.
+
+%prep
+%setup -q
+
+%build
+make %{?_smp_mflags} CXXFLAGS="%{optflags}"
+
+%install
+%make_install prefix=%{_prefix} DESTDIR=%{buildroot}
+rm -rf %{buildroot}%{_datadir}/doc/%{name}/
+
+%check
+make %{?_smp_mflags} CXXFLAGS="%{optflags}" -C tests/whitebox test
+
+%files
+%license LICENSE
+%doc changelog README.md
+%{_bindir}/%{name}
+%{_mandir}/man?/*
+
+%changelog