Package minizip-ng: 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 | %define rname minizip %define sover 3 %filter_from_provides /^pkgconfig(%rname)/d Name: %rname-ng Version: %sover.0.3 Release: alt1 Summary: Fork of the popular zip manipulation library found in the zlib distribution License: Zlib Group: System/Libraries Url: https://github.com/zlib-ng/%name/ Packager: Nazarov Denis <nenderus@altlinux.org> # https://github.com/zlib-ng/%name/archive/%version/%name-%version.tar.gz Source: %name-%version.tar BuildRequires: bzlib-devel BuildRequires: cmake >= 3.13 BuildRequires: gcc-c++ BuildRequires: liblzma-devel BuildRequires: libssl-devel BuildRequires: libzstd-devel BuildRequires: zlib-devel %description Fork of the popular zip manipulation library found in the zlib distribution. Features: * Creating and extracting zip archives. * Adding and removing entries from zip archives. * Read and write raw zip entry data. * Reading and writing zip archives from memory. * Zlib, BZIP2, and LZMA compression methods. * Password protection through Traditional PKWARE and WinZIP AES encryption. * Buffered streaming for improved I/O performance. * NTFS timestamp support for UTC last modified, last accessed, and creation dates. * Disk split support for splitting zip archives into multiple files. * Preservation of file attributes across file systems. * Follow and store symbolic links. * Unicode filename support through UTF-8 encoding. * Legacy character encoding support CP437, CP932, CP936, CP950. * Turn off compilation of compression, decompression, or encryption. * Windows (Win32 & WinRT), macOS and Linux platform support. * Streaming interface for easy implementation of additional platforms. * Support for Apple's compression library ZLIB implementation. * Zero out local file header information. * Zip/unzip of central directory to reduce size. * Ability to generate and verify CMS signature for each entry. * Recover the central directory if it is corrupt or missing. * Example minizip command line tool. %package -n lib%rname%sover Summary: Fork of the popular zip manipulation library found in the zlib distribution Group: System/Libraries %description -n lib%rname%sover Fork of the popular zip manipulation library found in the zlib distribution. Features: * Creating and extracting zip archives. * Adding and removing entries from zip archives. * Read and write raw zip entry data. * Reading and writing zip archives from memory. * Zlib, BZIP2, and LZMA compression methods. * Password protection through Traditional PKWARE and WinZIP AES encryption. * Buffered streaming for improved I/O performance. * NTFS timestamp support for UTC last modified, last accessed, and creation dates. * Disk split support for splitting zip archives into multiple files. * Preservation of file attributes across file systems. * Follow and store symbolic links. * Unicode filename support through UTF-8 encoding. * Legacy character encoding support CP437, CP932, CP936, CP950. * Turn off compilation of compression, decompression, or encryption. * Windows (Win32 & WinRT), macOS and Linux platform support. * Streaming interface for easy implementation of additional platforms. * Support for Apple's compression library ZLIB implementation. * Zero out local file header information. * Zip/unzip of central directory to reduce size. * Ability to generate and verify CMS signature for each entry. * Recover the central directory if it is corrupt or missing. * Example minizip command line tool. %package -n lib%name-devel Summary: Development files for %name Group: Development/C Provides: libminizip2-devel = %EVR Provides: pkgconfig(%name) = %version Obsoletes: libminizip2-devel <= 2.10.2 Conflicts: lib%rname-devel %description -n lib%name-devel The package contains libraries and header files for developing applications that use %name. %prep %setup %build %cmake -DBUILD_SHARED_LIBS:BOOL=TRUE %cmake_build %install %cmakeinstall_std %files -n lib%rname%sover %doc LICENSE README.md %_libdir/lib%rname.so.* %files -n lib%name-devel %_includedir/*.h %dir %_libdir/cmake/%rname %_libdir/cmake/%rname/*.cmake %_pkgconfigdir/%rname.pc %_libdir/lib%rname.so %changelog * Tue Sep 07 2021 Nazarov Denis <nenderus@altlinux.org> 3.0.3-alt1 - Version 3.0.3 * Mon May 10 2021 Nazarov Denis <nenderus@altlinux.org> 3.0.2-alt1 - Version 3.0.2 * Fri Mar 05 2021 Nazarov Denis <nenderus@altlinux.org> 3.0.1-alt1 - Version 3.0.1 * Sun Feb 14 2021 Nazarov Denis <nenderus@altlinux.org> 3.0.0-alt2 - Remove library suffix from cmake - Remove pkgconfig(%rname) from provides in devel package * Sun Jan 24 2021 Nazarov Denis <nenderus@altlinux.org> 3.0.0-alt1 - Change name to %name - Version 3.0.0 * Wed Oct 28 2020 Nazarov Denis <nenderus@altlinux.org> 2.10.2-alt1 - Version 2.10.2 * Mon Oct 12 2020 Nazarov Denis <nenderus@altlinux.org> 2.9.3-alt1 - Initial build for ALT Linux |