Changeset 459 for spec/trunk/SPECS
- Timestamp:
- Sep 23, 2014, 7:34:59 PM (11 years ago)
- File:
-
- 1 edited
-
spec/trunk/SPECS/neon.spec (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/neon.spec
r196 r459 2 2 # 3 3 # Conditional build: 4 %bcond_without apidocs # do notbuild and package API docs5 %bcond_with outstatic_libs # don't build static libraries4 %bcond_without apidocs # build and package API docs 5 %bcond_with static_libs # don't build static libraries 6 6 %bcond_with kerberos5 # don't build Kerberos V support 7 7 %bcond_with libproxy # don't build libproxy support … … 9 9 Summary: An HTTP and WebDAV client library 10 10 Name: neon 11 Version: 0. 29.611 Version: 0.30.0 12 12 Release: 1 13 13 License: LGPL v2+ 14 14 Group: Libraries 15 Source0: http://www.webdav.org/neon/%{name}-%{version}.tar.gz15 # Source0: http://www.webdav.org/neon/%{name}-%{version}.tar.gz 16 16 17 Patch1: neon-os2.diff 17 %define svn_url http://svn.netlabs.org/repos/ports/neon/trunk 18 %define svn_rev 873 19 20 Source: %{name}-%{version}-r%{svn_rev}.zip 21 22 BuildRequires: gcc make subversion zip 18 23 19 24 # Source0-md5: 591e0c82e6979e7e615211b386b8f6bc … … 21 26 22 27 BuildRequires: autoconf >= 2.58 23 #BuildRequires: automake28 BuildRequires: automake 24 29 %{?with_kerberos5:BuildRequires: heimdal-devel} 25 30 %{?with_libproxy:BuildRequires: libproxy-devel} 26 #BuildRequires: libtool >= 2:2.2 27 BuildRequires: libxml2-devel31 BuildRequires: libtool >= 2.4 32 BuildRequires: expat-devel 28 33 BuildRequires: openssl-devel >= 0.9.7d 29 34 BuildRequires: pkgconfig … … 55 60 %{?with_kerberos5:Requires: heimdal-devel} 56 61 %{?with_libproxy:Requires: libproxy-devel} 57 Requires: libxml2-devel62 Requires: expat-devel 58 63 Requires: openssl-devel >= 0.9.7c 59 64 … … 77 82 78 83 %prep 84 %if %(sh -c 'if test -f "%{_sourcedir}/%{name}-%{version}-r%{svn_rev}.zip" ; then echo 1 ; else echo 0 ; fi') 79 85 %setup -q 80 %patch1 -p1 -b .os2~ 86 %else 87 %setup -n "%{name}-%{version}" -Tc 88 svn export -r %{svn_rev} %{svn_url} . --force 89 rm -f "%{_sourcedir}/%{name}-%{version}-r%{svn_rev}.zip" 90 (cd .. && zip -SrX9 "%{_sourcedir}/%{name}-%{version}-r%{svn_rev}.zip" "%{name}-%{version}") 91 %endif 81 92 82 93 %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} 94 export LIBS="-lpthread" 95 export NEON_LIBS="-lintl -lpthread" 96 ./autogen.sh 89 97 %configure \ 90 --enable-shared --disable-static\98 --enable-shared \ 91 99 --with-ssl \ 92 100 --enable-threadsafe-ssl=posix \ 93 --enable-shared \94 101 %{!?with_static_libs:--disable-static} \ 95 102 %{!?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} 99 104 100 %{__make} %{ _smp_mflags}105 %{__make} %{?_smp_mflags} 101 106 102 107 %install … … 125 130 %doc doc/*.txt 126 131 %attr(755,root,root) %{_bindir}/neon-config 127 %attr(755,root,root) %{_libdir}/neon .a132 %attr(755,root,root) %{_libdir}/neon*_dll.a 128 133 %{_libdir}/libneon.la 129 134 %{_libdir}/pkgconfig/neon.pc … … 146 151 147 152 %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.
