File cadaver.spec of Package cadaver

#
# spec file for package cadaver (Version 0.23.2)
#
# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
# package are under the same license as the package itself.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

# norootforbuild


Name:           cadaver
BuildRequires:  libneon-devel libxml2-devel openssl-devel readline-devel
License:        GPL v2 or later
Group:          Productivity/Networking/Web/Utilities
AutoReqProv:    on
Version:        0.23.2
Release:        1
Summary:        Command Line WebDAV Client for Unix
Url:            http://www.webdav.org/cadaver/
Source0:        %{name}-%{version}.tar.bz2
Patch0:         %{name}-%{version}-strncat.patch
BuildRoot:      %{_tmppath}/%{name}-%{version}-build

%description
Cadaver is a command-line WebDAV client for Unix. It supports file
upload, download, on-screen display, namespace operations (move and
copy), collection creation and deletion, and locking operations.



Authors:
--------
    Joe Orton <joe@manyfish.co.uk>

%prep
%setup -q
%patch0

%build
%{suse_update_config -f}
gettextize --force
aclocal -I m4 -I m4/neon
autoconf --force
autoheader --force
export LDFLAGS=-pie CFLAGS="$RPM_OPT_FLAGS -fpie -Wall"
%configure \
    --with-ssl \
    --with-libxml2 
make %{?jobs:-j %jobs}

%install
make "DESTDIR=$RPM_BUILD_ROOT" install
%find_lang %{name}

%clean
rm -rf $RPM_BUILD_ROOT

%files -f %{name}.lang
%defattr(-,root,root)
%doc BUGS COPYING ChangeLog FAQ INTEROP NEWS README THANKS TODO
%doc %{_mandir}/man?/*
%{_bindir}/*

%changelog
* Wed Mar 19 2008 prusnak@suse.cz
- updated to 0.23.2
  * fix "make install" with NLS builds
  * update to neon 0.28.0
* Tue Sep 25 2007 prusnak@suse.cz
- updated to 0.23.0
  * sync with neon library 0.27.0 (drop support for older versions)
  * fix 'search contains'
  * add DESTDIR support to 'make install'
- dropped obsolete patches:
  * makefilein.diff (included in update)
* Wed Jan 24 2007 prusnak@suse.cz
- update to 0.22.5
  * sync to neon library 0.26.3
  * document netrc support in man page
* Thu Dec 14 2006 prusnak@suse.cz
- fixed 3rd argument in strncat functions
* Wed Aug 16 2006 ro@suse.de
- call gettextize (MKINSTALLDIRS problem)
* Thu Jul 20 2006 olh@suse.de
- use systen neon library
* Thu Jun 15 2006 dmueller@suse.de
- build parallel
* Wed Jan 25 2006 mls@suse.de
- converted neededforbuild to BuildRequires
* Thu Jan 12 2006 mjancar@suse.cz
- update to 0.22.3
* Mon Jun 20 2005 ro@suse.de
- build as pie
* Tue Jun 08 2004 mjancar@suse.cz
- update to 0.22.2
  * fix security problem in libneon (#41725)
* Thu Feb 26 2004 mjancar@suse.cz
- update to 0.22.0
* Thu Nov 06 2003 schwab@suse.de
- Fix quoting in configure script.
* Thu Jul 24 2003 mjancar@suse.cz
- update to 0.21.0
* Thu Oct 10 2002 prehak@suse.cz
- update to version 0.20.5
* Sun Aug 04 2002 vinil@suse.cz
- readline added to neededforbuild
* Mon Jul 15 2002 poeml@suse.de
- allow build on SuSE Linux 7.3 and 8.0
* Fri Jul 12 2002 prehak@suse.cz
- initial version 0.19.1
- used AC_LIBOBJ macro instead of directly modifying LIBOBJS
  in configure.in (created cadaver.dif)
- fixed install paths in Makefile.in
- build with OpenSSL support
openSUSE Build Service is sponsored by