Changeset 1271 for spec/trunk/SPECS/bww-resources-rpm/macros.bww
- Timestamp:
- Dec 14, 2017, 4:33:21 PM (8 years ago)
- File:
-
- 1 edited
-
spec/trunk/SPECS/bww-resources-rpm/macros.bww (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/bww-resources-rpm/macros.bww
r1249 r1271 48 48 # bww_app creates: 49 49 # a object in the bww folder (will get a BWW_%{name}_<ID>_APP WPS object ID) 50 # a shadow of the object on the desktop (if requested) (will get a BWW_%{name}_<ID>_APP_SHADOW WPS object ID)51 #52 # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!53 # !!!!!! be aware that the -s option (if used) is not the last option. !!!!!!54 # !!!!!! as else the complete object is not generated. !!!!!!55 # !!!!!! this looks like a rpm issue !!!!!!56 # !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!57 50 # 58 51 # %bww_app [ID] -f APP -t TITLE [-n PACKAGE] [-s] [-a ASSOCIATIONS] [-i ICON] [-d STARTUPDIR] … … 68 61 # installation! 69 62 # -d STARTUPDIR (when provided: this value is set as STARTUPDIR in the wps object) 70 # -s (when provided: create a shadow on the desktop)71 63 # 72 64 73 %bww_app(f:t:n:a:i:d: s)\65 %bww_app(f:t:n:a:i:d:)\ 74 66 %{!-f:%{error:%0: Missing mandatory EXEFILE parameter}}\ 75 67 %{!-t:%{error:%0: Missing mandatory TITLE parameter}}\ … … 82 74 %global __bww_app_name %{-f*}\ 83 75 %wps_object_create %{__bww_app_id}:WPProgram|%{__bww_app_title}|<%{__bww_folder_id}>|EXENAME=((%{__bww_app_name}));%{__bww_app_startupdir}TITLE=%{__bww_app_title};%{__bww_app_icon}%{__bww_app_assoc}\ 84 %{-s:%wps_object_create %{__bww_app_id}_SHADOW:WPShadow|%{__bww_app_title}|<WP_DESKTOP>|SHADOWID=<%{__bww_app_id}>;}\ 76 %{nil} 77 78 # bww_app_shadow creates: 79 # a shadow of the object on the given WPS destination (will get a BWW_%{name}_<ID>_APP_SHADOW WPS object ID) 80 # 81 # 82 # %bww_app_shadow [ID] -t TITLE [-n PACKAGE] [-d WPSID] 83 # ID (when provided: this ID is added to the WPS id) 84 # -t TITLE (Mandatory: use TITLE as the app title) 85 # (TITLE *must* be a %global macro if with spaces) 86 # -n PACKAGE (when provided: associate the folder with PACKAGE, else with %{name}) 87 # -d WPSID (when provided: use this ID as the parent, else use WP_DESKTOP) 88 # 89 90 %bww_app_shadow(t:n:d:)\ 91 %{!-t:%{error:%0: Missing mandatory TITLE parameter}}\ 92 %bww_create_folder_id\ 93 %bww_create_app_id\ 94 %global __bww_app_title %{-t*}\ 95 %global __bww_app_shadowdest %{!-d:WP_DESKTOP}%{-d:%{-d*}}\ 96 %wps_object_create %{__bww_app_id}_%{__bww_app_shadowdest}_SHADOW:WPShadow|%{__bww_app_title}|<%{__bww_app_shadowdest}>|SHADOWID=<%{__bww_app_id}>;\ 85 97 %{nil} 86 98
Note:
See TracChangeset
for help on using the changeset viewer.
