1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/libgssglue/libgssglue.spec Fri Mar 11 21:30:26 2011 +0100 1.3 @@ -0,0 +1,100 @@ 1.4 +%define _root_libdir /%{_lib} 1.5 + 1.6 +Summary: Generic Security Services Application Programming Interface Library 1.7 +Name: libgssglue 1.8 +Version: 0.1 1.9 +Release: 9%{?dist} 1.10 +URL: http://www.citi.umich.edu/projects/nfsv4/linux/ 1.11 +License: GPL+ 1.12 +Source0:http://www.citi.umich.edu/projects/nfsv4/linux/%{name}/%{name}-%{version}.tar.gz 1.13 +Group: System Environment/Libraries 1.14 +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root 1.15 +Requires: krb5-libs >= 1.5 1.16 + 1.17 +Provides: libgssapi = %{version}-%{release} 1.18 +Provides: libgssapi-devel = %{version}-%{release} 1.19 +Obsoletes: libgssapi <= 0.11 libgssapi-devel <= 0.11 1.20 + 1.21 +Patch0: libgssglue-0.1-gssglue.patch 1.22 + 1.23 +%description 1.24 +This library exports a gssapi interface, but doesn't implement any gssapi 1.25 +mechanisms itself; instead it calls gssapi routines in other libraries, 1.26 +depending on the mechanism. 1.27 + 1.28 +%package devel 1.29 +Summary: Development files for the gssclug library 1.30 +Group: Development/Libraries 1.31 +Requires: %{name} = %{version}-%{release} 1.32 +Requires: pkgconfig 1.33 + 1.34 +%description devel 1.35 +This package includes header files and libraries necessary for 1.36 +developing programs which use the gssapi library. 1.37 + 1.38 +%prep 1.39 +%setup -q 1.40 +%patch0 -p1 1.41 + 1.42 +%build 1.43 +%configure 1.44 +make %{?_smp_mflags} all 1.45 + 1.46 +%install 1.47 +rm -rf %{buildroot} 1.48 +mkdir -p %{buildroot}/%{_sysconfdir} 1.49 +mkdir -p %{buildroot}%{_root_libdir} 1.50 +mkdir -p %{buildroot}%{_libdir}/pkgconfig 1.51 +make DESTDIR=%{buildroot} install \ 1.52 + libdir=%{_root_libdir} pkgconfigdir=%{_libdir}/pkgconfig 1.53 +install -p -m 644 doc/gssapi_mech.conf %{buildroot}/%{_sysconfdir}/gssapi_mech.conf 1.54 +rm -f %{buildroot}/%{_root_libdir}/*.{a,la} 1.55 + 1.56 +%post -p /sbin/ldconfig 1.57 + 1.58 +%postun -p /sbin/ldconfig 1.59 + 1.60 +%clean 1.61 +rm -rf %{buildroot} 1.62 + 1.63 + 1.64 +%files 1.65 +%defattr(-,root,root,-) 1.66 +%doc AUTHORS ChangeLog NEWS README 1.67 +%{_root_libdir}/libgssglue.so.* 1.68 +%config(noreplace) %{_sysconfdir}/gssapi_mech.conf 1.69 + 1.70 +%files devel 1.71 +%defattr(0644,root,root,755) 1.72 +%{_root_libdir}/libgssglue.so 1.73 +%dir %{_includedir}/gssglue 1.74 +%dir %{_includedir}/gssglue/gssapi 1.75 +%{_includedir}/gssglue/gssapi/gssapi.h 1.76 +%{_libdir}/pkgconfig/libgssglue.pc 1.77 + 1.78 +%changelog 1.79 +* Thu Dec 2 2010 Steve Dickson <steved@redhat.com> 0.1-9 1.80 +- Moved the libraries from /usr/lib to /lib 1.81 + 1.82 +* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-8 1.83 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild 1.84 + 1.85 +* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-7 1.86 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild 1.87 + 1.88 +* Fri Jun 27 2008 Steve Dickson <steved@redhat.com> 0.1-6 1.89 +- Changed gssapi_mech.conf to use libgssapi_krb5.so.2 1.90 + instead of libgssapi_krb5.so (bz 447503) 1.91 + 1.92 +* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.1-5 1.93 +- Autorebuild for GCC 4.3 1.94 + 1.95 +* Wed Oct 17 2007 Steve Dickson <steved@redhat.com> 0.1-4 1.96 +- updated Obsoletes: (0.1-3) 1.97 +- Obsolete -devel package 1.98 + 1.99 +* Mon Sep 17 2007 Steve Dickson <steved@redhat.com> 0.1-2 1.100 +- RPM review 1.101 + 1.102 +* Tue Sep 11 2007 Steve Dickson <steved@redhat.com> 1.103 +- Initial commit