Accepting request 288865 from home:pluskalm:branches:devel:libraries:c_c++

- Cleanup spec file with spec-cleaner
- Add gpg signature
- Enable tests
- Use fdupes to remove duplicates
- Update to 0.30.1
  * small changes, for details see included ChangeLog

OBS-URL: https://build.opensuse.org/request/show/288865
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/neon?expand=0&rev=37
This commit is contained in:
Stanislav Brabec 2015-03-04 18:32:43 +00:00 committed by Git OBS Bridge
parent aa37ad4090
commit 539bcf78b0
7 changed files with 76 additions and 28 deletions

View File

@ -1,6 +1,8 @@
--- neon-config.in Index: neon-config.in
===================================================================
--- neon-config.in.orig
+++ neon-config.in +++ neon-config.in
@@ -73,7 +73,7 @@ @@ -73,7 +73,7 @@ while test $# -gt 0; do
;; ;;
--libs) --libs)
@ -9,12 +11,3 @@
# Don't add standard library paths # Don't add standard library paths
if test "$prefix" != "/usr"; then if test "$prefix" != "/usr"; then
LIBS="-L${libdir} ${LIBS}" LIBS="-L${libdir} ${LIBS}"
--- neon.pc.in
+++ neon.pc.in
@@ -7,5 +7,5 @@
Description: HTTP/WebDAV client library
Version: @NEON_VERSION@
Libs.private: @NEON_LIBS@
-Libs: -L${libdir} -lneon @NEON_PC_LIBS@
+Libs: -L${libdir} -lneon
Cflags: -I${includedir}/neon @NEON_CFLAGS@

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2962cfcb5d30f3272e3d2fa0e473434419770a3801afe3d46e5d1650787990c2
size 909989

3
neon-0.30.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:00c626c0dc18d094ab374dbd9a354915bfe4776433289386ed489c2ec0845cdd
size 911414

7
neon-0.30.1.tar.gz.asc Normal file
View File

@ -0,0 +1,7 @@
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iEYEABECAAYFAlQ7x7kACgkQR/aWnQ5Ezwy9FwCfdsjk7gYz5/A5DCPEWIb5cj/5
kK4AniY5PvKp/ubAtS1pT9Y0ifygrQsn
=7pPa
-----END PGP SIGNATURE-----

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Mar 4 12:50:17 UTC 2015 - mpluskal@suse.com
- Cleanup spec file with spec-cleaner
- Add gpg signature
- Enable tests
- Use fdupes to remove duplicates
- Update to 0.30.1
* small changes, for details see included ChangeLog
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Aug 21 03:19:07 UTC 2013 - crrodriguez@opensuse.org Wed Aug 21 03:19:07 UTC 2013 - crrodriguez@opensuse.org

36
neon.keyring Normal file
View File

@ -0,0 +1,36 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v2
mQGiBDsvsLgRBACsHi7eM94mA9jlBxxwLC4ntK0Mj9WWm85V0C1y0Ei1MGz7q6Vu
WdxKgkNMauWrqKCBDQxOI3q5InZd/tZcOXQzGMtA6DxdAa50ZthfCbo0+8bfm00a
wCa5s/1x2tu7zuqcA7/3nOscZgss2k1RrZIALFimfXvq6hkchQyj9mnfKwCg1aOA
Wk7psAeH7UZgBqGHLcEKLjsD/11APufZVhmQtwKP8+yVe4d6UI7e2r4lURoT942g
tLlye1Rvh+FggkWjxKrwmyUaTW4jNDWEO1Sy1KCy/zb17lDQJReBNb4Q6wQwuySL
QqpFYUy3LtCJHnWsriC2d/iuLbBuQJxxQQQ0B0gichI+pqyZN2fmtiyucA3EzXv2
8WQQA/9eSsUHv1nq+t0mbOBg1wpo0qlofJ96kM6kh8tzD6SxsHx6WDqE2TkZ+6Kf
Lr6yFo4XLY+5DOZ5XgR5LBTyH4PH8M5gZkqfzDTCJfk4qc2XzVW91zSbzQ0fMGWq
CU937R2LwnIWyVXjBgT8QLO58ZW8/X17YIGcgqHW1i4VD7XwR7QdSm9lIE9ydG9u
IDxqb3J0b25AcmVkaGF0LmNvbT6IRgQQEQIABgUCQciczgAKCRCxifa00jpByKl+
AJ9KGx4I99zornYnta6oB49ZscQKawCeKbN14TSw5MbS4MHWqPOVWI9+MO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aF6Qtaa7KJw3SUviWTfyAv4Lob+bo0e9MdI2olI
vjg7VOi5wNPldVa4Cs4desqeXecJowP71gFV/NBdBPr2DLMXG3aOhtRZkG7aueoU
kuk+iEYEGBECAAYFAjsvsLoACgkQR/aWnQ5EzwyKgACcD+v7ABREHJd0RglLfFoA
uCcZ7FoAoNQYheE5UpBrTY6qK063clE3Gt2J
=jTLh
-----END PGP PUBLIC KEY BLOCK-----

View File

@ -1,7 +1,7 @@
# #
# spec file for package neon # spec file for package neon
# #
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # Copyright (c) 2015 SUSE LINUX GmbH, Nuernberg, Germany.
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@ -17,11 +17,19 @@
Name: neon Name: neon
Version: 0.30.0 Version: 0.30.1
Release: 0 Release: 0
Summary: An HTTP and WebDAV Client Library Summary: An HTTP and WebDAV Client Library
License: GPL-2.0+ License: GPL-2.0+
Group: Development/Libraries/Other Group: Development/Libraries/Other
Url: http://www.webdav.org/neon
Source0: http://www.webdav.org/neon/neon-%{version}.tar.gz
Source1: http://www.webdav.org/neon/neon-%{version}.tar.gz.asc
Source2: %{name}.keyring
Source3: baselibs.conf
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/Packaging/Patches
Patch0: %{name}-0.28.4-bloat.patch
BuildRequires: fdupes
BuildRequires: krb5-devel BuildRequires: krb5-devel
BuildRequires: libexpat-devel BuildRequires: libexpat-devel
BuildRequires: libopenssl-devel BuildRequires: libopenssl-devel
@ -29,17 +37,11 @@ BuildRequires: libproxy-devel
BuildRequires: libtool BuildRequires: libtool
BuildRequires: pkg-config BuildRequires: pkg-config
BuildRequires: zlib-devel BuildRequires: zlib-devel
BuildRoot: %{_tmppath}/%{name}-%{version}-build
# bug437293 # bug437293
%ifarch ppc64 %ifarch ppc64
Obsoletes: neon-64bit Obsoletes: neon-64bit
%endif %endif
Url: http://www.webdav.org/neon
#
Source: http://www.webdav.org/neon/neon-%{version}.tar.gz
Source2: baselibs.conf
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/Packaging/Patches
Patch0: %{name}-0.28.4-bloat.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description %description
neon is an HTTP and WebDAV client library with a C interface. neon is an HTTP and WebDAV client library with a C interface.
@ -118,7 +120,6 @@ Obsoletes: neon-devel < %{version}
%ifarch ppc64 %ifarch ppc64
Obsoletes: neon-devel-64bit Obsoletes: neon-devel-64bit
%endif %endif
#
%description -n libneon-devel %description -n libneon-devel
neon is an HTTP and WebDAV client library with a C interface. neon is an HTTP and WebDAV client library with a C interface.
@ -163,14 +164,15 @@ sh autogen.sh
--disable-static \ --disable-static \
--enable-warnings \ --enable-warnings \
--with-pic --with-pic
%{__make} %{?_smp_mflags} make %{?_smp_mflags}
%install %install
make DESTDIR=%{buildroot} docdir=%{_defaultdocdir}/%{name} install install-man install-html make DESTDIR=%{buildroot} docdir=%{_defaultdocdir}/%{name} install install-man install-html %{?_smp_mflags}
rm -f %{buildroot}%{_libdir}/*.la find %{buildroot} -type f -name "*.la" -delete -print
%fdupes -s %{buildroot}
%check %check
#make check make check
%post -n libneon27 -p /sbin/ldconfig %post -n libneon27 -p /sbin/ldconfig