Mageia Bugzilla – Attachment 12615 Details for
Bug 28771
apfs-fuse - A read-only FUSE driver for Apple's APFS; NEW PKG REQUEST
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Proposal spec file for this package
apfs-fuse.spec (text/plain), 1.58 KB, created by
Kristoffer Grundström
on 2021-04-13 03:03:51 CEST
(
hide
)
Description:
Proposal spec file for this package
Filename:
MIME Type:
Creator:
Kristoffer Grundström
Created:
2021-04-13 03:03:51 CEST
Size:
1.58 KB
patch
obsolete
># Force out of source build >%undefine __cmake_in_source_build > >%global date 20200928 >%global gittag 290028bea888fa80a9389ddeab26b8123c7c9474 >%global short_gittag %(c=%{gittag}; echo ${c:0:7}) > >Name: apfs-fuse >Summary: A read-only FUSE driver for Apple's APFS >Version: %mkrel 1 >Release: 15.%{date}git%{short_gittag}%{?dist} >License: GPLv2+ >URL: https://github.com/sgan81/apfs-fuse >Source0: https://github.com/sgan81/%{name}/archive/%{short_gittag}/%{name}-%{short_gittag}.tar.gz >Source1: https://github.com/lzfse/lzfse/archive/lzfse-1.0.tar.gz >Provides: bundled(lzfse) = 1.0 >Requires: fuse3 >BuildRequires: gcc >BuildRequires: gcc-c++ >BuildRequires: fuse3-devel >BuildRequires: libicu-devel >BuildRequires: libzlib-devel >BuildRequires: libzip-devel >BuildRequires: cmake >BuildRequires: git > >%description >apfs-fuse is a read-only driver for the new Apple File System, APFS. Since >Apple didn't document the disk format, this driver should be considered >experimental. Not all compression methods are supported yet, thus the driver >may return compressed files instead of uncompressed ones. > >%prep >%autosetup -n %{name}-%{gittag} -S git >cd 3rdparty >rmdir lzfse >tar zxf %{SOURCE1} >mv lzfse-* lzfse > >%build >%cmake -DBUILD_SHARED_LIBS:BOOL=OFF >%cmake_build > >%install >mkdir -p %{buildroot}/%{_bindir} >cp -a %{_vpath_builddir}/apfs-* %{buildroot}/%{_bindir}/ > >mkdir -p %{buildroot}/%{_sbindir} >ln -sr %{buildroot}/%{_bindir}/apfs-fuse %{buildroot}/%{_sbindir}/mount.apfs > >%files >%{_bindir}/apfs-* >%{_sbindir}/mount.apfs >%doc README.md >%license LICENSE
# Force out of source build %undefine __cmake_in_source_build %global date 20200928 %global gittag 290028bea888fa80a9389ddeab26b8123c7c9474 %global short_gittag %(c=%{gittag}; echo ${c:0:7}) Name: apfs-fuse Summary: A read-only FUSE driver for Apple's APFS Version: %mkrel 1 Release: 15.%{date}git%{short_gittag}%{?dist} License: GPLv2+ URL: https://github.com/sgan81/apfs-fuse Source0: https://github.com/sgan81/%{name}/archive/%{short_gittag}/%{name}-%{short_gittag}.tar.gz Source1: https://github.com/lzfse/lzfse/archive/lzfse-1.0.tar.gz Provides: bundled(lzfse) = 1.0 Requires: fuse3 BuildRequires: gcc BuildRequires: gcc-c++ BuildRequires: fuse3-devel BuildRequires: libicu-devel BuildRequires: libzlib-devel BuildRequires: libzip-devel BuildRequires: cmake BuildRequires: git %description apfs-fuse is a read-only driver for the new Apple File System, APFS. Since Apple didn't document the disk format, this driver should be considered experimental. Not all compression methods are supported yet, thus the driver may return compressed files instead of uncompressed ones. %prep %autosetup -n %{name}-%{gittag} -S git cd 3rdparty rmdir lzfse tar zxf %{SOURCE1} mv lzfse-* lzfse %build %cmake -DBUILD_SHARED_LIBS:BOOL=OFF %cmake_build %install mkdir -p %{buildroot}/%{_bindir} cp -a %{_vpath_builddir}/apfs-* %{buildroot}/%{_bindir}/ mkdir -p %{buildroot}/%{_sbindir} ln -sr %{buildroot}/%{_bindir}/apfs-fuse %{buildroot}/%{_sbindir}/mount.apfs %files %{_bindir}/apfs-* %{_sbindir}/mount.apfs %doc README.md %license LICENSE
View Attachment As Raw
Actions:
View
Attachments on
bug 28771
:
12614
| 12615