SPECS: macromedia-flash.spec - split version to major and minor ve...

glen glen at pld-linux.org
Wed Aug 24 13:35:10 CEST 2005


Author: glen                         Date: Wed Aug 24 11:35:10 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- split version to major and minor vers
- macros not needed for installer package

---- Files affected:
SPECS:
   macromedia-flash.spec (1.35 -> 1.36) 

---- Diffs:

================================================================
Index: SPECS/macromedia-flash.spec
diff -u SPECS/macromedia-flash.spec:1.35 SPECS/macromedia-flash.spec:1.36
--- SPECS/macromedia-flash.spec:1.35	Tue Aug 23 22:41:27 2005
+++ SPECS/macromedia-flash.spec	Wed Aug 24 13:35:04 2005
@@ -1,8 +1,10 @@
 # $Revision$, $Date$
-#
 # Conditional build:
 %bcond_with	license_agreement	# generates package
-#
+
+%define		_ver_major	7
+%define		_ver_minor	0
+%define		_ver_patch	25
 Summary:	Flash plugin for Netscape-compatible WWW browsers
 Summary(pl):	Wtyczka Flash dla przeglądarek WWW zgodnych z Netscape
 %define		base_name	macromedia-flash
@@ -11,18 +13,20 @@
 %else
 Name:		%{base_name}-installer
 %endif
-Version:	7.0r25
-Release:	2.26%{?with_license_agreement:wla}
+Version:	%{_ver_major}.%{_ver_minor}.%{_ver_patch}
+Release:	2.29%{?with_license_agreement:wla}
 License:	Free to use, non-distributable
 Group:		X11/Applications/Multimedia
 %if %{with license_agreement}
-Source0:	http://fpdownload.macromedia.com/get/shockwave/flash/english/linux/%{version}/install_flash_player_7_linux.tar.gz
+Source0:	http://fpdownload.macromedia.com/get/shockwave/flash/english/linux/%{_ver_major}.%{_ver_minor}r%{_ver_patch}/install_flash_player_%{_ver_major}_linux.tar.gz
 # NoSource0-md5:	79c59a5ea29347e01c8e6575dd054cd1
 %else
 Source0:	license-installer.sh
 %endif
 URL:		http://www.macromedia.com/software/flashplayer/
+%if %{with license_agreement}
 BuildRequires:	rpmbuild(macros) >= 1.235
+%endif
 Requires:	browser-plugins(%{_target_cpu})
 %if %{without license_agreement}
 Requires:	cpio
@@ -146,6 +150,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.36  2005/08/24 11:35:04  glen
+- split version to major and minor vers
+- macros not needed for installer package
+
 Revision 1.35  2005/08/23 20:41:27  qboosh
 - updated pl desc
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/macromedia-flash.spec?r1=1.35&r2=1.36&f=u




More information about the pld-cvs-commit mailing list