On Monday 21 August 2006 14:20, Leendert Meyer wrote: [...]it.
Maybe you could post just the spec file here. One would only have to put the spec file and the tarbal(ls) in the same dir and issue a "y2pmbuild-10.1 <specfilename>" to build the rpm's... ;)
Cheers,
Leen
========= Splendid idea Leen, here it is, just cut and paste into your favorite text editor. Save it out as this: gutenprint-5.0.0-1.spec Name: gutenprint Summary: A suite of printer drivers that may be used with most common UNIX print spooling systems Version: 5.0.0 Release: 1 License: GPL Group: Utilities Source: gutenprint-5.0.0.tar.bz2 BuildRoot: %{_tmppath}/build-root-%{name} Packager: penguin0601@earthlink.net Distribution: SUSE 10.1 Prefix: /usr/local Url: http://gimp-print.sourceforge.net/ Provides: gutenprint Requires: cups %description This is Gutenprint version 5.0.0, the first stable release of Gutenprint 5.0. Gutenprint, formerly named Gimp-Print, is a suite of printer drivers that may be used with most common UNIX print spooling systems, including CUPS, lpr, LPRng, or others. These drivers provide high quality printing for UNIX (including Macintosh OS X 10.2 and newer) and Linux systems in many cases equal to or better than proprietary vendor-supplied drivers. Gutenprint also includes an enhanced print plug-in for the GIMP image editor, replacing the Gimp-Print 4.2-based plugin supplied with GIMP 1.2, 2.0, and 2.2, and offering an alternative with additional capabilities to the GtkPrint-based plugin supplied with GIMP 2.4 and beyond. %prep rm -rf $RPM_BUILD_ROOT mkdir $RPM_BUILD_ROOT %setup -q %build CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" \ ./configure --prefix=%{prefix} make -j 2 %install make DESTDIR=$RPM_BUILD_ROOT install-strip cd $RPM_BUILD_ROOT find . -type d -fprint $RPM_BUILD_DIR/file.list.%{name}.dirs find . -type f -fprint $RPM_BUILD_DIR/file.list.%{name}.files.tmp sed '/\/man\//s/$/.gz/g' $RPM_BUILD_DIR/file.list.%{name}.files.tmp > $RPM_BUILD_DIR/file.list.%{name}.files find . -type l -fprint $RPM_BUILD_DIR/file.list.%{name}.libs sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' $RPM_BUILD_DIR/file.list. %{name}.dirs > $RPM_BUILD_DIR/file.list.%{name} sed 's,^\.,\%attr(-\,root\,root) ,' $RPM_BUILD_DIR/file.list. %{name}.files >> $RPM_BUILD_DIR/file.list.%{name} sed 's,^\.,\%attr(-\,root\,root) ,' $RPM_BUILD_DIR/file.list. %{name}.libs >> $RPM_BUILD_DIR/file.list.%{name} %clean rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_DIR/file.list.%{name} rm -rf $RPM_BUILD_DIR/file.list.%{name}.libs rm -rf $RPM_BUILD_DIR/file.list.%{name}.files rm -rf $RPM_BUILD_DIR/file.list.%{name}.files.tmp rm -rf $RPM_BUILD_DIR/file.list.%{name}.dirs %files -f ../file.list.%{name} %defattr(-,root,root,0755) %changelog * Sat Aug 12 2006 <penguin0601@earthlink.net> - first build for SuSE 10.1 32 bit