Ignore:
Timestamp:
Sep 15, 2017, 3:29:11 PM (8 years ago)
Author:
herwigb
Message:

spec: bww-resources-rpm: Release version 1.1.0-1.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • spec/trunk/SPECS/bww-resources-rpm.spec

    r1233 r1235  
    22%define _strip_opts --no-compress --no-debuginfo
    33
    4 Summary:    bitwiseworks icons and folders
    5 Name:       bww-resources-rpm
    6 Version:    1.0.2
    7 Release:    2%{?dist}
    8 License:    Proprietory
    9 Group:      Applications/System
    10 URL:        http://www.bitwiseworks.com
    11 Vendor:     bww bitwiseworks GmbH
    12 Source1:    macros.bww
    13 Source10:   bwwfbkg.bmp
    14 Source11:   bwwfldrc.ico
    15 Source12:   bwwfldro.ico
    16 Source13:   mkres.obj
    17 BuildRoot:  %_tmppath/%name-%version-%release-root
    18 BuildArch:  noarch
    19 Obsoletes:  bwwres
    20 Provides:   bwwres = %{version}
     4Summary:       bitwise works icons and folders
     5Name:          bww-resources-rpm
     6Version:       1.1.0
     7Release:       1%{?dist}
     8License:       Proprietory
     9Group:         Applications/System
     10URL:           http://www.bitwiseworks.com
     11Vendor:        bww bitwise works GmbH
     12Source1:       macros.bww
     13Source2:       bww-fix-docdir.cmd
     14Source10:      bwwfbkg.bmp
     15Source11:      bwwfldrc.ico
     16Source12:      bwwfldro.ico
     17Source13:      mkres.obj
     18BuildRoot:     %_tmppath/%name-%version-%release-root
     19BuildArch:     noarch
     20Obsoletes:     bwwres
     21Provides:      bwwres = %{version}
     22
     23BuildRequires: rexx_exe
    2124
    2225%description
    23 This package provides bitwiseworks icons and folder background
     26This package provides bitwise works icons and folder background
    2427
    2528%package build
     
    2831
    2932%description build
    30 This package provides bitwiseworks macros for rpm builds
     33This package provides bitwise works macros for rpm builds
    3134
    3235%prep
     
    3437
    3538# Prepare forwarder DLLs.
    36 for m in %{SOURCE1} %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13}; do
     39for m in %{SOURCE1} %{SOURCE2} %{SOURCE10} %{SOURCE11} %{SOURCE12} %{SOURCE13}; do
    3740  cp ${m} .
    3841done
     
    6871install -p -m0644 -D bwwfldro.ico $RPM_BUILD_ROOT%{_datadir}/os2/bww/bwwfldro.ico
    6972
     73%{__mkdir_p} %{buildroot}%{_bindir}
     74for f in *.cmd; do
     75  rexx2vio "$f" "%{buildroot}%{_bindir}/${f%.cmd}.exe"
     76done
     77
    7078%clean
    7179rm -rf "$RPM_BUILD_ROOT"
    7280
    7381%post
    74 if [ "$1" -eq 0 ]; then # (upon install)
    75     %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));
    76     %wps_object_create WP_BWWDOC:WPShadow|Documentation|<WP_BWWHELP>|SHADOWID=((/@unixroot/usr/share/doc));
    77     %wps_object_create WP_BWWAPPS:WPFolder|bww Apps|<WP_PROGRAMSFOLDER>|TITLE=bitwiseworks Apps and Ports;ICONRESOURCE=1,BWWRES.DLL;ICONNFILE=((/@unixroot/usr/share/os2/bww/bwwfldro.ico));BACKGROUND=((/@unixroot/usr/share/os2/bww/bwwfbkg.bmp));ICONVIEW=FLOWED;
    78     %wps_object_create WP_BWWHELPSHADOW:WPShadow|bitwiseworks Help Center|<WP_BWWAPPS>|SHADOWID=<WP_BWWHELP>;
    79 fi
    80 
     82bww-fix-docdir
    8183
    8284%postun
    83 if [ "$1" -eq 0 ]; then # (upon removal)
    84     %wps_object_delete_all
    85 fi
    8685
    8786%files
    8887%defattr(-,root,root,-)
    89 %_libdir/bwwres.dll
    90 %_datadir/os2/bww/bwwfbkg.bmp
    91 %_datadir/os2/bww/*.ico
     88%{_bindir}/bww-fix-docdir.exe
     89%{_libdir}/bwwres.dll
     90%{_datadir}/os2/bww/bwwfbkg.bmp
     91%{_datadir}/os2/bww/*.ico
    9292
    9393%files build
    94 %_libdir/rpm/macros.d/macros.bww
     94%{_libdir}/rpm/macros.d/macros.bww
    9595
    9696%changelog
     97* Thu Sep 07 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 1.1.0-1
     98- big overhaul of the macros
     99- added better documentation
     100- add several presentation parameters to the bitwise help center
     101
    97102* Thu Jun 29 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> 1.0.2-1
    98103- added -nv parameter to the macro
     
    118123
    119124* Fri Mar 03 2017 hb <herwig.bauernfeind@bitwiseworks.com> 1.0.0-1
    120 - first release of bitwiseworks icons, bitmaps and macros
     125- first release of bitwise works icons, bitmaps and macros
Note: See TracChangeset for help on using the changeset viewer.