Changeset 1059


Ignore:
Timestamp:
Mar 14, 2017, 4:08:25 PM (8 years ago)
Author:
herwigb
Message:

spec: bwwres: Release version 1.0.0-4.

Location:
spec/trunk/SPECS
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • spec/trunk/SPECS/bwwres.spec

    r1056 r1059  
    55Name:       bwwres
    66Version:    1.0.0
    7 Release:    3%{?dist}
     7Release:    4%{?dist}
    88License:    Proprietory
    99Group:      Applications/System
     
    4949
    5050%changelog
     51* Tue Mar 14 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.0-4
     52- -a switch in order to allow file filters
    5153* Mon Mar 06 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.0-3
    5254- -t switch in order to allow custom object titles (diver)
  • spec/trunk/SPECS/bwwres/macros.bww

    r1056 r1059  
    1111# then create the WPS objects according to the parameter
    1212# 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
    1516#
    1617# parameter (-t)
     
    2122# Icon for the exe. If this parameter is left out, no icon is added
    2223# 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#
    2428%__bww_commonobjects()\
    2529%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));\
     
    3034%{nil}
    3135
    32 %bww_folder(e:r:s:t:i:)\
     36%bww_folder(e:r:s:t:i:a)\
    3337%{-t:%global __bww_title %{-t*}}%{!-t:%global __bww_title %{summary}}\
    3438%if %{undefined __bww_folder_done}\
     
    3842%define __bww_exeTitle %{!-t:%{__bww_title}}%{-t:%{-t*}}\
    3943%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}}}\
    4146%{-r:%{expand:%wps_object_create %{name}_README:WPShadow|Readme|<%{name}_FOLDER>|SHADOWID=((%_defaultdocdir/%{name}-%{version}/%{-r*}))}}\
    4247%{-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.