Accepting request 625290 from Archiving
OBS-URL: https://build.opensuse.org/request/show/625290 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/brotli?expand=0&rev=5
This commit is contained in:
commit
515d296cf4
4
baselibs.conf
Normal file
4
baselibs.conf
Normal file
@ -0,0 +1,4 @@
|
||||
libbrotlicommon1
|
||||
libbrotlidec1
|
||||
libbrotlienc1
|
||||
|
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 25 13:14:15 UTC 2018 - bjorn.lie@gmail.com
|
||||
|
||||
- Add baselibs.conf, build 32bit library support.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Jul 24 07:55:04 UTC 2018 - mpluskal@suse.com
|
||||
|
||||
- Use cmake macros for building and tests
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Jun 28 11:04:51 UTC 2018 - mpluskal@suse.com
|
||||
|
||||
|
@ -27,6 +27,7 @@ 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
|
||||
Source99: baselibs.conf
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
BuildRequires: cmake >= 2.8.6
|
||||
BuildRequires: gcc-c++
|
||||
@ -94,7 +95,7 @@ The specification of the Brotli Compressed Data Format is defined in RFC 7932.
|
||||
-DCMAKE_INSTALL_LIBDIR:PATH="%{_libdir}" \
|
||||
-DBROTLI_DISABLE_TESTS:BOOL=off \
|
||||
-DCMAKE_SKIP_RPATH:BOOL=off
|
||||
make %{?_smp_mflags}
|
||||
%make_jobs
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
@ -111,8 +112,7 @@ done
|
||||
%endif
|
||||
|
||||
%check
|
||||
cd build
|
||||
make test
|
||||
%ctest
|
||||
|
||||
%post -n libbrotlicommon%{sover} -p /sbin/ldconfig
|
||||
%postun -n libbrotlicommon%{sover} -p /sbin/ldconfig
|
||||
|
Loading…
Reference in New Issue
Block a user