libgssglue/libgssglue.spec

82 lines
2.5 KiB
RPMSpec
Raw Permalink Normal View History

Name: libgssglue
Version: 0.4
Release: 2mamba
Summary: This library exports a gssapi interface by calling gssapi routines in other libraries
Group: System/Libraries
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.citi.umich.edu/projects/nfsv4/linux/
Source: http://www.citi.umich.edu/projects/nfsv4/linux/libgssglue/libgssglue-%{version}.tar.gz
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
## AUTOBUILDREQ-END
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
This library exports a gssapi interface, but doesn't implement any gssapi mechanisms itself; instead it calls gssapi routines in other libraries, depending on the mechanism.
%package devel
Summary: Devel package for %{name}
Group: Development/Libraries
Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release}
%description devel
This library exports a gssapi interface, but doesn't implement any gssapi mechanisms itself; instead it calls gssapi routines in other libraries, depending on the mechanism.
This package contains static libraries and header files needed for development.
%debug_package
%prep
%setup -q
sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
%build
%if "%{_host}" != "%{_build}"
export ac_cv_func_malloc_0_nonnull=yes
export ac_cv_func_realloc_0_nonnull=yes
%endif
%configure
%make
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%defattr(-,root,root)
%{_libdir}/libgssglue.so.*
%doc AUTHORS COPYING
%files devel
%defattr(-,root,root)
%{_includedir}/gssglue/gssapi/gssapi.h
%{_libdir}/libgssglue.so
%{_libdir}/libgssglue.la
%{_libdir}/libgssglue.a
%{_libdir}/pkgconfig/*.pc
%doc ChangeLog NEWS README
%changelog
* Sat Dec 05 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 0.4-2mamba
- rebuilt with debug package and aarch64 build fix
* Fri Aug 10 2012 Automatic Build System <autodist@mambasoft.it> 0.4-1mamba
- automatic version update by autodist
* Mon Jul 25 2011 Automatic Build System <autodist@mambasoft.it> 0.3-1mamba
- automatic version update by autodist
* Sun Mar 20 2011 Automatic Build System <autodist@mambasoft.it> 0.2-1mamba
- automatic update by autodist
* Fri Jun 06 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 0.1-1mamba
- package created by autospec