diff --git a/libneon.spec b/libneon.spec index af2367f..802e98f 100644 --- a/libneon.spec +++ b/libneon.spec @@ -1,7 +1,5 @@ -%define build_libneon26 0 - Name: libneon -Version: 0.30.2 +Version: 0.31.0 Release: 1mamba Summary: An HTTP and WebDAV client library, with a C interface Group: System/Libraries @@ -76,17 +74,7 @@ Featuring: This package contains static libraries and header files need for development. -%if %{build_libneon26} -%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 +%debug_package %prep %setup -q -n neon-%{version} -a1 @@ -100,69 +88,41 @@ This package contains the shared libraries which certain applications need to dy %make -# buid compatibility libraries -%if %{build_libneon26} -cd neon-0.26.4 -%configure --with-ssl --enable-shared -%make -%endif - %install [ "%{buildroot}" != / ] && rm -rf %{buildroot} %makeinstall %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 [ "%{buildroot}" != / ] && rm -rf %{buildroot} %post -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 %defattr(-,root,root) -%{_libdir}/*.so.* -%if %{build_libneon26} -%exclude %{_libdir}/libneon.so.26 -%exclude %{_libdir}/libneon.so.26.0.4 -%endif +%{_libdir}/libneon.so.* %doc AUTHORS THANKS %files devel %defattr(-,root,root) %{_bindir}/neon-config -%{_libdir}/pkgconfig/*.pc -%{_libdir}/*.so -%{_libdir}/*.a -%{_libdir}/*.la +%{_libdir}/pkgconfig/neon.pc +%{_libdir}/libneon.so +%{_libdir}/libneon.a +%{_libdir}/libneon.la %dir %{_includedir}/neon %{_includedir}/neon/*.h %dir %{_datadir}/doc/neon-%{version} %{_datadir}/doc/neon-%{version}/* %{_mandir}/man1/* %{_mandir}/man3/* -%dir %{_datadir}/doc/neon-%{version} -%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 +%doc BUGS ChangeLog NEWS TODO %changelog +* Fri Apr 10 2020 Automatic Build System 0.31.0-1mamba +- automatic update by autodist + * Fri Oct 28 2016 Automatic Build System 0.30.2-1mamba - automatic version update by autodist