SPECS: libgssapi.spec - up to 0.11 - moved library to /lib (needed...

baggins baggins at pld-linux.org
Tue Apr 24 14:07:42 CEST 2007


Author: baggins                      Date: Tue Apr 24 12:07:42 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- up to 0.11
- moved library to /lib (needed for libtirpc/rpcbind)

---- Files affected:
SPECS:
   libgssapi.spec (1.18 -> 1.19) 

---- Diffs:

================================================================
Index: SPECS/libgssapi.spec
diff -u SPECS/libgssapi.spec:1.18 SPECS/libgssapi.spec:1.19
--- SPECS/libgssapi.spec:1.18	Sat Mar 31 01:24:56 2007
+++ SPECS/libgssapi.spec	Tue Apr 24 14:07:37 2007
@@ -2,12 +2,12 @@
 Summary:	GSSAPI interface using mechanisms from other GSSAPI implementations
 Summary(pl.UTF-8):	Interfejs GSSAPI używający mechanizmów z innych implementacji GSSAPI
 Name:		libgssapi
-Version:	0.10
-Release:	2
+Version:	0.11
+Release:	1
 License:	mixture of UM and Sun licenses
 Group:		Libraries
 Source0:	http://www.citi.umich.edu/projects/nfsv4/linux/libgssapi/%{name}-%{version}.tar.gz
-# Source0-md5:	0a384f8efaefe45373bb206b592152b5
+# Source0-md5:	0e5b4c7267724f8ddf64bc35514c272e
 Patch0:		%{name}-soname.patch
 URL:		http://www.citi.umich.edu/projects/nfsv4/linux/
 BuildRequires:	autoconf >= 2.59
@@ -54,22 +54,23 @@
 %patch0 -p1
 
 %build
-%{__libtoolize}
-%{__aclocal}
-%{__autoconf}
-%{__automake}
 %configure
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT%{_sysconfdir}
+install -d $RPM_BUILD_ROOT{%{_sysconfdir},/%{_lib}}
 
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
 sed -e 's|lib|%{_lib}|g' doc/gssapi_mech.conf > $RPM_BUILD_ROOT%{_sysconfdir}/gssapi_mech.conf
 
+mv -f $RPM_BUILD_ROOT%{_libdir}/lib*.so.* $RPM_BUILD_ROOT/%{_lib}
+rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.so
+ln -sf /%{_lib}/`(cd $RPM_BUILD_ROOT/%{_lib}; echo lib*.so.*.*)` \
+	$RPM_BUILD_ROOT%{_libdir}/libgssapi.so
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -79,7 +80,8 @@
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS COPYING ChangeLog README
-%attr(755,root,root) %{_libdir}/libgssapi.so.*.*.*
+%attr(755,root,root) /%{_lib}/libgssapi.so.*.*
+%ghost %attr(755,root,root) /%{_lib}/libgssapi.so.?
 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/gssapi_mech.conf
 
 %files devel
@@ -99,6 +101,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.19  2007/04/24 12:07:37  baggins
+- up to 0.11
+- moved library to /lib (needed for libtirpc/rpcbind)
+
 Revision 1.18  2007/03/30 23:24:56  baggins
 - create sysconfdir
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/libgssapi.spec?r1=1.18&r2=1.19&f=u



More information about the pld-cvs-commit mailing list