Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
CrossToolchain:sh4
cross-sh4-grep
cross-sh4-grep.spec
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File cross-sh4-grep.spec of Package cross-sh4-grep
# # spec file for package grep (Version 2.5.1a) # # Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # # Please submit bugfixes or comments via http://bugs.opensuse.org/ # # norootforbuild Name: cross-sh4-grep BuildRequires: cross-sh4-pcre-devel cross-sh4-glibc cross-sh4-kernel-headers cross-sh4-gcc URL: http://www.gnu.org/software/grep/ License: GNU General Public License (GPL) Group: Productivity/Text/Utilities Provides: cross-sh4-grep Autoreqprov: off PreReq: %{install_info_prereq} Version: 2.5.2 Release: 1 Summary: Print lines matching a pattern Source: grep-%{version}.tar.bz2 Patch: grep-%{version}.diff Patch1: pcre-static.patch Patch2: grep-2.5.2-conf.patch Patch3: grep-2.5.2-nb.patch Patch4: wordmatch.patch Patch5: grep-2.5.1a-mbcset.diff Patch6: xfail-tests.diff BuildRoot: %{_tmppath}/%{name}-%{version}-build %if "%{name}" != "grep" %define TARGET %(echo %{name}|sed -e "s/cross-\\(.*\\)-grep/\\1/;s/-/_/g;s/parisc/hppa/;s/i.86/i586/;s/ppc/powerpc/") %define _prefix /opt/cross/%{TARGET}-linux/sys-root/usr %define _lib lib %define INSTALLROOT /opt/cross/%{TARGET}-linux/sys-root/ %else %define _prefix %endif %define HOST %(echo %{_target_cpu}|sed -e "s/parisc/hppa/" -e "s/i.86/i586/" -e "s/ppc/powerpc/")-suse-linux %description GNU grep, the "fastest grep in the west" (hopefully). `grep' searches for lines matching a pattern. Authors: -------- Alain Magloire <alainm@rcsm.ece.mcgill.ca> Aharon Robbins <arnold@gnu.org> David J MacKenzie <djm@catapult.va.pubnix.com> Karl Berry <karl@cs.umb.edu> Ulrich Drepper <drepper@cygnus.com> %prep %setup -n grep-%{version} %patch %patch1 %patch2 %patch3 %patch4 %patch5 %patch6 %build echo TARGET = %TARGET echo mandir = %{_mandir} echo infodir = %{_infodir} echo _target_cpu = %{_target_cpu} %{suse_update_config -f} rm -f m4/header.m4 m4/init.m4 m4/install.m4 m4/largefile.m4 m4/missing.m4 m4/sanity.m4 autoreconf --force --install test -f po/Makevars || mv po/Makevars.template po/Makevars ./configure --host=sh4-linux \ --prefix=%_prefix --mandir=%{_mandir} --infodir=%{_infodir} \ --bindir=%INSTALLROOT/bin --build=%{_target_cpu}-suse-linux make #make check %install %define _defaultdocdir %_prefix/share/doc/packages make install DESTDIR=$RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%_prefix/bin ln -sf ../../bin/egrep $RPM_BUILD_ROOT%_prefix/bin/egrep ln -sf ../../bin/fgrep $RPM_BUILD_ROOT%_prefix/bin/fgrep ln -sf ../../bin/grep $RPM_BUILD_ROOT%_prefix/bin/grep gzip $RPM_BUILD_ROOT%_mandir/man*/* rm -rf $RPM_BUILD_ROOT%_infodir/dir gzip $RPM_BUILD_ROOT%_infodir/* %post %install_info --info-dir=%{_infodir} %{_infodir}/grep.info.gz %postun %install_info_delete --info-dir=%{_infodir} %{_infodir}/grep.info.gz %files %defattr(-,root,root) %doc README ABOUT-NLS AUTHORS COPYING NEWS THANKS TODO %INSTALLROOT/bin/egrep %INSTALLROOT/bin/fgrep %INSTALLROOT/bin/grep %_prefix/bin/egrep %_prefix/bin/fgrep %_prefix/bin/grep %doc %{_mandir}/man1/egrep.1.gz %doc %{_mandir}/man1/fgrep.1.gz %doc %{_mandir}/man1/grep.1.gz %doc %{_infodir}/grep*.gz %_prefix/share/locale/*/LC_MESSAGES/grep.mo %changelog -n cross-sh4-grep
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor