Changeset 1059
- Timestamp:
- Mar 14, 2017, 4:08:25 PM (8 years ago)
- Location:
- spec/trunk/SPECS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/bwwres.spec
r1056 r1059 5 5 Name: bwwres 6 6 Version: 1.0.0 7 Release: 3%{?dist}7 Release: 4%{?dist} 8 8 License: Proprietory 9 9 Group: Applications/System … … 49 49 50 50 %changelog 51 * Tue Mar 14 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.0-4 52 - -a switch in order to allow file filters 51 53 * Mon Mar 06 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.0-3 52 54 - -t switch in order to allow custom object titles (diver) -
spec/trunk/SPECS/bwwres/macros.bww
r1056 r1059 11 11 # then create the WPS objects according to the parameter 12 12 # 6. (-e) Create program object for the installed app in the app folder 13 # 7. (-r) Create shadow of readme.txt for the installed app in the app folder 14 # 8. (-s) Create shadow of the installed app on the desktop 13 # 7. (-a) Associate file filter with the installed app 14 # 8. (-r) Create shadow of readme.txt for the installed app in the app folder 15 # 9. (-s) Create shadow of the installed app on the desktop 15 16 # 16 17 # parameter (-t) … … 21 22 # Icon for the exe. If this parameter is left out, no icon is added 22 23 # The icon has to be copied to /@unixroot/usr/share/os2/icons during installation 23 24 # 25 # parameter (-a) 26 # Associate a file filter (for example -a *.txt) to the .exe file 27 # 24 28 %__bww_commonobjects()\ 25 29 %wps_object_create WP_BWWHELP:WPFolder|bww Help|<WP_ASSISTANCE>|TITLE=bitwiseworks Help Center;SHOWALLINTREEVIEW=YES;ICONRESOURCE=60,PMWP.DLL;ICONNRESOURCE=83,PMWP.DLL;BACKGROUND=((/@unixroot/usr/share/os2/bww/bwwfbkg.bmp));\ … … 30 34 %{nil} 31 35 32 %bww_folder(e:r:s:t:i: )\36 %bww_folder(e:r:s:t:i:a)\ 33 37 %{-t:%global __bww_title %{-t*}}%{!-t:%global __bww_title %{summary}}\ 34 38 %if %{undefined __bww_folder_done}\ … … 38 42 %define __bww_exeTitle %{!-t:%{__bww_title}}%{-t:%{-t*}}\ 39 43 %define __bww_exeIcon %{!-i:}%{-i:ICONFILE=((/@unixroot/usr/share/os2/icons/%{-i*}));}\ 40 %{-e:%{expand:%wps_object_create %{-e*}_EXE:WPProgram|%{__bww_exeTitle}|<%{name}_FOLDER>|EXENAME=((%_bindir/%{-e*}.exe));STARTUPDIR=((%_bindir));TITLE=%{__bww_exeTitle};%{__bww_exeIcon}}}\ 44 %define __bww_exeAssoc %{!-a:}%{-a:ASSOCFILTER=%{-a*};}\ 45 %{-e:%{expand:%wps_object_create %{-e*}_EXE:WPProgram|%{__bww_exeTitle}|<%{name}_FOLDER>|EXENAME=((%_bindir/%{-e*}.exe));STARTUPDIR=((%_bindir));TITLE=%{__bww_exeTitle};%{__bww_exeIcon}%{__bww_exeAssoc}}}\ 41 46 %{-r:%{expand:%wps_object_create %{name}_README:WPShadow|Readme|<%{name}_FOLDER>|SHADOWID=((%_defaultdocdir/%{name}-%{version}/%{-r*}))}}\ 42 47 %{-s:%{-e:%{expand:%wps_object_create %{name}_SHADOW:WPShadow|%{__bww_exeTitle}|<WP_DESKTOP>|SHADOWID=<%{-e*}_EXE>;}}}\
Note:
See TracChangeset
for help on using the changeset viewer.