Ignore:
Timestamp:
Mar 12, 2017, 11:19:21 AM (8 years ago)
Author:
herwigb
Message:

spec: bwwres: Release version 1.0.0-3.

File:
1 edited

Legend:

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

    r1055 r1056  
    1717# this is the desired title for the app or the exe, if this parameter is left
    1818# out, we use %{summary} as the title
     19#
     20# parameter (-i)
     21# Icon for the exe. If this parameter is left out, no icon is added
     22# The icon has to be copied to /@unixroot/usr/share/os2/icons during installation
    1923
    2024%__bww_commonobjects()\
     
    2630%{nil}
    2731
    28 %bww_folder(e:r:s:t:)\
     32%bww_folder(e:r:s:t:i:)\
    2933%{-t:%global __bww_title %{-t*}}%{!-t:%global __bww_title %{summary}}\
    3034%if %{undefined __bww_folder_done}\
     
    3337%endif\
    3438%define __bww_exeTitle %{!-t:%{__bww_title}}%{-t:%{-t*}}\
    35 %{-e:%{expand:%wps_object_create %{-e*}_EXE:WPProgram|%{__bww_exeTitle}|<%{name}_FOLDER>|EXENAME=((%_bindir/%{-e*}.exe));STARTUPDIR=((%_bindir));TITLE=%{__bww_exeTitle};}}\
     39%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}}}\
    3641%{-r:%{expand:%wps_object_create %{name}_README:WPShadow|Readme|<%{name}_FOLDER>|SHADOWID=((%_defaultdocdir/%{name}-%{version}/%{-r*}))}}\
    3742%{-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.