Package squashfs-tools: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 | Name: squashfs-tools Version: 4.6.1 Release: alt1 Summary: squashfs support License: GPLv2 Group: System/Kernel and hardware Url: https://github.com/plougher/squashfs-tools Source: %name-%version.tar Patch0: %name-%version-%release.patch BuildRequires: zlib-devel liblzma-devel liblzo2-devel libzstd-devel Provides: squashfsprogs = %version-%release Obsoletes: squashfsprogs %description Squashfs is a compressed read-only filesystem for Linux. Squashfs is intended for general read-only filesystem use, for archival use (i.e. in cases where a .tar.gz file may be used), and in constrained block device/memory systems (e.g. embedded systems) where low overhead is needed. This package contains the utilities to (un)compress squashfs images. %prep %setup %patch0 -p1 %build export CFLAGS="%optflags" pushd squashfs-tools %make_build XZ_SUPPORT=1 LZO_SUPPORT=1 ZSTD_SUPPORT=1 COMP_DEFAULT=xz popd %install pushd manpages install -pDm755 mksquashfs.1 %buildroot%_man1dir/mksquashfs.1 install -pDm755 unsquashfs.1 %buildroot%_man1dir/unsquashfs.1 install -pDm755 sqfstar.1 %buildroot%_man1dir/sqfstar.1 install -pDm755 sqfscat.1 %buildroot%_man1dir/sqfscat.1 popd pushd squashfs-tools install -pDm755 mksquashfs %buildroot/sbin/mksquashfs install -pDm755 unsquashfs %buildroot/%_bindir/unsquashfs install -pDm755 sqfstar %buildroot/%_bindir/sqfstar install -pDm755 sqfscat %buildroot/%_bindir/sqfscat ln -sf mksquashfs %buildroot/sbin/mkfs.squashfs ln -sf ../../sbin/mksquashfs %buildroot%_bindir/mksquashfs popd %files %doc README* CHANGES USAGE* ACTIONS-README /sbin/* %_bindir/* %_man1dir/* %changelog * Fri May 12 2023 Anton Midyukov <antohami@altlinux.org> 4.6.1-alt1 - 4.6.1 * Tue Mar 28 2023 Anton Midyukov <antohami@altlinux.org> 4.5.1-alt2 - pack %_bindir/sqfstar, %_bindir/sqfscat, man pages - update URL * Thu Mar 24 2022 Anton Farygin <rider@altlinux.ru> 4.5.1-alt1 - 4.5.1 * Sat Sep 25 2021 Anton Farygin <rider@altlinux.ru> 4.5-alt2.19fcc936 - update to upstream git 19fcc936 (Fixes: CVE-2021-40153, CVE-2021-41072) * Mon Jul 26 2021 Anton Farygin <rider@altlinux.ru> 4.5-alt1 - 4.5 * Sat Feb 27 2021 Anton Farygin <rider@altlinux.org> 4.4-alt2 - updated to upstream version 4.4-git.1 to fix build with gcc-10 * Tue Nov 05 2019 Anton Farygin <rider@altlinux.ru> 4.4-alt1 - 4.4 (fixes: CVE-2015-4645, CVE-2015-4646) * Wed Aug 28 2019 Aleksei Nikiforov <darktemplar@altlinux.org> 4.3-alt4.e38956b - Fixed build flags and debuginfo. * Wed Jan 09 2019 Lenar Shakirov <snejok@altlinux.ru> 4.3-alt3.e38956b - Add zstd support (commit e38956b) - libzstd-devel added to BuildRequires * Tue Jun 17 2014 Anton Farygin <rider@altlinux.ru> 4.3-alt2 - upstream fix for 32bit memory calculation on 64bit (or pae) kernel (closes: #30103) - upstream fix for working without -mem options and/or /proc - cleanup spec * Fri May 30 2014 Anton Farygin <rider@altlinux.ru> 4.3-alt1 - new release * Sun Apr 27 2014 Anton Farygin <rider@altlinux.ru> 4.2-alt1.aae0aff4 - updated from upstream git (stable branch) - renamed to upstream name - squashfs-tools * Fri Apr 01 2011 Anton Farygin <rider@altlinux.ru> 4.2-alt1 - new version - patch0 removed (included to mainstream) * Thu May 28 2009 Anton Farygin <rider@altlinux.ru> 4.0-alt1 - new version * Tue Sep 02 2008 Anton Farygin <rider@altlinux.ru> 3.4-alt1 - new version * Tue Aug 05 2008 Anton Farygin <rider@altlinux.ru> 3.3-alt4 - removed lzma support * Tue Nov 06 2007 Anton Farygin <rider@altlinux.ru> 3.3-alt1 - new version * Tue Jan 16 2007 Anton Farygin <rider@altlinux.ru> 3.2-alt2 - unsquashfs moved to %_bindir - fixed description * Sun Jan 14 2007 Anton Farygin <rider@altlinux.ru> 3.2-alt1 - new version - removed kernel-feat-squashfs subpackage * Tue Nov 07 2006 Anton Farygin <rider@altlinux.ru> 3.1-alt2.r2 - unsquashfs added to package * Mon Oct 30 2006 Anton Farygin <rider@altlinux.ru> 3.1-alt1.r2 - updated to 3.1-r2 - removed kernel 2.4 patch - use patch for 2.6.18 kernel * Wed Sep 14 2005 Anton Farygin <rider@altlinux.ru> 2.2-alt1.r2 - updated to 2.2-r2 - use patch for 2.6.13 kernel * Wed Aug 03 2005 Anton Farygin <rider@altlinux.ru> 2.2-alt1 - updated to new version * Thu Apr 14 2005 Anton Farygin <rider@altlinux.ru> 2.1-alt2.r2 - mksquashfs: fixed target file permissions * Wed Feb 09 2005 Anton Farygin <rider@altlinux.ru> 2.1-alt1.r2 - new version * Thu May 20 2004 Alexey Morozov <morozov@altlinux.org> 1.3r3-alt2 - Initial build. * Mon Mar 29 2004 Anton Farygin <rider@altlinux.ru> 1.3-alt1 - first build |