Ignore:
Timestamp:
Jan 27, 2016, 9:07:45 PM (10 years ago)
Author:
dmik
Message:

spec: os2-base: Release 0.0.0-12.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • spec/trunk/SPECS/os2-base.spec

    r620 r647  
    33Name: os2-base
    44Version: 0.0.0
    5 Release: 11%{?dist}
     5Release: 12%{?dist}
    66
    77License: free
     
    271271echo i686-OS/2-OS/2 > $RPM_BUILD_ROOT%{_sysconfdir}/rpm/platform
    272272
     273mkdir -p %{buildroot}%{_datadir}/os2/book
     274mkdir -p %{buildroot}%{_datadir}/os2/help
     275
    273276%clean
    274277# nothing to do
     
    278281%defattr(-,root,root,-)
    279282%config(noreplace) %{_sysconfdir}/rpm/platform
     283%dir %{_datadir}/os2/book
     284%dir %{_datadir}/os2/help
    280285
    281286%files fhs
     
    297302fi
    298303%cube {ADDLINE "SET TERM=os2" (IFNOT "SET TERM")} c:\config.sys > NUL
     304%cube {ADDSTRING "%UNIXROOT%\usr\share\os2\book;" IN "SET BOOKSHELF=" (FIRST IFNEW BEFORE RS(%%)} c:\config.sys > NUL
     305%cube {ADDSTRING "%UNIXROOT%\usr\share\os2\help;" IN "SET HELP=" (FIRST IFNEW BEFORE RS(%%)} c:\config.sys > NUL
    299306
    300307%postun
     
    305312%cube {DELLINE "SET UNIXROOT="} c:\config.sys > NUL
    306313%cube {DELLINE "SET TERM="} c:\config.sys > NUL
     314%cube {DELSTRING "%UNIXROOT%\usr\share\os2\book;" IN "SET BOOKSHELF=" (FIRST} c:\config.sys > NUL
     315%cube {DELSTRING "%UNIXROOT%\usr\share\os2\help;" IN "SET HELP=" (FIRST} c:\config.sys > NUL
    307316fi
    308317
     
    333342
    334343%changelog
     344* Wed Jan 27 2016 Dmitriy Kuminov <coding@dmik.org> 0.0.0-12
     345- Add special UNIXROOT directories to BOOKSHELF and HELP in config.sys.
     346
    335347* Thu Dec 17 2015 yd <yd@os2power.com> 0.0.0-11
    336348- set i686 as default platform.
Note: See TracChangeset for help on using the changeset viewer.