packages: cdk/cdk.spec - more verbose files, ghost soname symlink - pass rp...

qboosh qboosh at pld-linux.org
Fri Nov 5 09:04:56 CET 2010


Author: qboosh                       Date: Fri Nov  5 08:04:56 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- more verbose files, ghost soname symlink
- pass rpmcppflags

---- Files affected:
packages/cdk:
   cdk.spec (1.39 -> 1.40) 

---- Diffs:

================================================================
Index: packages/cdk/cdk.spec
diff -u packages/cdk/cdk.spec:1.39 packages/cdk/cdk.spec:1.40
--- packages/cdk/cdk.spec:1.39	Sat Oct 10 14:02:05 2009
+++ packages/cdk/cdk.spec	Fri Nov  5 09:04:48 2010
@@ -80,7 +80,7 @@
 %build
 # -funsigned-char gives valid 8bit display
 CFLAGS="%{rpmcflags} -funsigned-char"
-CPPFLAGS="-I/usr/include/ncurses"
+CPPFLAGS="%{rpmcppflags} -I/usr/include/ncurses"
 %configure2_13 \
 	--disable-x \
 	--with-ncurses
@@ -98,6 +98,8 @@
 	DESTDIR=$RPM_BUILD_ROOT
 install include/cdk_test.h $RPM_BUILD_ROOT%{_includedir}/cdk
 
+/sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}
+
 bzcat %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
 
 for d in demos examples; do
@@ -116,20 +118,21 @@
 
 %files
 %defattr(644,root,root,755)
-%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%doc CHANGES COPYING EXPANDING NOTES README TODO
+%attr(755,root,root) %{_libdir}/libcdk.so.*.*
+%attr(755,root,root) %ghost %{_libdir}/libcdk.so.5
 
 %files devel
 %defattr(644,root,root,755)
-%doc CHANGES COPYING EXPANDING NOTES README TODO
 %attr(755,root,root) %{_bindir}/cdk5-config
-%attr(755,root,root) %{_libdir}/lib*.so
+%attr(755,root,root) %{_libdir}/libcdk.so
 %{_includedir}/cdk
-%{_mandir}/man3/*
+%{_mandir}/man3/*.3*
 %{_examplesdir}/%{name}-%{version}
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libcdk.a
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -137,6 +140,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.40  2010/11/05 08:04:48  qboosh
+- more verbose files, ghost soname symlink
+- pass rpmcppflags
+
 Revision 1.39  2009/10/10 12:02:05  uzsolt
 - 20090215
 - install cdk_test.h too (needed by examples)
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/cdk/cdk.spec?r1=1.39&r2=1.40&f=u



More information about the pld-cvs-commit mailing list