install minizip headers for chromium [release 1.2.8-2mamba;Sun Dec 11 2016]
This commit is contained in:
parent
c725cb9526
commit
17caaa98a9
63
libz.spec
63
libz.spec
@ -1,6 +1,6 @@
|
|||||||
Name: libz
|
Name: libz
|
||||||
Version: 1.2.8
|
Version: 1.2.8
|
||||||
Release: 1mamba
|
Release: 2mamba
|
||||||
Summary: The zlib compression and decompression library
|
Summary: The zlib compression and decompression library
|
||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Vendor: openmamba
|
Vendor: openmamba
|
||||||
@ -114,21 +114,23 @@ ln -sf ../../%{_lib}/libz.so.%{version} %{buildroot}%{_libdir}/libz.so
|
|||||||
cd contrib/minizip
|
cd contrib/minizip
|
||||||
install -D -m0755 minizip %{buildroot}%{_bindir}/minizip
|
install -D -m0755 minizip %{buildroot}%{_bindir}/minizip
|
||||||
install -D -m0755 miniunz %{buildroot}%{_bindir}/miniunz
|
install -D -m0755 miniunz %{buildroot}%{_bindir}/miniunz
|
||||||
|
install -d -m0755 %{buildroot}%{_includedir}/minizip
|
||||||
|
cp *.h %{buildroot}%{_includedir}/minizip/
|
||||||
cd ../..
|
cd ../..
|
||||||
|
|
||||||
%ifarch x86_64_disabled
|
#%ifarch x86_64_disabled
|
||||||
make clean
|
#make clean
|
||||||
CC=%{_target_platform}-gcc \
|
#CC=%{_target_platform}-gcc \
|
||||||
CFLAGS="%{optflags} -m32" \
|
#CFLAGS="%{optflags} -m32" \
|
||||||
CXXLAGS="%{optflags} -m32" \
|
#CXXLAGS="%{optflags} -m32" \
|
||||||
./configure --prefix=%{_prefix} --libdir=%{_prefix}/lib
|
#./configure --prefix=%{_prefix} --libdir=%{_prefix}/lib
|
||||||
%make
|
#%make
|
||||||
make install-libs DESTDIR=%{buildroot}
|
#make install-libs DESTDIR=%{buildroot}
|
||||||
|
#
|
||||||
install -d %{buildroot}/lib
|
#install -d %{buildroot}/lib
|
||||||
mv %{buildroot}%{_prefix}/lib/libz.so.* %{buildroot}/lib
|
#mv %{buildroot}%{_prefix}/lib/libz.so.* %{buildroot}/lib
|
||||||
ln -sf ../../lib/libz.so.%{version} %{buildroot}%{_prefix}/lib/libz.so
|
#ln -sf ../../lib/libz.so.%{version} %{buildroot}%{_prefix}/lib/libz.so
|
||||||
%endif
|
#%endif
|
||||||
|
|
||||||
%clean
|
%clean
|
||||||
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
||||||
@ -139,16 +141,16 @@ ln -sf ../../lib/libz.so.%{version} %{buildroot}%{_prefix}/lib/libz.so
|
|||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
/%{_lib}/libz.so.*
|
/%{_lib}/libz.so.*
|
||||||
%{_mandir}/man3/zlib.*
|
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
|
%{_includedir}/*.h
|
||||||
|
%dir %{_includedir}/minizip
|
||||||
|
%{_includedir}/minizip/*.h
|
||||||
%{_libdir}/libz.a
|
%{_libdir}/libz.a
|
||||||
%{_libdir}/libz.so
|
%{_libdir}/libz.so
|
||||||
%{_libdir}/pkgconfig/zlib.pc
|
%{_libdir}/pkgconfig/zlib.pc
|
||||||
%{_includedir}/zconf.h
|
%{_mandir}/man3/zlib.*
|
||||||
%{_includedir}/zlib.h
|
|
||||||
%{_includedir}/zutil.h
|
|
||||||
%doc ChangeLog FAQ README
|
%doc ChangeLog FAQ README
|
||||||
|
|
||||||
%files -n minizip
|
%files -n minizip
|
||||||
@ -157,19 +159,22 @@ ln -sf ../../lib/libz.so.%{version} %{buildroot}%{_prefix}/lib/libz.so
|
|||||||
%{_bindir}/miniunz
|
%{_bindir}/miniunz
|
||||||
%doc contrib/minizip/MiniZip64_info.txt contrib/minizip/MiniZip64_Changes.txt
|
%doc contrib/minizip/MiniZip64_info.txt contrib/minizip/MiniZip64_Changes.txt
|
||||||
|
|
||||||
%ifarch x86_64_disabled
|
#%ifarch x86_64_disabled
|
||||||
%files -n lib32-libz
|
#%files -n lib32-libz
|
||||||
%defattr(-,root,root)
|
#%defattr(-,root,root)
|
||||||
/lib/libz.so.*
|
#/lib/libz.so.*
|
||||||
|
#
|
||||||
%files -n lib32-libz-devel
|
#%files -n lib32-libz-devel
|
||||||
%defattr(-,root,root)
|
#%defattr(-,root,root)
|
||||||
%{_prefix}/lib/libz.a
|
#%{_prefix}/lib/libz.a
|
||||||
%{_prefix}/lib/libz.so
|
#%{_prefix}/lib/libz.so
|
||||||
%{_prefix}/lib/pkgconfig/zlib.pc
|
#%{_prefix}/lib/pkgconfig/zlib.pc
|
||||||
%endif
|
#%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Sun Dec 11 2016 Silvan Calarco <silvan.calarco@mambasoft.it> 1.2.8-2mamba
|
||||||
|
- install minizip headers for chromium
|
||||||
|
|
||||||
* Tue Apr 30 2013 Automatic Build System <autodist@mambasoft.it> 1.2.8-1mamba
|
* Tue Apr 30 2013 Automatic Build System <autodist@mambasoft.it> 1.2.8-1mamba
|
||||||
- automatic version update by autodist
|
- automatic version update by autodist
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user