[PATCH] RealPlayer.spec

Michal Kochanowicz michal w michal.waw.pl
Pon, 31 Sty 2005, 19:46:49 CET


On Sun, Jan 30, 2005 at 11:45:36PM +0100, Andrzej Krzysztofowicz wrote:
> %define _noautocompressdoc ...

-- 
--= Michal Kochanowicz =--==--==BOFH==--==--= michal w michal.waw.pl =--
--= finger me for PGP public key or visit http://michal.waw.pl/PGP =--
--==--==--==--==--==-- Vodka. Connecting people.--==--==--==--==--==--
A chodzenie po górach SSIE!!!
-------------- następna część ---------
Index: RealPlayer.spec
===================================================================
RCS file: /cvsroot/SPECS/RealPlayer.spec,v
retrieving revision 1.15
diff -u -r1.15 RealPlayer.spec
--- RealPlayer.spec	16 Jan 2005 17:05:54 -0000	1.15
+++ RealPlayer.spec	31 Jan 2005 18:45:40 -0000
@@ -10,7 +10,7 @@
 Summary(pl):	RealPlayer - odtwarzacz RealAudio i RealVideo
 Name:		RealPlayer
 Version:	10.0.2
-Release:	1
+Release:	2
 License:	Helix DNA Technology Binary Research Use License (not distributable, see LICENSE)
 Group:		X11/Applications/Multimedia
 Source0:	https://helixcommunity.org/download.php/801/%{name}%{version}.608-20041214.i586.rpm
@@ -25,6 +25,8 @@
 ExclusiveArch:	%{ix86} 
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define		_noautocompressdoc	README LICENSE
+
 %description
 Streaming audio/video/flash/pix/text player.
 
@@ -137,6 +139,9 @@
 
 install -d $RPM_BUILD_ROOT%{_libdir}/%{_name}/share/{default,realplay}
 
+ln -s %{_docdir}/%{name}-%{version}/LICENSE  $RPM_BUILD_ROOT%{_libdir}/%{_name}
+ln -s %{_docdir}/%{name}-%{version}/README  $RPM_BUILD_ROOT%{_libdir}/%{_name}
+
 install share/realplay/* $RPM_BUILD_ROOT%{_libdir}/%{_name}/share/realplay
 install share/default/* $RPM_BUILD_ROOT%{_libdir}/%{_name}/share/default
 install share/*.html $RPM_BUILD_ROOT%{_libdir}/%{_name}/share
@@ -160,9 +165,11 @@
 
 %files -f %{name}.lang
 %defattr(644,root,root,755)
-%doc LICENSE README 
+%doc LICENSE README
 %attr(755,root,root) %{_bindir}/realplay
 %dir %{_libdir}/%{_name}
+%{_libdir}/%{_name}/LICENSE
+%{_libdir}/%{_name}/README
 %dir %{_libdir}/%{_name}/codecs
 %attr(755,root,root) %{_libdir}/%{_name}/codecs/*.so*
 %dir %{_libdir}/%{_name}/common


Więcej informacji o liście dyskusyjnej pld-devel-pl