This commit is contained in:
committed by
Git OBS Bridge
parent
67cc99e155
commit
f78702e37a
33
grep.spec
33
grep.spec
@@ -19,7 +19,7 @@ Provides: base:/usr/bin/grep
|
||||
AutoReqProv: on
|
||||
PreReq: %{install_info_prereq}
|
||||
Version: 2.5.2
|
||||
Release: 29
|
||||
Release: 37
|
||||
Summary: Print lines matching a pattern
|
||||
Source: grep-%{version}.tar.bz2
|
||||
Patch: grep-%{version}.diff
|
||||
@@ -59,15 +59,15 @@ Authors:
|
||||
%patch6
|
||||
%patch7
|
||||
%patch8
|
||||
rm -f lib/regex.[ch]
|
||||
|
||||
%build
|
||||
%{suse_update_config -f}
|
||||
rm -f m4/header.m4 m4/install.m4 m4/isc-posix.m4 m4/largefile.m4 m4/missing.m4 m4/sanity.m4
|
||||
autoreconf --force --install
|
||||
test -f po/Makevars || mv po/Makevars.template po/Makevars
|
||||
AUTOPOINT=true autoreconf --force --install
|
||||
./configure CFLAGS="$RPM_OPT_FLAGS" \
|
||||
--prefix=/usr --mandir=%{_mandir} --infodir=%{_infodir} \
|
||||
--bindir=/bin --build=%{_target_cpu}-suse-linux
|
||||
--bindir=/bin --build=%{_target_cpu}-suse-linux \
|
||||
--without-included-regex
|
||||
make
|
||||
make check VERBOSE=1
|
||||
|
||||
@@ -77,6 +77,7 @@ install -d $RPM_BUILD_ROOT/usr/bin
|
||||
ln -sf ../../bin/egrep $RPM_BUILD_ROOT/usr/bin/egrep
|
||||
ln -sf ../../bin/fgrep $RPM_BUILD_ROOT/usr/bin/fgrep
|
||||
ln -sf ../../bin/grep $RPM_BUILD_ROOT/usr/bin/grep
|
||||
%find_lang %name
|
||||
|
||||
%post
|
||||
%install_info --info-dir=%{_infodir} %{_infodir}/grep.info.gz
|
||||
@@ -84,21 +85,17 @@ ln -sf ../../bin/grep $RPM_BUILD_ROOT/usr/bin/grep
|
||||
%postun
|
||||
%install_info_delete --info-dir=%{_infodir} %{_infodir}/grep.info.gz
|
||||
|
||||
%files
|
||||
%files -f %name.lang
|
||||
%defattr(-,root,root)
|
||||
%doc README ABOUT-NLS AUTHORS COPYING NEWS THANKS TODO
|
||||
/bin/egrep
|
||||
/bin/fgrep
|
||||
/bin/grep
|
||||
/usr/bin/egrep
|
||||
/usr/bin/fgrep
|
||||
/usr/bin/grep
|
||||
%doc %{_mandir}/man1/egrep.1.gz
|
||||
%doc %{_mandir}/man1/fgrep.1.gz
|
||||
%doc %{_mandir}/man1/grep.1.gz
|
||||
%doc %{_infodir}/grep*.gz
|
||||
/usr/share/locale/*/LC_MESSAGES/grep.mo
|
||||
%doc README AUTHORS NEWS THANKS TODO
|
||||
/bin/*
|
||||
/usr/bin/*
|
||||
%doc %{_mandir}/man1/*.gz
|
||||
%doc %{_infodir}/*.gz
|
||||
|
||||
%changelog
|
||||
* Wed Nov 28 2007 - schwab@suse.de
|
||||
- General cleanup.
|
||||
* Wed Sep 12 2007 - schwab@suse.de
|
||||
- Allocate MB properties lazily.
|
||||
* Tue May 15 2007 - schwab@suse.de
|
||||
|
Reference in New Issue
Block a user