Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.2:Staging:A
brotli
brotli.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File brotli.spec of Package brotli
# # spec file for package brotli # # Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany. # Copyright (c) 2017 Buschmann <buschmann23@opensuse.org> # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define sover 1 Name: brotli Version: 1.0.7 Release: 0 Summary: Lossless Compression Algorithm License: MIT Group: Productivity/Archiving/Compression URL: https://github.com/google/brotli Source: %url/archive/v%version.tar.gz#/%name-%version.tar.gz Source99: baselibs.conf Patch: brotli_Verbose-CLI+Shared-Brotli.patch Patch1: brotli_Ensure-decompression-consumes-all-input.patch BuildRequires: cmake >= 2.8.6 BuildRequires: gcc-c++ BuildRequires: gzip BuildRequires: pkg-config %description This package contains the brotli command line utility to compress and decompress data with the brotli compression algorithm. Brotli is a generic-purpose lossless compression algorithm that compresses data using a combination of a modern variant of the LZ77 algorithm, Huffman coding and 2nd order context modeling, with a compression ratio comparable to the best currently available general-purpose compression methods. It is similar in speed with deflate but offers more dense compression. The specification of the Brotli Compressed Data Format is defined in RFC 7932. %package -n libbrotlicommon%sover Summary: Common Library for Brotli Compression Group: System/Libraries %description -n libbrotlicommon%sover Common library for the Brotli general purpose lossless data compression algorithm. %package -n libbrotlidec%sover Summary: Library for Brotli Decompression Group: System/Libraries %description -n libbrotlidec%sover Decompression library for the Brotli general purpose lossless data compression algorithm. The specification of the Brotli Compressed Data Format is defined in RFC 7932. %package -n libbrotlienc%sover Summary: Library for Brotli Compression Group: System/Libraries %description -n libbrotlienc%sover Compression library for the Brotli general purpose lossless data compression algorithm. The specification of the Brotli Compressed Data Format is defined in RFC 7932. %package -n libbrotli-devel Summary: Development and Header Files for Brotli Compression Group: Development/Libraries/C and C++ Requires: libbrotlicommon%sover = %version-%release Requires: libbrotlidec%sover = %version-%release Requires: libbrotlienc%sover = %version-%release Provides: libbrotlicommon-devel = %version-%release Provides: libbrotlidec-devel = %version-%release Provides: libbrotlienc-devel = %version-%release Obsoletes: libbrotlicommon-devel < %version-%release Obsoletes: libbrotlidec-devel < %version-%release Obsoletes: libbrotlienc-devel < %version-%release %description -n libbrotli-devel Development and headers files for (de)compressing data using the Brotli general purpose lossless compression algorithm. The specification of the Brotli Compressed Data Format is defined in RFC 7932. %prep %autosetup -p1 %build %cmake %make_jobs %install %cmake_install rm %buildroot/%_libdir/libbrotli*-static.a mkdir -p "%buildroot/%_mandir/man1" "%buildroot/%_mandir/man3" install -pm0644 docs/*.1 "%buildroot/%_mandir/man1/" install -pm0644 docs/*.3 "%buildroot/%_mandir/man3/" %check %ctest %post -n libbrotlicommon%sover -p /sbin/ldconfig %postun -n libbrotlicommon%sover -p /sbin/ldconfig %post -n libbrotlidec%sover -p /sbin/ldconfig %postun -n libbrotlidec%sover -p /sbin/ldconfig %post -n libbrotlienc%sover -p /sbin/ldconfig %postun -n libbrotlienc%sover -p /sbin/ldconfig %files %defattr(-,root,root) %license LICENSE %_bindir/brotli %_mandir/man1/brotli.1* %files -n libbrotlicommon%sover %defattr(-,root,root) %_libdir/libbrotlicommon.so.* %files -n libbrotlidec%sover %defattr(-,root,root) %_libdir/libbrotlidec.so.* %files -n libbrotlienc%sover %defattr(-,root,root) %_libdir/libbrotlienc.so.* %files -n libbrotli-devel %defattr(-,root,root) %_includedir/brotli/ %_libdir/libbrotlicommon.so %_libdir/libbrotlidec.so %_libdir/libbrotlienc.so %_libdir/pkgconfig/*.pc %_mandir/man3/*.3* %changelog
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor