SPECS: alltray.spec - cleanup

qboosh qboosh at pld-linux.org
Wed Jun 18 19:37:46 CEST 2008


Author: qboosh                       Date: Wed Jun 18 17:37:46 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- cleanup

---- Files affected:
SPECS:
   alltray.spec (1.13 -> 1.14) 

---- Diffs:

================================================================
Index: SPECS/alltray.spec
diff -u SPECS/alltray.spec:1.13 SPECS/alltray.spec:1.14
--- SPECS/alltray.spec:1.13	Wed Jun 18 18:52:12 2008
+++ SPECS/alltray.spec	Wed Jun 18 19:37:41 2008
@@ -4,11 +4,10 @@
 Name:		alltray
 Version:	0.70
 Release:	1
-License:	GPL v2
+License:	GPL v2+
 Group:		X11/Applications
 Source0:	http://dl.sourceforge.net/alltray/%{name}-%{version}.tar.gz
 # Source0-md5:	675a0a60f22fae04da787095ef0bd7d9
-#Patch0:		%{name}-notitlechange_nomenutitle.patch
 URL:		http://alltray.sourceforge.net/
 BuildRequires:	GConf2-devel
 BuildRequires:	autoconf
@@ -31,7 +30,6 @@
 
 %prep
 %setup -q
-#%%patch0 -p1
 
 %build
 %{__libtoolize}
@@ -48,19 +46,24 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
-rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la
+# liballtray.so.0.0.0 is explicitly LD_PRELOADed
+rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.{la,so}
 
-#%clean
-#rm -rf $RPM_BUILD_ROOT
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post	-p /sbin/ldconfig
+%postun	-p /sbin/ldconfig
 
 %files
 %defattr(644,root,root,755)
 %doc AUTHORS ChangeLog README
-%attr(755,root,root) %{_bindir}/*
-%attr(755,root,root) %{_libdir}/liballtray*.so*
+%attr(755,root,root) %{_bindir}/alltray
+%attr(755,root,root) %{_libdir}/liballtray.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/liballtray.so.0
 %{_mandir}/man1/alltray.1*
 %{_desktopdir}/%{name}.desktop
-%{_pixmapsdir}/*.png
+%{_pixmapsdir}/alltray.png
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -68,6 +71,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.14  2008/06/18 17:37:41  qboosh
+- cleanup
+
 Revision 1.13  2008/06/18 16:52:12  gzohop
 - up to 0.70
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/alltray.spec?r1=1.13&r2=1.14&f=u



More information about the pld-cvs-commit mailing list