update to 1.0.5 [release 1.0.5-1mamba;Thu Sep 06 2018]
This commit is contained in:
parent
24cbced67b
commit
f095f271f8
24
libbrotli-1.0-pkgconfig.patch
Normal file
24
libbrotli-1.0-pkgconfig.patch
Normal file
@ -0,0 +1,24 @@
|
||||
diff -Nru libbrotli-1.0.orig/libbrotlidec.pc.in libbrotli-1.0/libbrotlidec.pc.in
|
||||
--- libbrotli-1.0.orig/libbrotlidec.pc.in 2018-09-06 19:26:52.000000000 +0200
|
||||
+++ libbrotli-1.0/libbrotlidec.pc.in 2018-09-06 19:39:26.779968132 +0200
|
||||
@@ -1,7 +1,7 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
-includedir=@includedir@
|
||||
+includedir=@includedir@/brotli/dec
|
||||
|
||||
Name: @PACKAGE_NAME@dec
|
||||
Description: Brotli decoder library
|
||||
diff -Nru libbrotli-1.0.orig/libbrotlienc.pc.in libbrotli-1.0/libbrotlienc.pc.in
|
||||
--- libbrotli-1.0.orig/libbrotlienc.pc.in 2018-09-06 19:26:52.000000000 +0200
|
||||
+++ libbrotli-1.0/libbrotlienc.pc.in 2018-09-06 19:39:12.103898409 +0200
|
||||
@@ -1,7 +1,7 @@
|
||||
prefix=@prefix@
|
||||
exec_prefix=@exec_prefix@
|
||||
libdir=@libdir@
|
||||
-includedir=@includedir@
|
||||
+includedir=@includedir@/brotli/enc
|
||||
|
||||
Name: @PACKAGE_NAME@enc
|
||||
Description: Brotli encoder library
|
95
libbrotli.spec
Normal file
95
libbrotli.spec
Normal file
@ -0,0 +1,95 @@
|
||||
Name: libbrotli
|
||||
Version: 1.0.5
|
||||
Release: 1mamba
|
||||
Summary: A data format library for data streams
|
||||
Group: System/Libraries
|
||||
Vendor: openmamba
|
||||
Distribution: openmamba
|
||||
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
||||
URL: https://github.com/bagder/libbrotli
|
||||
## GITSOURCE https://github.com/bagder/libbrotli.git libbrotli-1.0
|
||||
Source: https://github.com/google/brotli.git/v%{version}/brotli-%{version}.tar.bz2
|
||||
#Source: https://github.com/bagder/libbrotli.git/libbrotli-%{version}/libbrotli-%{version}.tar.bz2
|
||||
Patch0: libbrotli-1.0-pkgconfig.patch
|
||||
License: MIT
|
||||
## AUTOBUILDREQ-BEGIN
|
||||
BuildRequires: glibc-devel
|
||||
## AUTOBUILDREQ-END
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
||||
|
||||
%description
|
||||
A data format library for data streams.
|
||||
|
||||
%package devel
|
||||
Group: Development/Libraries
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
Requires: pkg-config
|
||||
|
||||
%description devel
|
||||
This package contains libraries and header files for developing applications that use %{name}.
|
||||
|
||||
%package tools
|
||||
Group: System/Tools
|
||||
Summary: Tools for %{name}
|
||||
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
|
||||
|
||||
%description tools
|
||||
This package contains tools that use %{name}.
|
||||
|
||||
%debug_package
|
||||
|
||||
%prep
|
||||
%setup -q -n brotli-%{version}
|
||||
#% patch0 -p1
|
||||
|
||||
%build
|
||||
./bootstrap
|
||||
%configure
|
||||
%make
|
||||
|
||||
%install
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
%makeinstall
|
||||
|
||||
%clean
|
||||
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libbrotlidec.so.*
|
||||
%{_libdir}/libbrotlienc.so.*
|
||||
%{_libdir}/libbrotlicommon.so.*
|
||||
|
||||
%files devel
|
||||
%defattr(-,root,root)
|
||||
%dir %{_includedir}/brotli
|
||||
%{_includedir}/brotli/*.h
|
||||
%{_libdir}/libbrotlidec.a
|
||||
%{_libdir}/libbrotlidec.la
|
||||
%{_libdir}/libbrotlidec.so
|
||||
%{_libdir}/libbrotlienc.a
|
||||
%{_libdir}/libbrotlienc.la
|
||||
%{_libdir}/libbrotlienc.so
|
||||
%{_libdir}/libbrotlicommon.a
|
||||
%{_libdir}/libbrotlicommon.la
|
||||
%{_libdir}/libbrotlicommon.so
|
||||
%{_libdir}/pkgconfig/libbrotlicommon.pc
|
||||
%{_datadir}/doc/brotli/README
|
||||
%{_libdir}/pkgconfig/libbrotlidec.pc
|
||||
%{_libdir}/pkgconfig/libbrotlienc.pc
|
||||
%doc README README.md
|
||||
|
||||
%files tools
|
||||
%defattr(-,root,root)
|
||||
%{_bindir}/brotli
|
||||
|
||||
%changelog
|
||||
* Thu Sep 06 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.5-1mamba
|
||||
- update to 1.0.5
|
||||
|
||||
* Thu Sep 06 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0-1mamba
|
||||
- package created using the webbuild interface
|
Loading…
Reference in New Issue
Block a user