diff --git a/README.md b/README.md index 059780e..2337060 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # libgssglue +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. + diff --git a/libgssglue.spec b/libgssglue.spec new file mode 100644 index 0000000..7b823b8 --- /dev/null +++ b/libgssglue.spec @@ -0,0 +1,76 @@ +Name: libgssglue +Version: 0.4 +Release: 1mamba +Summary: This library exports a gssapi interface by calling gssapi routines in other libraries +Group: System/Libraries +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +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 need for development. + +%prep + +%setup -q + +%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 ChangeLog NEWS README + +%files devel +%defattr(-,root,root) +%{_includedir}/gssglue/gssapi/gssapi.h +%{_libdir}/libgssglue.so +%{_libdir}/libgssglue.la +%{_libdir}/libgssglue.a +%{_libdir}/pkgconfig/*.pc + +%changelog +* Fri Aug 10 2012 Automatic Build System 0.4-1mamba +- automatic version update by autodist + +* Mon Jul 25 2011 Automatic Build System 0.3-1mamba +- automatic version update by autodist + +* Sun Mar 20 2011 Automatic Build System 0.2-1mamba +- automatic update by autodist + +* Fri Jun 06 2008 Silvan Calarco 0.1-1mamba +- package created by autospec