[phodav] Initial spec

Marc-André Lureau elmarco at fedoraproject.org
Tue Apr 15 12:27:05 UTC 2014


commit 6493521485fb4a69c65665bd27d2bad7b36b1e5a
Author: Marc-André Lureau <marcandre.lureau at gmail.com>
Date:   Tue Apr 15 14:26:37 2014 +0200

    Initial spec

 .gitignore  |    1 +
 phodav.spec |  105 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources     |    1 +
 3 files changed, 107 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..05c8217 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/phodav-0.4.tar.xz
diff --git a/phodav.spec b/phodav.spec
new file mode 100644
index 0000000..7f2d1d9
--- /dev/null
+++ b/phodav.spec
@@ -0,0 +1,105 @@
+Name:           phodav
+Version:        0.4
+Release:        1%{?dist}
+Summary:        A WebDAV server using libsoup
+Group:          Applications/Internet
+License:        LGPLv2+
+URL:            https://wiki.gnome.org/phodav
+Source0:        http://download.gnome.org/sources/%{name}/0.3/%{name}-%{version}.tar.xz
+
+BuildRequires:  systemd-devel
+BuildRequires:  systemd-units
+BuildRequires:  libsoup-devel
+BuildRequires:  avahi-gobject-devel
+BuildRequires:  intltool
+BuildRequires:  asciidoc
+BuildRequires:  xmlto
+
+%description
+phởdav is a WebDAV server implementation using libsoup (RFC 4918).
+
+%package -n     libphodav-1.0
+Summary:        A library to serve files with WebDAV
+
+%description -n libphodav-1.0
+phởdav is a WebDAV server implementation using libsoup (RFC 4918).
+This package provides the library.
+
+%package -n     libphodav-1.0-devel
+Summary:        A library to
+Requires:       libphodav-1.0%{?_isa} = %{version}-%{release}
+
+%description -n libphodav-1.0-devel
+The libphodav-1.0-devel package includes the header files for libphodav-1.0.
+
+%package -n     chezdav
+Summary:        A simple WebDAV server program
+Group:          Applications/Internet
+
+%description -n chezdav
+The chezdav package contains a simple tool to share a directory
+with WebDAV. The service is announced over mDNS for clients to discover.
+
+%package -n     spice-webdavd
+Summary:        Spice daemon for the DAV channel
+Group:          Applications/System
+Requires(post): systemd-units
+Requires(preun): systemd-units
+Requires(postun): systemd-units
+
+%description -n spice-webdavd
+The spice-webdavd package contains a daemon to proxy WebDAV request to
+the Spice virtio channel.
+
+%prep
+%setup -q
+
+%build
+%configure --with-avahi
+make %{?_smp_mflags}
+
+%install
+%make_install
+
+rm -f %{buildroot}%{_libdir}/*.a
+rm -f %{buildroot}%{_libdir}/*.la
+
+%find_lang %{name} --with-gnome
+
+%post -n libphodav-1.0 -p /sbin/ldconfig
+%postun -n libphodav-1.0 -p /sbin/ldconfig
+
+%post -n spice-webdavd
+%systemd_post spice-webdavd.service
+
+%preun -n spice-webdavd
+%systemd_preun spice-webdavd.service
+
+%postun -n spice-webdavd
+%systemd_postun_with_restart spice-webdavd.service
+
+%files -n libphodav-1.0 -f %{name}.lang
+%doc NEWS COPYING
+%{_libdir}/libphodav-1.0.so.0*
+
+%files -n libphodav-1.0-devel
+%dir %{_includedir}/libphodav-1.0/
+%{_includedir}/libphodav-1.0/*
+%{_libdir}/libphodav-1.0.so
+%{_libdir}/pkgconfig/libphodav-1.0.pc
+%{_datadir}/gtk-doc/html/phodav/*
+
+%files -n chezdav
+%{_bindir}/chezdav
+%{_mandir}/man1/chezdav.1*
+
+%files -n spice-webdavd
+%doc NEWS COPYING
+%{_sbindir}/spice-webdavd
+/usr/lib/udev/rules.d/70-spice-webdavd.rules
+%{_unitdir}/spice-webdavd.service
+%{_unitdir}/spice-webdavd.target
+
+%changelog
+* Mon Jan 27 2014 Marc-André Lureau <marcandre.lureau at redhat.com> - 0.4-1
+- Initial packaging. rhbz#1059708
diff --git a/sources b/sources
index e69de29..95cbc0d 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+02036f62c7094a11123924c6d5605c9f  phodav-0.4.tar.xz


More information about the scm-commits mailing list