Accepting request 70103 from home:lnussel:branches:devel:libraries:c_c++
- Obsoletes: neon must be in the lib package. Otherwise libneon-devel gets installed as replacement for neon on distro upgrade, drawing in lots of other devel stuff. OBS-URL: https://build.opensuse.org/request/show/70103 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/neon?expand=0&rev=13
This commit is contained in:
committed by
Git OBS Bridge
parent
d05313fc0a
commit
6d162f2d07
53
neon.spec
53
neon.spec
@@ -1,5 +1,5 @@
|
||||
#
|
||||
# spec file for package neon (Version 0.28.4)
|
||||
# spec file for package neon (Version 0.29.3)
|
||||
#
|
||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
@@ -15,29 +15,31 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
# norootforbuild
|
||||
|
||||
|
||||
Name: neon
|
||||
BuildRequires: krb5-devel libexpat-devel libopenssl-devel zlib-devel
|
||||
Summary: An HTTP and WebDAV Client Library
|
||||
Version: 0.28.4
|
||||
Release: 4
|
||||
Version: 0.29.3
|
||||
Release: 1
|
||||
License: GPLv2+
|
||||
Summary: An HTTP and WebDAV Client Library
|
||||
BuildRequires: krb5-devel
|
||||
BuildRequires: libexpat-devel
|
||||
BuildRequires: libopenssl-devel
|
||||
BuildRequires: libproxy-devel
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: zlib-devel
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
Obsoletes: neon-64bit
|
||||
%endif
|
||||
Url: http://www.webdav.org/neon
|
||||
#
|
||||
Group: Development/Libraries/Other
|
||||
Url: http://www.webdav.org/neon
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
Source: http://www.webdav.org/neon/neon-%{version}.tar.bz2
|
||||
Source2: baselibs.conf
|
||||
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/Packaging/Patches
|
||||
Patch0: %{name}-0.28.4-bloat.patch
|
||||
Patch1: %{name}-0.28.4-CVE-2009-2473,2474.patch
|
||||
# http://lists.manyfish.co.uk/pipermail/neon-commits/2009-September/000827.html
|
||||
Patch2: %{name}-openssl.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
neon is an HTTP and WebDAV client library with a C interface.
|
||||
@@ -69,7 +71,10 @@ properties (PROPPATCH/PROPFIND)
|
||||
License: GPLv2+
|
||||
Summary: An HTTP and WebDAV Client Library
|
||||
Group: Development/Libraries/Other
|
||||
Requires: %{name} = %{version}
|
||||
# Drop the main package. It avoids the lib from being installed in different versions
|
||||
# and generally only contained coders doc anyhow.
|
||||
Provides: neon = %{version}
|
||||
Obsoletes: neon < %{version}
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
Obsoletes: neon-64bit
|
||||
@@ -106,10 +111,11 @@ properties (PROPPATCH/PROPFIND)
|
||||
License: GPLv2+
|
||||
Summary: An HTTP and WebDAV Client Library
|
||||
Group: Development/Libraries/Other
|
||||
Requires: libneon27 = %{version} glibc-devel
|
||||
Requires: glibc-devel
|
||||
Requires: libneon27 = %{version}
|
||||
# renamed after openSUSE 10.3
|
||||
Provides: neon-devel = 0.27
|
||||
Obsoletes: neon-devel < 0.27
|
||||
Provides: neon-devel = %{version}
|
||||
Obsoletes: neon-devel < %{version}
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
Obsoletes: neon-devel-64bit
|
||||
@@ -145,8 +151,6 @@ properties (PROPPATCH/PROPFIND)
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0
|
||||
%patch1
|
||||
%patch2 -p2
|
||||
|
||||
%build
|
||||
rm -f aclocal.m4 ltmain.sh
|
||||
@@ -158,33 +162,30 @@ sh autogen.sh
|
||||
--disable-static \
|
||||
--enable-warnings \
|
||||
--with-pic
|
||||
%{__make} %{?jobs:-j%jobs}
|
||||
%{__make} %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
make DESTDIR=$RPM_BUILD_ROOT docdir=%{_defaultdocdir}/%{name} install install-man install-html
|
||||
rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
make DESTDIR=%{buildroot} docdir=%{_defaultdocdir}/%{name} install install-man install-html
|
||||
rm -f %{buildroot}%{_libdir}/*.la
|
||||
|
||||
%check
|
||||
# make check
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%post -n libneon27 -p /sbin/ldconfig
|
||||
|
||||
%postun -n libneon27 -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc doc/*.txt doc/html
|
||||
%doc AUTHORS BUGS ChangeLog NEWS README THANKS TODO
|
||||
|
||||
%files -n libneon27
|
||||
%defattr(-,root,root)
|
||||
%doc AUTHORS BUGS ChangeLog NEWS README THANKS TODO
|
||||
%{_libdir}/*.so.27*
|
||||
|
||||
%files -n libneon-devel
|
||||
%defattr(-,root,root)
|
||||
%doc %{_defaultdocdir}/%{name}
|
||||
%{_bindir}/neon-config
|
||||
%dir %{_includedir}/neon
|
||||
%{_includedir}/neon/*.h
|
||||
|
Reference in New Issue
Block a user