SPECS: readline.spec - merged missing pieces from AC-branch

arekm arekm at pld-linux.org
Mon Sep 19 13:56:34 CEST 2005


Author: arekm                        Date: Mon Sep 19 11:56:34 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- merged missing pieces from AC-branch

---- Files affected:
SPECS:
   readline.spec (1.95 -> 1.96) 

---- Diffs:

================================================================
Index: SPECS/readline.spec
diff -u SPECS/readline.spec:1.95 SPECS/readline.spec:1.96
--- SPECS/readline.spec:1.95	Thu Apr  7 21:47:47 2005
+++ SPECS/readline.spec	Mon Sep 19 13:56:29 2005
@@ -38,6 +38,8 @@
 Requires(post,postun):	/sbin/ldconfig
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		sonameversion	5.0
+
 %description
 The "readline" library will read a line from the terminal and return
 it, allowing the user to edit the line with the standard emacs editing
@@ -65,7 +67,7 @@
 
 %description -l pl
 Biblioteka "readline" czyta linię z terminala i zwraca ją, pozwalając
-użytkownikowi modyfikować ją za pomocą standardowych klawiszy
+użytkownikowi edytować ją za pomocą standardowych klawiszy
 edycyjnych emacsa. Pozwala programiście dać użytkownikowi łatwy do
 użycia i bardziej intuicyjny interfejs.
 
@@ -228,8 +230,8 @@
 
 mv -f $RPM_BUILD_ROOT%{_libdir}/lib*.so.*.* $RPM_BUILD_ROOT/%{_lib}
 
-ln -sf /%{_lib}/$(cd $RPM_BUILD_ROOT/%{_lib} ; echo libreadline.so.*.*) $RPM_BUILD_ROOT%{_libdir}/libreadline.so
-ln -sf /%{_lib}/$(cd $RPM_BUILD_ROOT/%{_lib} ; echo libhistory.so.*.*) $RPM_BUILD_ROOT%{_libdir}/libhistory.so
+ln -sf /%{_lib}/libreadline.so.%{sonameversion} $RPM_BUILD_ROOT%{_libdir}/libreadline.so
+ln -sf /%{_lib}/libhistory.so.%{sonameversion} $RPM_BUILD_ROOT%{_libdir}/libhistory.so
 
 # help rpm to find deps
 chmod +x $RPM_BUILD_ROOT/%{_lib}/lib*.so*
@@ -254,8 +256,7 @@
 %files devel
 %defattr(644,root,root,755)
 %{_includedir}/readline
-%attr(755,root,root) %{_libdir}/libhistory.so
-%attr(755,root,root) %{_libdir}/libreadline.so
+%attr(755,root,root) %{_libdir}/lib*.so
 %{_mandir}/man3/*
 
 %files static
@@ -268,6 +269,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.96  2005/09/19 11:56:29  arekm
+- merged missing pieces from AC-branch
+
 Revision 1.95  2005/04/07 19:47:47  paszczus
 - added URL: http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/readline.spec?r1=1.95&r2=1.96&f=u




More information about the pld-cvs-commit mailing list