2024-01-06 04:22:41 +01:00
|
|
|
Name: libghttp
|
|
|
|
Version: 1.0.9
|
2024-01-06 04:22:41 +01:00
|
|
|
Release: 3mamba
|
2024-01-06 04:22:41 +01:00
|
|
|
Summary: GNOME HTTP client library
|
|
|
|
Group: System/Libraries
|
|
|
|
Vendor: openmamba
|
|
|
|
Distribution: openmamba
|
|
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
URL: http://www.gnome.org
|
|
|
|
Source: http://ftp.gnome.org/pub/gnome/sources/libghttp/1.0/%{name}-%{version}.tar.gz
|
|
|
|
License: GPL
|
|
|
|
## AUTOBUILDREQ-BEGIN
|
|
|
|
BuildRequires: glibc-devel
|
|
|
|
## AUTOBUILDREQ-END
|
|
|
|
BuildRoot: %{_tmppath}/%{name}-%{version}-root
|
|
|
|
|
|
|
|
%description
|
|
|
|
GNOME HTTP client library.
|
|
|
|
|
|
|
|
%package devel
|
|
|
|
Summary: Devel package for %{name}
|
|
|
|
Group: Development/Libraries
|
|
|
|
Requires: %{name} = %{version}
|
|
|
|
|
|
|
|
%description devel
|
|
|
|
GNOME http client library.
|
|
|
|
This package contains static libraries and header files need for development.
|
|
|
|
|
2024-01-06 04:22:41 +01:00
|
|
|
%debug_package
|
|
|
|
|
2024-01-06 04:22:41 +01:00
|
|
|
%prep
|
|
|
|
%setup -q
|
2024-01-06 04:22:41 +01:00
|
|
|
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
|
|
|
|
sed -i "s,| x86-\* |,| x86-\* | x86_64-\* |," config.sub
|
2024-01-06 04:22:41 +01:00
|
|
|
|
|
|
|
%build
|
|
|
|
%configure \
|
|
|
|
--enable-shared
|
|
|
|
# Warning: % configure does not work
|
|
|
|
|
|
|
|
%make
|
|
|
|
|
|
|
|
%install
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
%makeinstall
|
|
|
|
|
|
|
|
%clean
|
|
|
|
[ "%{buildroot}" != / ] && rm -rf %{buildroot}
|
|
|
|
|
|
|
|
%files
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libghttp.so.*
|
|
|
|
%{_libdir}/ghttpConf.sh
|
|
|
|
%doc AUTHORS COPYING COPYING.LIB
|
|
|
|
|
|
|
|
%files devel
|
|
|
|
%defattr(-,root,root)
|
|
|
|
%{_libdir}/libghttp.a
|
|
|
|
%{_libdir}/libghttp.la
|
|
|
|
%{_libdir}/libghttp.so
|
|
|
|
%{_includedir}/*.h
|
|
|
|
%doc ChangeLog NEWS README TODO
|
|
|
|
|
|
|
|
%changelog
|
2024-01-06 04:22:41 +01:00
|
|
|
* Mon Nov 30 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.9-3mamba
|
|
|
|
- rebuilt with debug package and aarch64 build fix
|
|
|
|
|
2024-01-06 04:22:41 +01:00
|
|
|
* Sat Jul 26 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.9-2mamba
|
|
|
|
- specfile updated
|
|
|
|
|
|
|
|
* Wed May 11 2005 Silvan Calarco <silvan.calarco@mambasoft.it> 1.0.9-1qilnx
|
|
|
|
- package created by autospec
|