Jan Engelhardt 2018-03-05 19:31:03 +00:00 committed by Git OBS Bridge
parent 4fc93c27ff
commit 7dc1fb76e3
4 changed files with 35 additions and 26 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:c2cf2a16646b44771a4109bb21218c8e2d952babb827796eb8a800c1f94b7422
size 23736359

3
brotli-1.0.3.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7948154166ef8556f8426a4ede219aaa98a81a5baffe1f7cf2523fa67d59cd1c
size 23815300

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Mon Mar 5 19:29:33 UTC 2018 - jengelh@inai.de
- Update to new upstream release 1.0.3
* New "Large Window Brotli" feature
* New dictionary generator
-------------------------------------------------------------------
Wed Jan 3 20:25:21 UTC 2018 - jengelh@inai.de

View File

@ -1,6 +1,7 @@
#
# spec file for package brotli
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2017 Buschmann <buschmann23@opensuse.org>
#
# All modifications and additions to the file contributed by third parties
@ -15,21 +16,22 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
%define _soname 1
%define sover 1
Name: brotli
Version: 1.0.2
Version: 1.0.3
Release: 0
License: MIT
Summary: Lossless Compression Algorithm
Url: https://github.com/google/brotli
License: MIT
Group: Productivity/Archiving/Compression
Url: https://github.com/google/brotli
Source0: https://github.com/google/brotli/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: cmake >= 2.8.6
BuildRequires: gcc-c++
BuildRequires: pkg-config
BuildRequires: gzip
BuildRequires: pkg-config
%description
This package contains the brotli command line utility to compress and decompress data with the brotli compression algorithm.
@ -40,27 +42,27 @@ currently available general-purpose compression methods. It is similar in speed
The specification of the Brotli Compressed Data Format is defined in RFC 7932.
%package -n libbrotlicommon%{_soname}
Summary: Common Library for Brotli Compression
Group: System/Libraries
%package -n libbrotlicommon%{sover}
Summary: Common Library for Brotli Compression
Group: System/Libraries
%description -n libbrotlicommon%{_soname}
%description -n libbrotlicommon%{sover}
Common library for the Brotli general purpose lossless data compression algorithm.
%package -n libbrotlidec%{_soname}
%package -n libbrotlidec%{sover}
Summary: Library for Brotli Decompression
Group: System/Libraries
%description -n libbrotlidec%{_soname}
%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%{_soname}
%package -n libbrotlienc%{sover}
Summary: Library for Brotli Compression
Group: System/Libraries
%description -n libbrotlienc%{_soname}
%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.
@ -68,7 +70,7 @@ 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: libbrotlienc%{_soname} = %{version}-%{release}
Requires: libbrotlienc%{sover} = %{version}-%{release}
Provides: libbrotlicommon-devel = %version-%release
Provides: libbrotlidec-devel = %version-%release
Provides: libbrotlienc-devel = %version-%release
@ -110,14 +112,14 @@ done
cd build
make test
%post -n libbrotlicommon%{_soname} -p /sbin/ldconfig
%postun -n libbrotlicommon%{_soname} -p /sbin/ldconfig
%post -n libbrotlicommon%{sover} -p /sbin/ldconfig
%postun -n libbrotlicommon%{sover} -p /sbin/ldconfig
%post -n libbrotlidec%{_soname} -p /sbin/ldconfig
%postun -n libbrotlidec%{_soname} -p /sbin/ldconfig
%post -n libbrotlidec%{sover} -p /sbin/ldconfig
%postun -n libbrotlidec%{sover} -p /sbin/ldconfig
%post -n libbrotlienc%{_soname} -p /sbin/ldconfig
%postun -n libbrotlienc%{_soname} -p /sbin/ldconfig
%post -n libbrotlienc%{sover} -p /sbin/ldconfig
%postun -n libbrotlienc%{sover} -p /sbin/ldconfig
%files
%defattr(0644,root,root,755)
@ -125,15 +127,15 @@ make test
%attr(755,root,root) /usr/bin/brotli
%{_mandir}/man1/brotli.1%{ext_man}
%files -n libbrotlicommon%{_soname}
%files -n libbrotlicommon%{sover}
%defattr(0644,root,root,755)
%{_libdir}/libbrotlicommon.so.*
%files -n libbrotlidec%{_soname}
%files -n libbrotlidec%{sover}
%defattr(0644,root,root,755)
%{_libdir}/libbrotlidec.so.*
%files -n libbrotlienc%{_soname}
%files -n libbrotlienc%{sover}
%defattr(0644,root,root,755)
%{_libdir}/libbrotlienc.so.*