Пакет gnustep-gscrypt: Specfile

%set_verify_elf_method unresolved=strict

Name: gnustep-gscrypt
Version: r31301
Release: alt4
Summary: GNUstep GSCrypt Library
License: GPLv3
Group: Graphical desktop/GNUstep
Url: https://github.com/gnustep/gnustep-gscrypt
Packager: Andrey Cherepanov <cas@altlinux.org>

# https://github.com/gnustep/gnustep-gscrypt.git
Source: %name-%version.tar
Patch1: link-libs.patch

BuildPreReq: gnustep-make-devel /proc
BuildPreReq: gnustep-gui-devel
BuildPreReq: libgmp-devel libgnutls-devel libgcrypt-devel
BuildPreReq: libxslt-devel libffi-devel libicu-devel zlib-devel
BuildPreReq: libpam0-devel

%description
GNUstep GSCrypt Library.

%package -n lib%name
Summary: GNUstep GSCrypt Library
Group: System/Libraries

%description -n lib%name
GNUstep GSCrypt Library.

%package -n lib%name-devel
Summary: Development files of GNUstep GSCrypt Library
Group: Development/Objective-C
Provides: %name-devel = %EVR
Requires: lib%name = %EVR

%description -n lib%name-devel
GNUstep GSCrypt Library.

This package contains development files of GNUstep GSCrypt Library.

%prep
%setup
%patch1 -p1

mkdir gscrypt
cp *.h gscrypt/

%build
. %_datadir/GNUstep/Makefiles/GNUstep.sh

%make_build \
	messages=yes \
	debug=yes \
	strip=no \
	shared=yes \
	CONFIG_SYSTEM_LIBS='-lpam -lgnustep-base -lobjc2'
 
%install
. %_datadir/GNUstep/Makefiles/GNUstep.sh

%makeinstall_std GNUSTEP_INSTALLATION_DOMAIN=SYSTEM

%files -n lib%name
%doc ChangeLog
%_libdir/*.so.*

%files -n lib%name-devel
%_includedir/*
%_libdir/*.so

%changelog
* Wed Nov 04 2020 Andrey Cherepanov <cas@altlinux.org> r31301-alt4
- Remove redundant clang-devel for build

* Wed Oct 07 2020 Andrey Cherepanov <cas@altlinux.org> r31301-alt3
- Build without libgnustep-objc2-devel.

* Fri Feb 14 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> r31301-alt2.git20100910
- Built with clang

* Sat Jan 25 2014 Eugeny A. Rostovtsev (REAL) <real at altlinux.org> r31301-alt1.git20100910
- Initial build for Sisyphus