Blob Blame History Raw
Name:		litmus
Version:	0.13
Release:	5%{?dist}
Summary:	WebDAV server compliance test suite
Group:		Applications/Internet
License:	GPLv2+
URL:		http://www.webdav.org/neon/litmus/
Source0:	http://www.webdav.org/neon/litmus/%{name}-%{version}.tar.gz
# Fix build with neon < 0.26.x (EPEL5).
# Upstream has applied this in neon svn repo (bundled in litmus build).
# http://lists.manyfish.co.uk/pipermail/neon-commits/2011-December/000947.html
Patch0:		litmus-i18n.patch
Buildroot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
BuildRequires:	neon-devel

%description
litmus is a WebDAV server test suite, which aims to test whether a server is 
compliant with the WebDAV protocol as specified in RFC2518.

%prep
%setup -q -n %{name}-%{version}
%patch0 -p1

# Making sure we use system libs, not bundled ones
find ./lib -name '*.c' -o -name '*.h' | xargs rm -rf

%build
%configure --with-neon=%{_prefix}

make %{?_smp_mflags}

%install
rm -rf %{buildroot}

make install DESTDIR=%{buildroot}

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%{_bindir}/litmus
%dir %{_libexecdir}/%{name}
%{_libexecdir}/%{name}/*
%{_datadir}/%{name}/*
%doc COPYING FAQ README THANKS TODO

%changelog
* Fri Mar 16 2012 Ricardo Rocha <ricardo.rocha@cern.ch> - 0.13-4
- Removed data dir cleanup, files are needed at runtime (bug #800477)

* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.13-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild

* Wed Dec 14 2011 Ricardo Rocha <ricardo.rocha@cern.ch> - 0.13-3
- Fixed prefix usage in configure
- Drop bundled libraries to make sure we use the system ones

* Tue Dec 13 2011 Ricardo Rocha <ricardo.rocha@cern.ch> - 0.13-2
- Proper use of configure macro
- Added comment on i18n patch
- Consistent use of buildroot macro

* Fri Dec 09 2011 Ricardo Rocha <ricardo.rocha@cern.ch> - 0.13-1
- Initial build