From d9f2b2f25f096ff53d2d77cb39979092055eedf1 Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Jul 01 2022 10:53:33 +0000 Subject: Update to 3.0 Signed-off-by: Marc-André Lureau --- diff --git a/.gitignore b/.gitignore index ac5ffe3..7aee94b 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /phodav-2.3.tar.xz /phodav-2.4.tar.xz /phodav-2.5.tar.xz +/phodav-3.0.tar.xz diff --git a/phodav.spec b/phodav.spec index ed90afd..9164816 100644 --- a/phodav.spec +++ b/phodav.spec @@ -1,7 +1,7 @@ Name: phodav -Version: 2.5 +Version: 3.0 Release: %autorelease -Summary: A WebDAV server using libsoup +Summary: A WebDAV server using libsoup3 License: LGPLv2+ URL: https://wiki.gnome.org/phodav @@ -14,35 +14,29 @@ BuildRequires: git-core BuildRequires: gcc BuildRequires: systemd-devel BuildRequires: systemd-units -BuildRequires: libsoup-devel +BuildRequires: libsoup3-devel BuildRequires: avahi-gobject-devel BuildRequires: asciidoc BuildRequires: xmlto %description -phởdav is a WebDAV server implementation using libsoup (RFC 4918). +phởdav is a WebDAV server implementation using libsoup3 (RFC 4918). %package -n libphodav Summary: A library to serve files with WebDAV -Provides: libphodav-2.0 = 0:%{version}-%{release} -Provides: libphodav2 = 0:%{version}-%{release} Obsoletes: libphodav-2.0 <= 0:2.0-3 Obsoletes: libphodav2 <= 0:2.0-4 -# no Provides for this one as ABI was broken Obsoletes: libphodav-1.0 <= 0:0.4-6 %description -n libphodav -phởdav is a WebDAV server implementation using libsoup (RFC 4918). +phởdav is a WebDAV server implementation using libsoup3 (RFC 4918). This package provides the library. %package -n libphodav-devel Summary: Development files for libphodav Requires: libphodav%{?_isa} = %{version}-%{release} -Provides: libphodav-2.0-devel = 0:%{version}-%{release} -Provides: libphodav2-devel = 0:%{version}-%{release} Obsoletes: libphodav-2.0-devel <= 0:2.0-3 Obsoletes: libphodav2-devel <= 0:2.0-4 -# no Provides for this one as ABI was broken Obsoletes: libphodav-1.0-devel <= 0:0.4-6 %description -n libphodav-devel @@ -79,7 +73,7 @@ the Spice virtio channel. %install %meson_install -%find_lang phodav-2.0 --with-gnome +%find_lang phodav-3.0 --with-gnome %ldconfig_scriptlets -n libphodav @@ -92,16 +86,16 @@ the Spice virtio channel. %postun -n spice-webdavd %systemd_postun_with_restart spice-webdavd.service -%files -n libphodav -f phodav-2.0.lang +%files -n libphodav -f phodav-3.0.lang %license COPYING -%{_libdir}/libphodav-2.0.so.0* +%{_libdir}/libphodav-3.0.so.0* %files -n libphodav-devel -%dir %{_includedir}/libphodav-2.0/ -%{_includedir}/libphodav-2.0/* -%{_libdir}/libphodav-2.0.so -%{_libdir}/pkgconfig/libphodav-2.0.pc -%{_datadir}/gtk-doc/html/phodav-2.0/* +%dir %{_includedir}/libphodav-3.0/ +%{_includedir}/libphodav-3.0/* +%{_libdir}/libphodav-3.0.so +%{_libdir}/pkgconfig/libphodav-3.0.pc +%{_datadir}/gtk-doc/html/phodav-3.0/* %files -n chezdav %{_bindir}/chezdav diff --git a/sources b/sources index a9cd0cc..0e20902 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (phodav-2.5.tar.xz) = 4b6cd6a40118bf9c042abcfc3e7cb593b620922aae4dd3daf77682bf9da2030a0958bc0206531d5950f85551ef8f5da21fb21c54b9bd5e56b880f54e0983bc01 +SHA512 (phodav-3.0.tar.xz) = a4720083fd581023ea78cc09e6df4b5d2f90894f916004cf28c7fa557da61d8c7a5539fa6b50647efcd9f771afd088889fdc40579a8e860c8ea20540b25eb26a