Error message:
Removing packages ....
Getting gutenprint-5.1.2-1.src.rpm ...
Building source rpm gutenprint-5.1.2-1.src.rpm
Installing BuildRequires ....
ERROR: spec file /var/lib/mach/roots/yoper-3.0-local/tmp/gutenprint.spec fails to parse:
sh: rpmbuild: command not found
Spec file:
BuildRequires: gcc
Requires: ghostscript, cups, foomatic-db
Summary: Printer driveres
Name: gutenprint
Version: 5.1.2
Release: 1
Copyright: GPL
Group: KDE
Source0: gutenprint-5.1.2.tar.bz2
# Patch0:
URL: http://www.yoper.com
Distribution: Yoper
BuildRoot: %{_tmppath}/%{name}-buildroot
Packager: hak5fan <bjorn.overland@gmail.com>
%description
Gutenprint, formerly named Gimp-Print, is a suite of printer drivers that may be used with most common UNIX and Linux print spooling systems, including CUPS, lpr, LPRng, or others. These drivers provide high quality printing for UNIX (including Macintosh OS X 10.2, 10.3, and 10.4) and Linux systems that in many cases equal or exceed proprietary vendor-supplied drivers in quality and functionality, and can be used for demanding printing tasks requiring flexibility and high quality. This software package includes an enhanced Print plugin for the GIMP that replaces the plugin packaged with the GIMP, and Ghostscript and CUPS drivers, as well as Foomatic data supporting the Ghostscript driver.
%package devel
Summary: Development files of %{name}
Group: Network/Development
Requires: %{name}-libs = %{version}
%description devel
These are development files of %{name}
%prep
rm -rf $RPM_BUILD_DIR/%{name}*
rm -rf %{buildroot}
%setup -q
%build
export PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/X11R6/lib/pkgconfig
%configure --disable-debug
make %{_smp_mflags}
%install
if [ -d "$RPM_BUILD_ROOT" ] && [ "$RPM_BUILD_ROOT" != "/" ] ; then rm -rf $RPM_BUILD_ROOT; fi
make install DESTDIR=$RPM_BUILD_ROOT
%clean
rm -rf $RPM_BUILD_DIR/%{name}*
rm -rf %{buildroot}
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%defattr(755,root,root)
%{_bindir}/escputil
%{_bindir}/testpattern
%{_datadir}/gutenprint/*/*/*.xml
%{_datadir}/gutenprint/doc/*.html
%{_datadir}/gutenprint/doc/*.odt
%{_datadir}/gutenprint/doc/*.pdf
%{_datadir}/gutenprint/doc/*/*.html
%{_datadir}/gutenprint/doc/*/*.css
%{_datadir}/gutenprint/samples/*.png
%{_datadir}/gutenprint/samples/*.jpg
%{_datadir}/gutenprint/samples/*.sample
%{_datadir}/locale/*/*/*.mo
%{_mandir}/man1/escputil.1.gz
%files devel
%defattr(755,root,root)
%{_includedir}/gutenprint/*.h
%{_libdir}/gutenprint/5.1.2/modules
%{_libdir}/*.a
%{_libdir}/*.so
%{_libdir}/*.so.*
%{_libdir}/*.so.*.*.*
%{_libdir}/pkgconfig/*.pc