Name: phodav Version: 0.4 Release: 1mamba Summary: A WebDav server implementation using libsoup (RFC 4918). Group: System/Servers Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco URL: http://live.gnome.org Source: http://ftp.gnome.org/pub/GNOME/sources/phodav/%{version}/phodav-%{version}.tar.xz License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel BuildRequires: libavahi-devel BuildRequires: libavahi-glib-devel BuildRequires: libdbus-devel BuildRequires: libffi-devel BuildRequires: libglib-devel BuildRequires: liblzma-devel BuildRequires: libselinux-devel BuildRequires: libsoup-devel BuildRequires: libsqlite-devel BuildRequires: libssp-devel BuildRequires: libxml2-devel BuildRequires: libz-devel ## AUTOBUILDREQ-END Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} BuildRoot: %{_tmppath}/%{name}-%{version}-root %description phởdav is a WebDav server implementation using libsoup (RFC 4918). %package -n lib%{name} Group: System/Libraries Summary: Shared libraries for %{name} %description -n lib%{name} This package contains shared libraries for %{name}. %package -n lib%{name}-devel Group: Development/Libraries Summary: Development files for %{name} Requires: lib%{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: pkg-config %description -n lib%{name}-devel This package contains libraries and header files for developing applications that use %{name}. %package apidocs Group: Documentation Summary: %{name} API documentation Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} Requires: gtk-doc %description apidocs This package includes the %{name} API documentation. %debug_package %prep %setup -q %build %configure \ --enable-gtk-doc \ --with-systemdsystemunitdir=%{_unitdir} %make %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %makeinstall %find_lang %{name} || touch %{name}.lang %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %post /sbin/ldconfig %systemd_post %preun %systemd_preun %postun /sbin/ldconfig %systemd_postun %post -n lib%{name} -p /sbin/ldconfig %postun -n lib%{name} -p /sbin/ldconfig %files -f %{name}.lang %defattr(-,root,root) %{_bindir}/chezdav %{_sbindir}/spice-webdavd %{_unitdir}/spice-webdavd.service %{_unitdir}/spice-webdavd.target %{_prefix}/lib/udev/rules.d/70-spice-webdavd.rules %{_mandir}/man1/chezdav.1* %doc COPYING %files -n lib%{name} %defattr(-,root,root) %{_libdir}/libphodav-1.0.so.* %files -n lib%{name}-devel %defattr(-,root,root) %dir %{_includedir}/libphodav-1.0 %{_includedir}/libphodav-1.0/libphodav %{_includedir}/libphodav-1.0/libphodav/*.h %{_libdir}/libphodav-1.0.a %{_libdir}/libphodav-1.0.la %{_libdir}/libphodav-1.0.so %{_libdir}/pkgconfig/libphodav-1.0.pc %doc NEWS README TODO %files apidocs %defattr(-,root,root) %dir %{_datadir}/gtk-doc/html/phodav %{_datadir}/gtk-doc/html/phodav/* %changelog * Mon Oct 20 2014 Silvan Calarco 0.4-1mamba - package created using the webbuild interface