137 lines
3.4 KiB
RPMSpec
137 lines
3.4 KiB
RPMSpec
Name: phodav
|
|
Version: 2.2
|
|
Release: 1mamba
|
|
Summary: A WebDav server implementation using libsoup (RFC 4918).
|
|
Group: System/Servers
|
|
Vendor: openmamba
|
|
Distribution: openmamba
|
|
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
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} \
|
|
--with-udevdir=`pkg-config udev --variable=udevdir`
|
|
|
|
%make
|
|
|
|
%install
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
%makeinstall
|
|
|
|
%find_lang %{name} --all-name || touch %{name}.lang
|
|
|
|
%clean
|
|
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
|
|
|
|
|
|
%post
|
|
/sbin/ldconfig
|
|
%systemd_post spice-webdavd
|
|
:
|
|
|
|
%preun
|
|
%systemd_preun spice-webdavd
|
|
:
|
|
|
|
%postun
|
|
/sbin/ldconfig
|
|
%systemd_postun spice-webdavd
|
|
:
|
|
|
|
%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
|
|
/lib/udev/rules.d/70-spice-webdavd.rules
|
|
%{_mandir}/man1/chezdav.1*
|
|
%doc COPYING
|
|
|
|
%files -n lib%{name}
|
|
%defattr(-,root,root)
|
|
%{_libdir}/libphodav-2.0.so.*
|
|
|
|
%files -n lib%{name}-devel
|
|
%defattr(-,root,root)
|
|
%dir %{_includedir}/libphodav-2.0
|
|
%{_includedir}/libphodav-2.0/libphodav
|
|
%{_includedir}/libphodav-2.0/libphodav/*.h
|
|
%{_libdir}/libphodav-2.0.a
|
|
%{_libdir}/libphodav-2.0.la
|
|
%{_libdir}/libphodav-2.0.so
|
|
%{_libdir}/pkgconfig/libphodav-2.0.pc
|
|
#%doc NEWS README TODO
|
|
|
|
%files apidocs
|
|
%defattr(-,root,root)
|
|
%dir %{_datadir}/gtk-doc/html/phodav-2.0
|
|
%{_datadir}/gtk-doc/html/phodav-2.0/*
|
|
|
|
%changelog
|
|
* Sat Jan 13 2018 Automatic Build System <autodist@mambasoft.it> 2.2-1mamba
|
|
- automatic version update by autodist
|
|
|
|
* Tue Nov 11 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4-2mamba
|
|
- fix udev directory
|
|
|
|
* Mon Oct 20 2014 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4-1mamba
|
|
- package created using the webbuild interface
|