Accepting request 328401 from home:enzokiel:branches:network
Some changes in spec file to enable build for SLES OBS-URL: https://build.opensuse.org/request/show/328401 OBS-URL: https://build.opensuse.org/package/show/network/libheimdal?expand=0&rev=5
This commit is contained in:
committed by
Git OBS Bridge
parent
34e07eeb39
commit
034647761b
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Sep 01 21:03:13 UTC 2015 - joerg.lorenzen@ki.tng.de
|
||||
|
||||
- Some changes in spec file to enable build for SLES.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Aug 30 11:20:03 UTC 2015 - joerg.lorenzen@ki.tng.de
|
||||
|
||||
|
@@ -26,25 +26,31 @@ Url: http://www.h5l.org
|
||||
Source0: http://www.h5l.org/dist/src/heimdal-%{version}.tar.gz
|
||||
Source1: http://www.h5l.org/dist/src/heimdal-%{version}.tar.gz.asc
|
||||
Patch0: heimdal-version-script-client.map.patch
|
||||
%if 0%{?sles_version} == 11
|
||||
BuildRequires: sqlite3-devel
|
||||
BuildRequires: xorg-x11-libX11-devel
|
||||
BuildRequires: xorg-x11-libXau-devel
|
||||
BuildRequires: xorg-x11-libXt-devel
|
||||
%else
|
||||
BuildRequires: pkgconfig(sqlite3)
|
||||
BuildRequires: pkgconfig(x11)
|
||||
BuildRequires: pkgconfig(xau)
|
||||
BuildRequires: pkgconfig(xt)
|
||||
%if 0%{suse_version} > 1310
|
||||
%endif
|
||||
%if 0%{suse_version} > 1315
|
||||
BuildRequires: pkgconfig(ncurses) >= 5.3
|
||||
%else
|
||||
BuildRequires: ncurses-devel >= 5.3
|
||||
%endif
|
||||
BuildRequires: bison
|
||||
BuildRequires: db-devel >= 4.2.52
|
||||
BuildRequires: db-devel >= 4.8
|
||||
BuildRequires: e2fsprogs-devel
|
||||
BuildRequires: flex
|
||||
BuildRequires: libtool
|
||||
BuildRequires: openldap2-devel >= 2.0
|
||||
BuildRequires: pam-devel
|
||||
BuildRequires: pkg-config
|
||||
BuildRequires: readline-devel
|
||||
BuildRequires: texinfo
|
||||
BuildRequires: pkgconfig(sqlite3)
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@@ -79,8 +85,8 @@ libraries are required by 64bit package of ICAClient version 13.2.
|
||||
%patch0
|
||||
|
||||
%build
|
||||
autoreconf -fi
|
||||
%configure
|
||||
%configure \
|
||||
--with-sqlite3=%{_prefix}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
%install
|
||||
@@ -92,7 +98,13 @@ rm -rf %{buildroot}%{_mandir}
|
||||
rm -rf %{buildroot}%{_libdir}/*.a
|
||||
rm -rf %{buildroot}%{_libdir}/*.la
|
||||
%ifarch x86_64
|
||||
%if 0%{?sles_version} == 11
|
||||
shopt -s extglob
|
||||
rm -rf %{buildroot}%{_libexecdir}/!(*.so*|pkgconfig)
|
||||
shopt -u extglob
|
||||
%else
|
||||
rm -rf %{buildroot}%{_libexecdir}
|
||||
%endif
|
||||
%else
|
||||
shopt -s extglob
|
||||
rm -rf %{buildroot}%{_libexecdir}/!(*.so*|pkgconfig)
|
||||
@@ -116,13 +128,15 @@ shopt -u extglob
|
||||
%defattr(-,root,root)
|
||||
%doc LICENSE NEWS README TODO
|
||||
%{_libdir}/libasn1.so.8*
|
||||
%if 0%{?sles_version} == 11
|
||||
%{_libdir}/libcom_err.so.1*
|
||||
%endif
|
||||
%{_libdir}/libgssapi.so.3*
|
||||
%{_libdir}/libhcrypto.so.4*
|
||||
%{_libdir}/libhdb.so.9*
|
||||
%{_libdir}/libheimbase.so.1*
|
||||
%{_libdir}/libheimedit.so.0*
|
||||
%{_libdir}/libheimntlm.so.0*
|
||||
%{_libdir}/libheimsqlite.so.0*
|
||||
%{_libdir}/libhx509.so.5*
|
||||
%{_libdir}/libkadm5clnt.so.7*
|
||||
%{_libdir}/libkadm5srv.so.8*
|
||||
|
Reference in New Issue
Block a user