forked from pool/gsoap
Avoid running fdupes on boring systems :)
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/gsoap?expand=0&rev=18
This commit is contained in:
parent
b14b3631d9
commit
573d77614b
79
gsoap.spec
79
gsoap.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package gsoap
|
# spec file for package gsoap
|
||||||
#
|
#
|
||||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2012 SUSE LINUX Products 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
|
||||||
@ -15,40 +15,53 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
Name: gsoap
|
|
||||||
%define lname libgsoap-2_8-0
|
|
||||||
Summary: Toolkit for C/C++ server and client web service applications
|
|
||||||
Version: 2.8.7
|
|
||||||
Release: 0
|
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
URL: http://gsoap2.sf.net/
|
|
||||||
License: SUSE-GPL-2.0+-with-openssl-exception
|
|
||||||
|
|
||||||
Source: gsoap-%version.tar.xz
|
Name: gsoap
|
||||||
Source2: sanitize_source.sh
|
%define lname libgsoap-2_8-0
|
||||||
Patch1: gsoap-01-sharedlibs.diff
|
Summary: Toolkit for C/C++ server and client web service applications
|
||||||
Patch2: gsoap-02-typepuns.diff
|
License: SUSE-GPL-2.0+-with-openssl-exception
|
||||||
Patch3: gsoap-03-initext.diff
|
Group: Development/Libraries/C and C++
|
||||||
Patch4: gsoap-04-strerror.diff
|
Version: 2.8.7
|
||||||
Patch5: gsoap-05-ipv6.diff
|
Release: 0
|
||||||
BuildRoot: %_tmppath/%name-%version-build
|
Url: http://gsoap2.sf.net/
|
||||||
BuildRequires: autoconf, automake, libtool
|
|
||||||
BuildRequires: bison, fdupes flex, gcc-c++, pkgconfig
|
Source: gsoap-%version.tar.xz
|
||||||
|
Source2: sanitize_source.sh
|
||||||
|
Patch1: gsoap-01-sharedlibs.diff
|
||||||
|
Patch2: gsoap-02-typepuns.diff
|
||||||
|
Patch3: gsoap-03-initext.diff
|
||||||
|
Patch4: gsoap-04-strerror.diff
|
||||||
|
Patch5: gsoap-05-ipv6.diff
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildRequires: autoconf
|
||||||
|
BuildRequires: automake
|
||||||
|
BuildRequires: bison
|
||||||
|
BuildRequires: flex
|
||||||
|
BuildRequires: gcc-c++
|
||||||
|
BuildRequires: libtool
|
||||||
|
BuildRequires: pkgconfig
|
||||||
%if 0%{?suse_version} >= 1130
|
%if 0%{?suse_version} >= 1130
|
||||||
BuildRequires: pkgconfig(gnutls), pkgconfig(libcrypto), pkgconfig(libssl)
|
BuildRequires: pkgconfig(gnutls)
|
||||||
|
BuildRequires: pkgconfig(libcrypto)
|
||||||
|
BuildRequires: pkgconfig(libssl)
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?suse_version} > 0 && 0%{?suse_version} < 1130
|
%if 0%{?suse_version} > 0 && 0%{?suse_version} < 1130
|
||||||
BuildRequires: libgnutls-devel, libopenssl-devel
|
BuildRequires: libgnutls-devel
|
||||||
|
BuildRequires: libopenssl-devel
|
||||||
|
%endif
|
||||||
|
%if 0%{?suse_version}
|
||||||
|
BuildRequires: fdupes
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?fedora_version} > 0
|
%if 0%{?fedora_version} > 0
|
||||||
BuildRequires: gnutls-devel, openssl-devel
|
BuildRequires: gnutls-devel
|
||||||
|
BuildRequires: openssl-devel
|
||||||
%endif
|
%endif
|
||||||
%if 0%{?suse_version} >= 1140
|
%if 0%{?suse_version} >= 1140
|
||||||
BuildRequires: pkgconfig(zlib)
|
BuildRequires: pkgconfig(zlib)
|
||||||
%else
|
%else
|
||||||
BuildRequires: zlib-devel
|
BuildRequires: zlib-devel
|
||||||
%endif
|
%endif
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The gSOAP toolkit provides a cross-platform software development
|
The gSOAP toolkit provides a cross-platform software development
|
||||||
@ -61,15 +74,15 @@ also supports WS-Addressing and WS-Security, with several other WS-*
|
|||||||
available or under development.
|
available or under development.
|
||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development files for the gSOAP toolkit
|
Summary: Development files for the gSOAP toolkit
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
This package contains the runtime development programs for gSOAP.
|
This package contains the runtime development programs for gSOAP.
|
||||||
|
|
||||||
%package -n %lname
|
%package -n %lname
|
||||||
Summary: Runtime libraries for gSOAP
|
Summary: Runtime libraries for gSOAP
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
|
|
||||||
%description -n %lname
|
%description -n %lname
|
||||||
The gSOAP toolkit provides a cross-platform software development
|
The gSOAP toolkit provides a cross-platform software development
|
||||||
@ -82,9 +95,9 @@ also supports WS-Addressing and WS-Security, with several other WS-*
|
|||||||
available or under development.
|
available or under development.
|
||||||
|
|
||||||
%package -n libgsoap-devel
|
%package -n libgsoap-devel
|
||||||
Summary: Development files for libgsoap
|
Summary: Development files for libgsoap
|
||||||
Group: Development/Libraries/C and C++
|
Group: Development/Libraries/C and C++
|
||||||
Requires: %lname = %version
|
Requires: %lname = %version
|
||||||
|
|
||||||
%description -n libgsoap-devel
|
%description -n libgsoap-devel
|
||||||
This package contains the include headers and development library
|
This package contains the include headers and development library
|
||||||
@ -113,7 +126,9 @@ make %{?_smp_mflags};
|
|||||||
b="%buildroot";
|
b="%buildroot";
|
||||||
make install DESTDIR="$b";
|
make install DESTDIR="$b";
|
||||||
rm -f "$b/%_libdir"/*.la;
|
rm -f "$b/%_libdir"/*.la;
|
||||||
|
%if 0%{?fdupes:1}
|
||||||
%fdupes %buildroot
|
%fdupes %buildroot
|
||||||
|
%endif
|
||||||
|
|
||||||
%post -n %lname -p /sbin/ldconfig
|
%post -n %lname -p /sbin/ldconfig
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user