automatic update by autodist [release 0.31.0-1mamba;Fri Apr 10 2020]

This commit is contained in:
Automatic Build System 2024-01-06 05:08:27 +01:00
parent 422fc09ace
commit af552a4deb

View File

@ -1,7 +1,5 @@
%define build_libneon26 0
Name: libneon Name: libneon
Version: 0.30.2 Version: 0.31.0
Release: 1mamba Release: 1mamba
Summary: An HTTP and WebDAV client library, with a C interface Summary: An HTTP and WebDAV client library, with a C interface
Group: System/Libraries Group: System/Libraries
@ -76,17 +74,7 @@ Featuring:
This package contains static libraries and header files need for development. This package contains static libraries and header files need for development.
%if %{build_libneon26} %debug_package
%package -n %{name}26
Summary: Libneon 0.26 (compatibility shared libraries)
Group: System/Libraries
Obsoletes: libneon25
Conflicts: libneon = 0.26.4
%description -n %{name}26
Neon is an HTTP and WebDAV client library, with a C interface.
This package contains the shared libraries which certain applications need to dynamically load and use libneon 0.25.
%endif
%prep %prep
%setup -q -n neon-%{version} -a1 %setup -q -n neon-%{version} -a1
@ -100,69 +88,41 @@ This package contains the shared libraries which certain applications need to dy
%make %make
# buid compatibility libraries
%if %{build_libneon26}
cd neon-0.26.4
%configure --with-ssl --enable-shared
%make
%endif
%install %install
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
%makeinstall %makeinstall
%find_lang neon %find_lang neon
# install compatibility libraries and links
%if %{build_libneon26}
cd neon-0.26.4
install -m755 src/.libs/libneon.so.26.0.4 %{buildroot}%{_libdir}/libneon.so.26.0.4
ln -sf libneon.so.26.0.4 %{buildroot}%{_libdir}/libneon.so.26
%endif
%clean %clean
[ "%{buildroot}" != / ] && rm -rf %{buildroot} [ "%{buildroot}" != / ] && rm -rf %{buildroot}
%post -p /sbin/ldconfig %post -p /sbin/ldconfig
%postun -p /sbin/ldconfig %postun -p /sbin/ldconfig
%if %{build_libneon26}
%post -n %{name}26 -p /sbin/ldconfig
%postun -n %{name}26 -p /sbin/ldconfig
%endif
%files -f neon.lang %files -f neon.lang
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/*.so.* %{_libdir}/libneon.so.*
%if %{build_libneon26}
%exclude %{_libdir}/libneon.so.26
%exclude %{_libdir}/libneon.so.26.0.4
%endif
%doc AUTHORS THANKS %doc AUTHORS THANKS
%files devel %files devel
%defattr(-,root,root) %defattr(-,root,root)
%{_bindir}/neon-config %{_bindir}/neon-config
%{_libdir}/pkgconfig/*.pc %{_libdir}/pkgconfig/neon.pc
%{_libdir}/*.so %{_libdir}/libneon.so
%{_libdir}/*.a %{_libdir}/libneon.a
%{_libdir}/*.la %{_libdir}/libneon.la
%dir %{_includedir}/neon %dir %{_includedir}/neon
%{_includedir}/neon/*.h %{_includedir}/neon/*.h
%dir %{_datadir}/doc/neon-%{version} %dir %{_datadir}/doc/neon-%{version}
%{_datadir}/doc/neon-%{version}/* %{_datadir}/doc/neon-%{version}/*
%{_mandir}/man1/* %{_mandir}/man1/*
%{_mandir}/man3/* %{_mandir}/man3/*
%dir %{_datadir}/doc/neon-%{version} %doc BUGS ChangeLog NEWS TODO
%doc BUGS ChangeLog NEWS README TODO
%if %{build_libneon26}
%files -n %{name}26
%defattr(-,root,root)
%{_libdir}/libneon.so.26
%{_libdir}/libneon.so.26.0.4
%endif
%changelog %changelog
* Fri Apr 10 2020 Automatic Build System <autodist@mambasoft.it> 0.31.0-1mamba
- automatic update by autodist
* Fri Oct 28 2016 Automatic Build System <autodist@mambasoft.it> 0.30.2-1mamba * Fri Oct 28 2016 Automatic Build System <autodist@mambasoft.it> 0.30.2-1mamba
- automatic version update by autodist - automatic version update by autodist