libbrotli/libbrotli.spec

105 lines
2.8 KiB
RPMSpec
Raw Normal View History

Name: libbrotli
Version: 1.0.9
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
* Wed Sep 16 2020 Automatic Build System <autodist@mambasoft.it> 1.0.9-1mamba
- automatic version update by autodist
* Sun Oct 28 2018 Automatic Build System <autodist@mambasoft.it> 1.0.7-1mamba
- automatic version update by autodist
* Fri Sep 28 2018 Automatic Build System <autodist@mambasoft.it> 1.0.6-1mamba
- automatic version update by autodist
* 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