install minizip headers for chromium [release 1.2.8-2mamba;Sun Dec 11 2016]

This commit is contained in:
Silvan Calarco 2024-01-06 06:15:42 +01:00
parent c725cb9526
commit 17caaa98a9
1 changed files with 34 additions and 29 deletions

View File

@ -1,6 +1,6 @@
Name: libz
Version: 1.2.8
Release: 1mamba
Release: 2mamba
Summary: The zlib compression and decompression library
Group: System/Libraries
Vendor: openmamba
@ -114,21 +114,23 @@ ln -sf ../../%{_lib}/{version} %{buildroot}%{_libdir}/
cd contrib/minizip
install -D -m0755 minizip %{buildroot}%{_bindir}/minizip
install -D -m0755 miniunz %{buildroot}%{_bindir}/miniunz
install -d -m0755 %{buildroot}%{_includedir}/minizip
cp *.h %{buildroot}%{_includedir}/minizip/
cd ../..
%ifarch x86_64_disabled
make clean
CC=%{_target_platform}-gcc \
CFLAGS="%{optflags} -m32" \
CXXLAGS="%{optflags} -m32" \
./configure --prefix=%{_prefix} --libdir=%{_prefix}/lib
make install-libs DESTDIR=%{buildroot}
install -d %{buildroot}/lib
mv %{buildroot}%{_prefix}/lib/* %{buildroot}/lib
ln -sf ../../lib/{version} %{buildroot}%{_prefix}/lib/
#%ifarch x86_64_disabled
#make clean
#CC=%{_target_platform}-gcc \
#CFLAGS="%{optflags} -m32" \
#CXXLAGS="%{optflags} -m32" \
#./configure --prefix=%{_prefix} --libdir=%{_prefix}/lib
#make install-libs DESTDIR=%{buildroot}
#install -d %{buildroot}/lib
#mv %{buildroot}%{_prefix}/lib/* %{buildroot}/lib
#ln -sf ../../lib/{version} %{buildroot}%{_prefix}/lib/
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
@ -139,16 +141,16 @@ ln -sf ../../lib/{version} %{buildroot}%{_prefix}/lib/
%files devel
%dir %{_includedir}/minizip
%doc ChangeLog FAQ README
%files -n minizip
@ -157,19 +159,22 @@ ln -sf ../../lib/{version} %{buildroot}%{_prefix}/lib/
%doc contrib/minizip/MiniZip64_info.txt contrib/minizip/MiniZip64_Changes.txt
%ifarch x86_64_disabled
%files -n lib32-libz
%files -n lib32-libz-devel
#%ifarch x86_64_disabled
#%files -n lib32-libz
#%files -n lib32-libz-devel
* Sun Dec 11 2016 Silvan Calarco <> 1.2.8-2mamba
- install minizip headers for chromium
* Tue Apr 30 2013 Automatic Build System <> 1.2.8-1mamba
- automatic version update by autodist