Changeset 459 for spec/trunk/SPECS


Ignore:
Timestamp:
Sep 23, 2014, 7:34:59 PM (11 years ago)
Author:
Silvan Scherrer
Message:

neon: changed spec to version 0.30.0

File:
1 edited

Legend:

Unmodified
Added
Removed
  • spec/trunk/SPECS/neon.spec

    r196 r459  
    22#
    33# Conditional build:
    4 %bcond_without  apidocs         # do not build and package API docs
    5 %bcond_without  static_libs     # don't build static libraries
     4%bcond_without  apidocs         # build and package API docs
     5%bcond_with     static_libs     # don't build static libraries
    66%bcond_with     kerberos5       # don't build Kerberos V support
    77%bcond_with     libproxy        # don't build libproxy support
     
    99Summary:        An HTTP and WebDAV client library
    1010Name:           neon
    11 Version:        0.29.6
     11Version:        0.30.0
    1212Release:        1
    1313License:        LGPL v2+
    1414Group:          Libraries
    15 Source0:        http://www.webdav.org/neon/%{name}-%{version}.tar.gz
     15# Source0:      http://www.webdav.org/neon/%{name}-%{version}.tar.gz
    1616
    17 Patch1:         neon-os2.diff
     17%define svn_url     http://svn.netlabs.org/repos/ports/neon/trunk
     18%define svn_rev     873
     19
     20Source: %{name}-%{version}-r%{svn_rev}.zip
     21
     22BuildRequires: gcc make subversion zip
    1823
    1924# Source0-md5:  591e0c82e6979e7e615211b386b8f6bc
     
    2126
    2227BuildRequires:  autoconf >= 2.58
    23 #BuildRequires: automake
     28BuildRequires:  automake
    2429%{?with_kerberos5:BuildRequires:        heimdal-devel}
    2530%{?with_libproxy:BuildRequires: libproxy-devel}
    26 #BuildRequires: libtool >= 2:2.2
    27 BuildRequires:  libxml2-devel
     31BuildRequires:  libtool >= 2.4
     32BuildRequires:  expat-devel
    2833BuildRequires:  openssl-devel >= 0.9.7d
    2934BuildRequires:  pkgconfig
     
    5560%{?with_kerberos5:Requires:     heimdal-devel}
    5661%{?with_libproxy:Requires:      libproxy-devel}
    57 Requires:       libxml2-devel
     62Requires:       expat-devel
    5863Requires:       openssl-devel >= 0.9.7c
    5964
     
    7782
    7883%prep
     84%if %(sh -c 'if test -f "%{_sourcedir}/%{name}-%{version}-r%{svn_rev}.zip" ; then echo 1 ; else echo 0 ; fi')
    7985%setup -q
    80 %patch1 -p1 -b .os2~
     86%else
     87%setup -n "%{name}-%{version}" -Tc
     88svn export -r %{svn_rev} %{svn_url} . --force
     89rm -f "%{_sourcedir}/%{name}-%{version}-r%{svn_rev}.zip"
     90(cd .. && zip -SrX9 "%{_sourcedir}/%{name}-%{version}-r%{svn_rev}.zip" "%{name}-%{version}")
     91%endif
    8192
    8293%build
    83 export CONFIG_SHELL="/bin/sh"
    84 export LIBS="-lurpo -lpthread"
    85 export NEON_LIBS="-lintl"
    86 #%{__libtoolize} --install
    87 #%{__aclocal} -I macros
    88 %{__autoconf}
     94export LIBS="-lpthread"
     95export NEON_LIBS="-lintl -lpthread"
     96./autogen.sh
    8997%configure \
    90         --enable-shared --disable-static \
     98        --enable-shared \
    9199        --with-ssl \
    92100        --enable-threadsafe-ssl=posix \
    93         --enable-shared \
    94101        %{!?with_static_libs:--disable-static} \
    95102        %{!?with_kerberos5:--without-gssapi} \
    96         %{!?with_libproxy:--without-libproxy} \
    97         --with-libxml2 \
    98         "--cache-file=%{_topdir}/cache/%{name}-%{_target_cpu}.cache"
     103        %{!?with_libproxy:--without-libproxy}
    99104
    100 %{__make} %{_smp_mflags}
     105%{__make} %{?_smp_mflags}
    101106
    102107%install
     
    125130%doc doc/*.txt
    126131%attr(755,root,root) %{_bindir}/neon-config
    127 %attr(755,root,root) %{_libdir}/neon.a
     132%attr(755,root,root) %{_libdir}/neon*_dll.a
    128133%{_libdir}/libneon.la
    129134%{_libdir}/pkgconfig/neon.pc
     
    146151
    147152%changelog
     153* Tue Sep 23 2014 Silvan Scherrer <silvan.scherrer@aroa.ch> 0.30.0-1
     154- updated neon to 0.30.0
Note: See TracChangeset for help on using the changeset viewer.