packages: aalib/aalib.spec - package ghost soname symlink

glen glen at pld-linux.org
Fri Mar 2 22:53:50 CET 2012


Author: glen                         Date: Fri Mar  2 21:53:50 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- package ghost soname symlink

---- Files affected:
packages/aalib:
   aalib.spec (1.86 -> 1.87) 

---- Diffs:

================================================================
Index: packages/aalib/aalib.spec
diff -u packages/aalib/aalib.spec:1.86 packages/aalib/aalib.spec:1.87
--- packages/aalib/aalib.spec:1.86	Sat Jan 29 01:06:05 2011
+++ packages/aalib/aalib.spec	Fri Mar  2 22:53:45 2012
@@ -2,7 +2,9 @@
 #
 # Conditional build:
 %bcond_without	static_libs	# don't build static library
-#
+
+%define		subver	rc5
+%define		rel		15
 Summary:	An ASCII art GFX library
 Summary(fr.UTF-8):	Bibliothèque AA (Ascii Art)
 Summary(es.UTF-8):	Biblioteca ASCII art
@@ -11,14 +13,12 @@
 Summary(ru.UTF-8):	Библиотека консольной графики (ASCII Art)
 Summary(uk.UTF-8):	Бібліотека консольної графіки (ASCII Art)
 Name:		aalib
-%define         _rc     rc5
-%define         _rel    14
 Version:	1.4
-Release:	0.%{_rc}.%{_rel}
+Release:	0.%{subver}.%{rel}
 Epoch:		1
 License:	LGPL
 Group:		Libraries
-Source0:	http://dl.sourceforge.net/aa-project/%{name}-%{version}%{_rc}.tar.gz
+Source0:	http://downloads.sourceforge.net/aa-project/%{name}-%{version}%{subver}.tar.gz
 # Source0-md5:	9801095c42bba12edebd1902bcf0a990
 Source1:	%{name}-config.1
 Patch0:		%{name}-info.patch
@@ -137,7 +137,7 @@
 Утиліти для AA-lib.
 
 %prep
-%setup -q -n %{name}-1.4.0
+%setup -q -n %{name}-%{version}.0
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
@@ -157,12 +157,13 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
 install -D %{SOURCE1} $RPM_BUILD_ROOT%{_mandir}/man1/aalib-config.1
 
+%{__rm} -f $RPM_BUILD_ROOT%{_infodir}/dir
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -178,13 +179,14 @@
 %files
 %defattr(644,root,root,755)
 %doc README NEWS AUTHORS ANNOUNCE ChangeLog
-%attr(755,root,root) %{_libdir}/lib*.so.*.*
+%attr(755,root,root) %{_libdir}/libaa.so.*.*
+%ghost %{_libdir}/libaa.so.1
 
 %files devel
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_bindir}/aalib-config
-%attr(755,root,root) %{_libdir}/lib*.so
-%{_libdir}/lib*.la
+%{_libdir}/libaa.so
+%{_libdir}/libaa.la
 %{_includedir}/*.h
 %{_infodir}/*.info*
 %{_mandir}/man1/aalib-config.1*
@@ -194,7 +196,7 @@
 %if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
-%{_libdir}/lib*.a
+%{_libdir}/libaa.a
 %endif
 
 %files progs
@@ -211,6 +213,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.87  2012/03/02 21:53:45  glen
+- package ghost soname symlink
+
 Revision 1.86  2011/01/29 00:06:05  sparky
 - dropped pre-cvs changelog
 
@@ -230,7 +235,7 @@
 - added missing #
 
 Revision 1.80  2007/07/21 19:03:24  witekfl
--added bcond_without static_libs
+- added bcond_without static_libs
 
 Revision 1.79  2007/05/04 00:07:07  shadzik
 - URL
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/aalib/aalib.spec?r1=1.86&r2=1.87&f=u



More information about the pld-cvs-commit mailing list