Ignore:
Timestamp:
May 15, 2019, 10:43:14 AM (7 years ago)
Author:
Silvan Scherrer
Message:

spec: grep: Release version 3.3-1.

File:
1 edited

Legend:

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

    r973 r1633  
    11Summary: Pattern matching utilities
    22Name: grep
    3 Version: 2.28
     3Version: 3.3
    44Release: 1%{?dist}
    55License: GPLv3+
     
    88
    99Vendor:  bww bitwise works GmbH
    10 %scm_source  svn http://svn.netlabs.org/repos/ports/grep/trunk 1992
     10%scm_source  github http://github.com/bitwiseworks/%{name}-os2 %{version}-os2
    1111
    12 BuildRequires: pcre-devel >= 3.9-10, gettext
    13 BuildRequires: texinfo
     12BuildRequires: gcc
     13BuildRequires: pcre-devel >= 3.9-10, texinfo, gettext
    1414BuildRequires: autoconf automake
     15BuildRequires: libc-devel, libcx-devel
     16Provides: /@unixroot/usr/bin/grep
     17Provides: /@unixroot/usr/bin/fgrep
     18Provides: /@unixtoor/usr/bin/egrep
    1519
    1620%description
     
    2832%build
    2933# we do autoreconf even fedora doesn't do it
    30 autoreconf -fi
     34autoreconf -vfi
    3135export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp"
    3236export LIBS="-lcx"
     37
     38%global BUILD_FLAGS $RPM_OPT_FLAGS
     39       
     40# Currently gcc on ppc uses double-double arithmetic for long double and it
     41# does not conform to the IEEE floating-point standard. Thus force
     42# long double to be double and conformant.
     43%ifarch ppc ppc64
     44%global BUILD_FLAGS %{BUILD_FLAGS} -mlong-double-64
     45%endif
     46
    3347%configure --without-included-regex --disable-silent-rules \
    34   CPPFLAGS="-I%{_includedir}/pcre"
     48  CPPFLAGS="-I%{_includedir}/pcre" CFLAGS="%{BUILD_FLAGS}"
    3549make %{?_smp_mflags}
    3650
    3751%install
    38 rm -rf ${RPM_BUILD_ROOT}
    3952make %{?_smp_mflags} DESTDIR=$RPM_BUILD_ROOT install
    4053gzip $RPM_BUILD_ROOT%{_infodir}/grep*
     
    4659#make check
    4760
    48 %clean
    49 rm -rf ${RPM_BUILD_ROOT}
    50 
    51 %post
    52 if [ -f %{_infodir}/grep.info.gz ]; then
    53   %{_sbindir}/install-info.exe --quiet --info-dir=%{_infodir} %{_infodir}/grep.info.gz || :
    54 fi
    55 
    56 %preun
    57 if [ $1 = 0 ]; then
    58   if [ -f %{_infodir}/grep.info.gz ]; then
    59     %{_sbindir}/install-info.exe --quiet --info-dir=%{_infodir} --delete %{_infodir}/grep.info.gz || :
    60   fi
    61 fi
    6261
    6362%files -f %{name}.lang
    64 %defattr(-,root,root)
    65 %doc AUTHORS THANKS TODO NEWS
     63%doc AUTHORS THANKS TODO NEWS README
    6664%{!?_licensedir:%global license %%doc}
    6765%license COPYING
     
    7371
    7472%changelog
     73* Mon May 13 2019 Silvan Scherrer <silvan.scherrer@aroa.ch> - 3.3-1
     74- case insensitive search in --include/--exclude options (ticket #208)
     75- update to version 3.3
     76- move source to github
     77- merge fedora spec with our spec
     78
    7579* Wed Feb 08 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> - 2.28-1
    7680- update to version 2.28
Note: See TracChangeset for help on using the changeset viewer.