## START: Set by rpmautospec ## (rpmautospec version 0.7.3) ## RPMAUTOSPEC: autorelease, autochangelog %define autorelease(e:s:pb:n) %{?-p:0.}%{lua: release_number = 1; base_release_number = tonumber(rpm.expand("%{?-b*}%{!?-b:1}")); print(release_number + base_release_number - 1); }%{?-e:.%{-e*}}%{?-s:.%{-s*}}%{!?-n:%{?dist}} ## END: Set by rpmautospec Name: hfsplus Version: 1.0.4p17 Release: %autorelease Summary: Tools to access HFS+ formatted volumes License: GPL-2.0-or-later #URL: Source0: https://deb.debian.org/debian/pool/main/h/hfsplus/hfsplus_1.0.4.orig.tar.gz # Taken from: https://deb.debian.org/debian/pool/main/h/hfsplus/hfsplus_1.0.4-17.debian.tar.xz Patch0: 120137_ftbfs_hppa_gcc3.0.dpatch Patch1: 147838_sigbus_sparc.dpatch Patch2: 231270_hpmount_destroys_hfs_volume_headers.dpatch Patch3: 277810_ftbfs_include_gcc3.4.dpatch Patch4: 286366_ftbfs_amd64_gcc4.0.dpatch Patch5: 300289_ftbfs_ppc64_gcc4.0.dpatch Patch6: 334016_broken_bswab_inc_macros.dpatch Patch7: 396180_remove_unused_header.dpatch Patch8: 99_types.dpatch Patch9: remove_duplicate_function_definitions.patch Patch10: 548257_use_printf_macros.patch Patch11: dont_overwrite_cflags.patch Patch12: 957336_ftbfs-gcc10.patch BuildRequires: autoconf automake libtool gcc %global upstreamversion %{gsub %version p.* %{quote:%{nil}}} %description HFS+ is a modernized version of Apple Computers HFS Filesystem. Nowadays, it is widely used with more recent versions of MacOS. hfsplus consists of a library and a set of tools that allow access to HFS+ volumes. %prep %autosetup -p1 -n %{name}-%{upstreamversion} %build autoreconf -svfi %configure --disable-static %make_build %install %make_install rm %{?buildroot}%{_libdir}/libhfsp.so %files %license COPYING %doc README doc/*.html %{_bindir}/hp{cd,copy,fsck,ls,mkdir,mount,pwd,rm,umount} %{_libdir}/libhfsp.so.* %changelog ## START: Generated by rpmautospec * Wed Dec 04 2024 John Doe - 1.0.4p17-1 - Uncommitted changes ## END: Generated by rpmautospec