Changeset 552


Ignore:
Timestamp:
Feb 17, 2015, 9:54:37 PM (10 years ago)
Author:
dmik
Message:

spec: libtool: Release 2.4.6-1.

File:
1 edited

Legend:

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

    r502 r552  
    55Summary: The GNU Portable Library Tool
    66Name:    libtool
    7 Version: 2.4.2
    8 Release: 9%{?dist}
     7Version: 2.4.6
     8Release: 1%{?dist}
    99License: GPLv2+ and LGPLv2+ and GFDL
    1010URL:     http://www.gnu.org/software/libtool/
     
    1414
    1515%define svn_url     http://svn.netlabs.org/repos/ports/libtool/trunk
    16 %define svn_rev     955
     16%define svn_rev     1070
    1717
    1818Source: %{name}-%{version}%{?svn_rev:-r%{svn_rev}}.zip
     
    2020BuildRequires: gcc make subversion zip
    2121
    22 #Requires(post):  /sbin/install-info
    23 #Requires(preun): /sbin/install-info
     22# @todo Replace with `%info_requires` when it's available.
     23Requires(post): %{_sbindir}/install-info.exe
     24Requires(preun): %{_sbindir}/install-info.exe
    2425
    2526BuildRequires: autoconf, automake
     
    9091%endif
    9192
    92 # make sure configure is updated to properly support OS/2
    93 bootstrap
     93# Make sure configure is updated to properly support OS/2
     94export PATH=`echo $PATH | tr '\\\\' /`
     95./bootstrap --copy --force --skip-git
     96
     97# Restore .version and ChangeLog as they are not properly regenerated (they need .git)
     98rm -f .version ChangeLog
     99mv .version~ .version
     100mv ChangeLog~ ChangeLog
    94101
    95102%build
    96 
    97 # we don't have makeinfo/help2man yet; fake them (this will wipe docs out)
    98 export MAKEINFO=:
    99 export HELP2MAN=:
    100103
    101104%configure  --prefix=%{_prefix}                 \
     
    134137rm -f %{buildroot}%{_libdir}/ltdl.a
    135138
    136 #%post
    137 #/sbin/install-info %{_infodir}/libtool.info.gz %{_infodir}/dir || :
    138 
    139 #%preun
    140 #if [ "$1" = 0 ]; then
    141 #   /sbin/install-info --delete %{_infodir}/libtool.info.gz %{_infodir}/dir || :
    142 #fi
     139%post
     140# @todo Replace with `%info_post foobar.info` when it's available.
     141if [ -f %{_infodir}/libtool.info ]; then
     142    %{_sbindir}/install-info.exe %{_infodir}/libtool.info %{_infodir}/dir || :
     143fi
     144
     145%preun
     146# @todo Replace with `%info_preun foobar.info` when it's available.
     147if [ $1 -eq 0 ]; then
     148    if [ -f %{_infodir}/libtool.info ]; then
     149        %{_sbindir}/install-info.exe --delete %{_infodir}/libtool.info %{_infodir}/dir || :
     150    fi
     151fi
    143152
    144153%files
    145154%defattr(-,root,root)
    146155%doc AUTHORS COPYING NEWS README THANKS TODO ChangeLog*
    147 #%{_infodir}/libtool.info*.gz
     156%{_infodir}/libtool.info*
    148157%{_mandir}/man1/libtool.1*
    149158%{_mandir}/man1/libtoolize.1*
     
    173182
    174183%changelog
     184* Tue Feb 17 2015 Dmitriy Kuminov <coding@dmik.org> 2.4.6-1
     185- Update to version 2.4.6 from vendor.
     186
    175187* Tue Jan 23 2015 yd
    176188- rebuild for gcc 4.9.2.
Note: See TracChangeset for help on using the changeset viewer.