Fri, 11 Mar 2011 21:30:26 +0100
Import package vendor original specs for necessary manipulations.
michael@0 | 1 | %define _root_libdir /%{_lib} |
michael@0 | 2 | |
michael@0 | 3 | Summary: Generic Security Services Application Programming Interface Library |
michael@0 | 4 | Name: libgssglue |
michael@0 | 5 | Version: 0.1 |
michael@0 | 6 | Release: 9%{?dist} |
michael@0 | 7 | URL: http://www.citi.umich.edu/projects/nfsv4/linux/ |
michael@0 | 8 | License: GPL+ |
michael@0 | 9 | Source0:http://www.citi.umich.edu/projects/nfsv4/linux/%{name}/%{name}-%{version}.tar.gz |
michael@0 | 10 | Group: System Environment/Libraries |
michael@0 | 11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root |
michael@0 | 12 | Requires: krb5-libs >= 1.5 |
michael@0 | 13 | |
michael@0 | 14 | Provides: libgssapi = %{version}-%{release} |
michael@0 | 15 | Provides: libgssapi-devel = %{version}-%{release} |
michael@0 | 16 | Obsoletes: libgssapi <= 0.11 libgssapi-devel <= 0.11 |
michael@0 | 17 | |
michael@0 | 18 | Patch0: libgssglue-0.1-gssglue.patch |
michael@0 | 19 | |
michael@0 | 20 | %description |
michael@0 | 21 | This library exports a gssapi interface, but doesn't implement any gssapi |
michael@0 | 22 | mechanisms itself; instead it calls gssapi routines in other libraries, |
michael@0 | 23 | depending on the mechanism. |
michael@0 | 24 | |
michael@0 | 25 | %package devel |
michael@0 | 26 | Summary: Development files for the gssclug library |
michael@0 | 27 | Group: Development/Libraries |
michael@0 | 28 | Requires: %{name} = %{version}-%{release} |
michael@0 | 29 | Requires: pkgconfig |
michael@0 | 30 | |
michael@0 | 31 | %description devel |
michael@0 | 32 | This package includes header files and libraries necessary for |
michael@0 | 33 | developing programs which use the gssapi library. |
michael@0 | 34 | |
michael@0 | 35 | %prep |
michael@0 | 36 | %setup -q |
michael@0 | 37 | %patch0 -p1 |
michael@0 | 38 | |
michael@0 | 39 | %build |
michael@0 | 40 | %configure |
michael@0 | 41 | make %{?_smp_mflags} all |
michael@0 | 42 | |
michael@0 | 43 | %install |
michael@0 | 44 | rm -rf %{buildroot} |
michael@0 | 45 | mkdir -p %{buildroot}/%{_sysconfdir} |
michael@0 | 46 | mkdir -p %{buildroot}%{_root_libdir} |
michael@0 | 47 | mkdir -p %{buildroot}%{_libdir}/pkgconfig |
michael@0 | 48 | make DESTDIR=%{buildroot} install \ |
michael@0 | 49 | libdir=%{_root_libdir} pkgconfigdir=%{_libdir}/pkgconfig |
michael@0 | 50 | install -p -m 644 doc/gssapi_mech.conf %{buildroot}/%{_sysconfdir}/gssapi_mech.conf |
michael@0 | 51 | rm -f %{buildroot}/%{_root_libdir}/*.{a,la} |
michael@0 | 52 | |
michael@0 | 53 | %post -p /sbin/ldconfig |
michael@0 | 54 | |
michael@0 | 55 | %postun -p /sbin/ldconfig |
michael@0 | 56 | |
michael@0 | 57 | %clean |
michael@0 | 58 | rm -rf %{buildroot} |
michael@0 | 59 | |
michael@0 | 60 | |
michael@0 | 61 | %files |
michael@0 | 62 | %defattr(-,root,root,-) |
michael@0 | 63 | %doc AUTHORS ChangeLog NEWS README |
michael@0 | 64 | %{_root_libdir}/libgssglue.so.* |
michael@0 | 65 | %config(noreplace) %{_sysconfdir}/gssapi_mech.conf |
michael@0 | 66 | |
michael@0 | 67 | %files devel |
michael@0 | 68 | %defattr(0644,root,root,755) |
michael@0 | 69 | %{_root_libdir}/libgssglue.so |
michael@0 | 70 | %dir %{_includedir}/gssglue |
michael@0 | 71 | %dir %{_includedir}/gssglue/gssapi |
michael@0 | 72 | %{_includedir}/gssglue/gssapi/gssapi.h |
michael@0 | 73 | %{_libdir}/pkgconfig/libgssglue.pc |
michael@0 | 74 | |
michael@0 | 75 | %changelog |
michael@0 | 76 | * Thu Dec 2 2010 Steve Dickson <steved@redhat.com> 0.1-9 |
michael@0 | 77 | - Moved the libraries from /usr/lib to /lib |
michael@0 | 78 | |
michael@0 | 79 | * Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-8 |
michael@0 | 80 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild |
michael@0 | 81 | |
michael@0 | 82 | * Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-7 |
michael@0 | 83 | - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild |
michael@0 | 84 | |
michael@0 | 85 | * Fri Jun 27 2008 Steve Dickson <steved@redhat.com> 0.1-6 |
michael@0 | 86 | - Changed gssapi_mech.conf to use libgssapi_krb5.so.2 |
michael@0 | 87 | instead of libgssapi_krb5.so (bz 447503) |
michael@0 | 88 | |
michael@0 | 89 | * Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 0.1-5 |
michael@0 | 90 | - Autorebuild for GCC 4.3 |
michael@0 | 91 | |
michael@0 | 92 | * Wed Oct 17 2007 Steve Dickson <steved@redhat.com> 0.1-4 |
michael@0 | 93 | - updated Obsoletes: (0.1-3) |
michael@0 | 94 | - Obsolete -devel package |
michael@0 | 95 | |
michael@0 | 96 | * Mon Sep 17 2007 Steve Dickson <steved@redhat.com> 0.1-2 |
michael@0 | 97 | - RPM review |
michael@0 | 98 | |
michael@0 | 99 | * Tue Sep 11 2007 Steve Dickson <steved@redhat.com> |
michael@0 | 100 | - Initial commit |