libgssglue/libgssglue.spec

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

mercurial