Changeset 1633 for spec/trunk/SPECS/grep.spec
- Timestamp:
- May 15, 2019, 10:43:14 AM (7 years ago)
- File:
-
- 1 edited
-
spec/trunk/SPECS/grep.spec (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
spec/trunk/SPECS/grep.spec
r973 r1633 1 1 Summary: Pattern matching utilities 2 2 Name: grep 3 Version: 2.283 Version: 3.3 4 4 Release: 1%{?dist} 5 5 License: GPLv3+ … … 8 8 9 9 Vendor: bww bitwise works GmbH 10 %scm_source svn http://svn.netlabs.org/repos/ports/grep/trunk 199210 %scm_source github http://github.com/bitwiseworks/%{name}-os2 %{version}-os2 11 11 12 BuildRequires: pcre-devel >= 3.9-10, gettext13 BuildRequires: texinfo12 BuildRequires: gcc 13 BuildRequires: pcre-devel >= 3.9-10, texinfo, gettext 14 14 BuildRequires: autoconf automake 15 BuildRequires: libc-devel, libcx-devel 16 Provides: /@unixroot/usr/bin/grep 17 Provides: /@unixroot/usr/bin/fgrep 18 Provides: /@unixtoor/usr/bin/egrep 15 19 16 20 %description … … 28 32 %build 29 33 # we do autoreconf even fedora doesn't do it 30 autoreconf - fi34 autoreconf -vfi 31 35 export LDFLAGS="-Zhigh-mem -Zomf -Zargs-wild -Zargs-resp" 32 36 export 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 33 47 %configure --without-included-regex --disable-silent-rules \ 34 CPPFLAGS="-I%{_includedir}/pcre" 48 CPPFLAGS="-I%{_includedir}/pcre" CFLAGS="%{BUILD_FLAGS}" 35 49 make %{?_smp_mflags} 36 50 37 51 %install 38 rm -rf ${RPM_BUILD_ROOT}39 52 make %{?_smp_mflags} DESTDIR=$RPM_BUILD_ROOT install 40 53 gzip $RPM_BUILD_ROOT%{_infodir}/grep* … … 46 59 #make check 47 60 48 %clean49 rm -rf ${RPM_BUILD_ROOT}50 51 %post52 if [ -f %{_infodir}/grep.info.gz ]; then53 %{_sbindir}/install-info.exe --quiet --info-dir=%{_infodir} %{_infodir}/grep.info.gz || :54 fi55 56 %preun57 if [ $1 = 0 ]; then58 if [ -f %{_infodir}/grep.info.gz ]; then59 %{_sbindir}/install-info.exe --quiet --info-dir=%{_infodir} --delete %{_infodir}/grep.info.gz || :60 fi61 fi62 61 63 62 %files -f %{name}.lang 64 %defattr(-,root,root) 65 %doc AUTHORS THANKS TODO NEWS 63 %doc AUTHORS THANKS TODO NEWS README 66 64 %{!?_licensedir:%global license %%doc} 67 65 %license COPYING … … 73 71 74 72 %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 75 79 * Wed Feb 08 2017 Silvan Scherrer <silvan.scherrer@aroa.ch> - 2.28-1 76 80 - update to version 2.28
Note:
See TracChangeset
for help on using the changeset viewer.
