]> git.pld-linux.org Git - packages/cdk.git/commitdiff
- more verbose files, ghost soname symlink
authorJakub Bogusz <qboosh@pld-linux.org>
Fri, 5 Nov 2010 08:04:48 +0000 (08:04 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- pass rpmcppflags

Changed files:
    cdk.spec -> 1.40

cdk.spec

index 6f3182b827a9d4e326f51df29014f290f34f4c80..68f3f82b502bb30627ebad874d47fdc9b8673094 100644 (file)
--- a/cdk.spec
+++ b/cdk.spec
@@ -79,7 +79,7 @@ ln -sf . include/cdk
 %build
 # -funsigned-char gives valid 8bit display
 CFLAGS="%{rpmcflags} -funsigned-char"
 %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
 %configure2_13 \
        --disable-x \
        --with-ncurses
@@ -97,6 +97,8 @@ install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
        DESTDIR=$RPM_BUILD_ROOT
 install include/cdk_test.h $RPM_BUILD_ROOT%{_includedir}/cdk
 
        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
 bzcat %{SOURCE1} | tar xf - -C $RPM_BUILD_ROOT%{_mandir}
 
 for d in demos examples; do
@@ -115,17 +117,18 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
 
 %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)
 
 %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) %{_bindir}/cdk5-config
-%attr(755,root,root) %{_libdir}/lib*.so
+%attr(755,root,root) %{_libdir}/libcdk.so
 %{_includedir}/cdk
 %{_includedir}/cdk
-%{_mandir}/man3/*
+%{_mandir}/man3/*.3*
 %{_examplesdir}/%{name}-%{version}
 
 %files static
 %defattr(644,root,root,755)
 %{_examplesdir}/%{name}-%{version}
 
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libcdk.a
This page took 0.067874 seconds and 4 git commands to generate.