michael@0: %define _root_libdir /%{_lib} michael@0: michael@0: Summary: Generic Security Services Application Programming Interface Library michael@0: Name: libgssglue michael@0: Version: 0.1 michael@0: Release: 9%{?dist} michael@0: URL: http://www.citi.umich.edu/projects/nfsv4/linux/ michael@0: License: GPL+ michael@0: Source0:http://www.citi.umich.edu/projects/nfsv4/linux/%{name}/%{name}-%{version}.tar.gz michael@0: Group: System Environment/Libraries michael@0: BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root michael@0: Requires: krb5-libs >= 1.5 michael@0: michael@0: Provides: libgssapi = %{version}-%{release} michael@0: Provides: libgssapi-devel = %{version}-%{release} michael@0: Obsoletes: libgssapi <= 0.11 libgssapi-devel <= 0.11 michael@0: michael@0: Patch0: libgssglue-0.1-gssglue.patch michael@0: michael@0: %description michael@0: This library exports a gssapi interface, but doesn't implement any gssapi michael@0: mechanisms itself; instead it calls gssapi routines in other libraries, michael@0: depending on the mechanism. michael@0: michael@0: %package devel michael@0: Summary: Development files for the gssclug library michael@0: Group: Development/Libraries michael@0: Requires: %{name} = %{version}-%{release} michael@0: Requires: pkgconfig michael@0: michael@0: %description devel michael@0: This package includes header files and libraries necessary for michael@0: developing programs which use the gssapi library. michael@0: michael@0: %prep michael@0: %setup -q michael@0: %patch0 -p1 michael@0: michael@0: %build michael@0: %configure michael@0: make %{?_smp_mflags} all michael@0: michael@0: %install michael@0: rm -rf %{buildroot} michael@0: mkdir -p %{buildroot}/%{_sysconfdir} michael@0: mkdir -p %{buildroot}%{_root_libdir} michael@0: mkdir -p %{buildroot}%{_libdir}/pkgconfig michael@0: make DESTDIR=%{buildroot} install \ michael@0: libdir=%{_root_libdir} pkgconfigdir=%{_libdir}/pkgconfig michael@0: install -p -m 644 doc/gssapi_mech.conf %{buildroot}/%{_sysconfdir}/gssapi_mech.conf michael@0: rm -f %{buildroot}/%{_root_libdir}/*.{a,la} michael@0: michael@0: %post -p /sbin/ldconfig michael@0: michael@0: %postun -p /sbin/ldconfig michael@0: michael@0: %clean michael@0: rm -rf %{buildroot} michael@0: michael@0: michael@0: %files michael@0: %defattr(-,root,root,-) michael@0: %doc AUTHORS ChangeLog NEWS README michael@0: %{_root_libdir}/libgssglue.so.* michael@0: %config(noreplace) %{_sysconfdir}/gssapi_mech.conf michael@0: michael@0: %files devel michael@0: %defattr(0644,root,root,755) michael@0: %{_root_libdir}/libgssglue.so michael@0: %dir %{_includedir}/gssglue michael@0: %dir %{_includedir}/gssglue/gssapi michael@0: %{_includedir}/gssglue/gssapi/gssapi.h michael@0: %{_libdir}/pkgconfig/libgssglue.pc michael@0: michael@0: %changelog michael@0: * Thu Dec 2 2010 Steve Dickson 0.1-9 michael@0: - Moved the libraries from /usr/lib to /lib michael@0: michael@0: * Fri Jul 24 2009 Fedora Release Engineering - 0.1-8 michael@0: - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild michael@0: michael@0: * Wed Feb 25 2009 Fedora Release Engineering - 0.1-7 michael@0: - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild michael@0: michael@0: * Fri Jun 27 2008 Steve Dickson 0.1-6 michael@0: - Changed gssapi_mech.conf to use libgssapi_krb5.so.2 michael@0: instead of libgssapi_krb5.so (bz 447503) michael@0: michael@0: * Tue Feb 19 2008 Fedora Release Engineering - 0.1-5 michael@0: - Autorebuild for GCC 4.3 michael@0: michael@0: * Wed Oct 17 2007 Steve Dickson 0.1-4 michael@0: - updated Obsoletes: (0.1-3) michael@0: - Obsolete -devel package michael@0: michael@0: * Mon Sep 17 2007 Steve Dickson 0.1-2 michael@0: - RPM review michael@0: michael@0: * Tue Sep 11 2007 Steve Dickson michael@0: - Initial commit