libgssglue-vl.spec 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. Summary: Generic Security Services Application Programming Interface Library
  2. Name: libgssglue
  3. Version: 0.1
  4. Release: 7%{?_dist_release}
  5. URL: http://www.citi.umich.edu/projects/nfsv4/linux/
  6. License: GPL+
  7. Source0:http://www.citi.umich.edu/projects/nfsv4/linux/%{name}/%{name}-%{version}.tar.gz
  8. Group: System Environment/Libraries
  9. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  10. #Requires: krb5-libs >= 1.5
  11. Provides: libgssapi = %{version}-%{release}
  12. Obsoletes: libgssapi <= 0.11
  13. Patch0: libgssglue-0.1-gssglue.patch
  14. %description
  15. This library exports a gssapi interface, but doesn't implement any gssapi
  16. mechanisms itself; instead it calls gssapi routines in other libraries,
  17. depending on the mechanism.
  18. %package devel
  19. Summary: Development files for the gssclug library
  20. Group: Development/Libraries
  21. Requires: %{name} = %{version}-%{release}
  22. Requires: pkgconfig
  23. Provides: libgssapi-devel = %{version}-%{release}
  24. Obsoletes: libgssapi-devel <= 0.11
  25. %description devel
  26. This package includes header files and libraries necessary for
  27. developing programs which use the gssapi library.
  28. %prep
  29. %setup -q
  30. %patch0 -p1
  31. %build
  32. %configure
  33. make %{?_smp_mflags} all
  34. %install
  35. rm -rf %{buildroot}
  36. mkdir -p %{buildroot}/%{_sysconfdir}
  37. make DESTDIR=%{buildroot} install
  38. install -p -m 644 doc/gssapi_mech.conf %{buildroot}/%{_sysconfdir}/gssapi_mech.conf
  39. rm -f %{buildroot}/%{_libdir}/*.a %{buildroot}/%{_libdir}/*.la
  40. %post -p /sbin/ldconfig
  41. %postun -p /sbin/ldconfig
  42. %clean
  43. rm -rf %{buildroot}
  44. %files
  45. %defattr(-,root,root,-)
  46. %doc AUTHORS ChangeLog NEWS README
  47. %{_libdir}/libgssglue.so.*
  48. %config(noreplace) %{_sysconfdir}/gssapi_mech.conf
  49. %files devel
  50. %defattr(0644,root,root,755)
  51. %{_libdir}/libgssglue.so
  52. %dir %{_includedir}/gssglue
  53. %dir %{_includedir}/gssglue/gssapi
  54. %{_includedir}/gssglue/gssapi/gssapi.h
  55. %{_libdir}/pkgconfig/libgssglue.pc
  56. %changelog
  57. * Sun Sep 26 2010 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.1-7
  58. - rebuild with rpm-4.8.1 for pkg-config file
  59. * Sun Feb 14 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> - 0.1-6
  60. - rebuilt with new toolchain
  61. * Sun May 11 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> - 0.1-5
  62. - initial build for Vine Linux
  63. * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.1-5
  64. - Autorebuild for GCC 4.3
  65. * Wed Oct 17 2007 Steve Dickson <steved@redhat.com> 0.1-4
  66. - updated Obsoletes: (0.1-3)
  67. - Obsolete -devel package
  68. * Mon Sep 17 2007 Steve Dickson <steved@redhat.com> 0.1-2
  69. - RPM review
  70. * Tue Sep 11 2007 Steve Dickson <steved@redhat.com>
  71. - Initial commit