Add package libdeflate version 1.9 (#4651)

* libdeflate: Updating signature file
* libdeflate: Add cgmanifest entry
* libdeflate: Removing additional blank line
* libdeflate: Update license map
This commit is contained in:
suresh-thelkar 2023-02-03 12:03:38 +05:30 committed by GitHub
parent 30abd27dad
commit 7d78efd60e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 88 additions and 1 deletions

View File

@ -0,0 +1,5 @@
{
"Signatures": {
"libdeflate-1.9.tar.gz": "a537ab6125c226b874c02b166488b326aece954930260dbf682d88fc339137e3"
}
}

View File

@ -0,0 +1,71 @@
Summary: Fast implementation of DEFLATE, gzip, and zlib
Name: libdeflate
Version: 1.9
Release: 4%{?dist}
License: MIT
Vendor: Microsoft Corporation
Distribution: Mariner
URL: https://github.com/ebiggers/libdeflate
Source0: https://github.com/ebiggers/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: gcc
BuildRequires: make
%description
libdeflate is a library for fast, whole-buffer DEFLATE-based compression and
decompression, supporting DEFLATE, gzip, and zlib.
%package devel
Summary: Development files for libdeflate
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Development files for libdeflate.
%package utils
Summary: Binaries from libdeflate
Requires: %{name}%{?_isa} = %{version}-%{release}
%description utils
Binaries from libdeflate.
%prep
%autosetup
sed -r -i 's/-O2 -fomit-frame-pointer -std=c99/-std=c99/' Makefile
%build
%make_build CFLAGS="%{optflags} -fpic -pie -g" USE_SHARED_LIB=1 LIBDIR=%{_libdir} PREFIX=%{_prefix}
%install
%make_install CFLAGS="%{optflags} -fpic -pie -g" USE_SHARED_LIB=1 LIBDIR=%{_libdir} PREFIX=%{_prefix}
rm %{buildroot}/%{_libdir}/*.a
%files
%doc NEWS.md README.md
%license COPYING
%{_libdir}/libdeflate.so.0
%files devel
%{_includedir}/libdeflate.h
%{_libdir}/libdeflate.so
%{_libdir}/pkgconfig/*
%files utils
%{_bindir}/libdeflate-gzip
%{_bindir}/libdeflate-gunzip
%changelog
* Wed Jan 18 2023 Suresh Thelkar <sthelkar@microsoft.com> - 1.9-4
- Initial CBL-Mariner import from Fedora 36 (license: MIT)
- License verified
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> 1.9-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
* Thu Jan 13 2022 Nick Black <dankamongmen@gmail.com> 1.9-2
- install new pkgconfig file
* Thu Jan 13 2022 Nick Black <dankamongmen@gmail.com> 1.9-1
- new upstream 1.9
* Tue Nov 23 2021 Nick Black <dankamongmen@gmail.com> 1.8-1
- Initial import (#2023061)

File diff suppressed because one or more lines are too long

View File

@ -570,6 +570,7 @@
"libdbi-drivers",
"libdbusmenu",
"libdc1394",
"libdeflate",
"libdmx",
"libdnf",
"libdrm",

View File

@ -8666,6 +8666,16 @@
}
}
},
{
"component": {
"type": "other",
"other": {
"name": "libdeflate",
"version": "1.9",
"downloadUrl": "https://github.com/ebiggers/libdeflate/archive/v1.9.tar.gz"
}
}
},
{
"component": {
"type": "other",