SPECS: XaraLX.spec - install symlink to binary (lowercase), run up...
freetz
freetz at pld-linux.org
Sun Jun 25 18:26:07 CEST 2006
Author: freetz Date: Sun Jun 25 16:26:07 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- install symlink to binary (lowercase), run updated-desktop-database
if found
---- Files affected:
SPECS:
XaraLX.spec (1.12 -> 1.13)
---- Diffs:
================================================================
Index: SPECS/XaraLX.spec
diff -u SPECS/XaraLX.spec:1.12 SPECS/XaraLX.spec:1.13
--- SPECS/XaraLX.spec:1.12 Sun Jun 25 17:39:24 2006
+++ SPECS/XaraLX.spec Sun Jun 25 18:26:02 2006
@@ -70,12 +70,22 @@
install -d $RPM_BUILD_ROOT{%{_examplesdir}/%{name},%{_desktopdir},%{_pixmapsdir}}
cp -r Designs testfiles $RPM_BUILD_ROOT%{_examplesdir}/%{name}
+ln -sf XaraLX $RPM_BUILD_ROOT%{_bindir}/xaralx3B
+
install xaralx.desktop $RPM_BUILD_ROOT%{_desktopdir}
install xaralx.png $RPM_BUILD_ROOT%{_pixmapsdir}
%clean
rm -rf $RPM_BUILD_ROOT
+%post
+umask 022
+[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1 ||:
+
+%postun
+umask 022
+[ ! -x /usr/bin/update-desktop-database ] || /usr/bin/update-desktop-database >/dev/null 2>&1
+
%files
%defattr(644,root,root,755)
%doc LICENSE libs/LIBS-LICENSE
@@ -93,6 +103,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.13 2006/06/25 16:26:02 freetz
+- install symlink to binary (lowercase), run updated-desktop-database
+ if found
+
Revision 1.12 2006/06/25 15:39:24 freetz
- 0.5r1357, removed .desktop file, added desktop patch, updated BR,
auto* stuff and file list
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/XaraLX.spec?r1=1.12&r2=1.13&f=u
More information about the pld-cvs-commit
mailing list