Re: [Cooker] generic.spec
On Wed, 15 Dec 1999, webmedic wrote: I've tried using the mandrake generic.spec to make some rpm's but I always get a directory not found error is there something wrong with it? can't even guess whats going wrong, where does it error and what are you building
Re: [Cooker] generic.spec
This is the error that I get. After the make install in the spec. The program builds ok and installs but it doesn't install into the /var/tmp directory for some reason. + cd /var/tmp/bibletime-buildroot /var/tmp/rpm-tmp.31698: cd: /var/tmp/bibletime-buildroot: No such file or directory Bad exit status from /var/tmp/rpm-tmp.31698 (%install) This is the .spec i'm using Name: bibletime Summary: Bibltime kde frontend for sword Version: 0.2 Release: 1mdk Source: bibletime-0.2.tar.bz2 Group: KDE/Applications URL: www.bibletime.de BuildRoot: /var/tmp/%{name}-buildroot Copyright: GPL Prefix: /usr %description %prep rm -rf $RPM_BUILD_ROOT %setup %build CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure \ --prefix=%{prefix} make %install make install prefix=$RPM_BUILD_ROOT%{Prefix} cd $RPM_BUILD_ROOT find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' \ $RPM_BUILD_DIR/file.list.%{name} find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' \ -e '/\/etc\//s|^|%config|' \ -e '/\/config\//s|^|%config|' \ $RPM_BUILD_DIR/file.list.%{name} find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' \ $RPM_BUILD_DIR/file.list.%{name} %clean rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/file.list.%{name} %files -f ../file.list.%{name} %defattr(-,root,root,0755) %changelog * Fri Aug 06 1999 Stefan Siegel [EMAIL PROTECTED] - Added "config" tag for files containing /etc or /config - Added compression for perl- and localized man-pages * Sat Jun 26 1999 Bernhard Rosenkraenzer [EMAIL PROTECTED] - create (more or less) generic spec file... On Wed, 15 Dec 1999, you wrote: can't even guess whats going wrong, where does it error and what are you building -- He must increase but I must decrease--- Holiness unto the Lord Name: Brook Humphrey E-Mail: [EMAIL PROTECTED] webmaster: thelinuxstop.com webmester: webmedic.net Owner: Mobile PC Medic
Re: [Cooker] generic.spec
On Wed, 15 Dec 1999, webmedic wrote: This is the error that I get. After the make install in the spec. The program builds ok and installs but it doesn't install into the /var/tmp directory for some reason. + cd /var/tmp/bibletime-buildroot /var/tmp/rpm-tmp.31698: cd: /var/tmp/bibletime-buildroot: No such file or directory Bad exit status from /var/tmp/rpm-tmp.31698 (%install) This is the .spec i'm using Name: bibletime Summary: Bibltime kde frontend for sword Version: 0.2 Release: 1mdk Source: bibletime-0.2.tar.bz2 Group: KDE/Applications URL: www.bibletime.de BuildRoot: /var/tmp/%{name}-buildroot Copyright: GPL Prefix: /usr %description %prep rm -rf $RPM_BUILD_ROOT %setup %build CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" ./configure \ --prefix=%{prefix} make %install mkdir -p $RPM_BUILD_ROOT%{prefix} #(maybe one or two others to create) make install prefix=$RPM_BUILD_ROOT%{Prefix} cd $RPM_BUILD_ROOT this is where it fails. redirect the build to a file so you can make sure the "make install" does what it should find . -type d | sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,' \ $RPM_BUILD_DIR/file.list.%{name} find . -type f | sed 's,^\.,\%attr(-\,root\,root) ,' \ -e '/\/etc\//s|^|%config|' \ -e '/\/config\//s|^|%config|' \ $RPM_BUILD_DIR/file.list.%{name} find . -type l | sed 's,^\.,\%attr(-\,root\,root) ,' \ $RPM_BUILD_DIR/file.list.%{name} %clean rm -rf $RPM_BUILD_ROOT $RPM_BUILD_DIR/file.list.%{name} %files -f ../file.list.%{name} %defattr(-,root,root,0755) %changelog * Fri Aug 06 1999 Stefan Siegel [EMAIL PROTECTED] - Added "config" tag for files containing /etc or /config - Added compression for perl- and localized man-pages * Sat Jun 26 1999 Bernhard Rosenkraenzer [EMAIL PROTECTED] - create (more or less) generic spec file... On Wed, 15 Dec 1999, you wrote: can't even guess whats going wrong, where does it error and what are you building -- MandrakeSoft http://www.mandrakesoft.com/ --Axalon
Re: [Cooker] generic.spec
On Wed, 15 Dec 1999, you wrote: %install mkdir -p $RPM_BUILD_ROOT%{prefix} #(maybe one or two others to create) make install prefix=$RPM_BUILD_ROOT%{Prefix} cd $RPM_BUILD_ROOT this is where it fails. redirect the build to a file so you can make sure the "make install" does what it should I'm not exactly sure how to do this. This is my first real rpm. I've made some others but they didn't need to be compiled they were just files. -- He must increase but I must decrease--- Holiness unto the Lord Name: Brook Humphrey E-Mail: [EMAIL PROTECTED] webmaster: thelinuxstop.com webmester: webmedic.net Owner: Mobile PC Medic
Re: [Cooker] generic.spec
On Wed, 15 Dec 1999, webmedic wrote: On Wed, 15 Dec 1999, you wrote: %install mkdir -p $RPM_BUILD_ROOT%{prefix} #(maybe one or two others to create) make install prefix=$RPM_BUILD_ROOT%{Prefix} cd $RPM_BUILD_ROOT this is where it fails. redirect the build to a file so you can make sure the "make install" does what it should I'm not exactly sure how to do this. This is my first real rpm. I've made some others but they didn't need to be compiled they were just files. rpm -bb some.spec buildlog -- MandrakeSoft http://www.mandrakesoft.com/ --Axalon
Re: [Cooker] generic.spec
Thanks i'll try in the morning And let you know how it went. On Wed, 15 Dec 1999, you wrote: On Wed, 15 Dec 1999, webmedic wrote: On Wed, 15 Dec 1999, you wrote: %install mkdir -p $RPM_BUILD_ROOT%{prefix} #(maybe one or two others to create) make install prefix=$RPM_BUILD_ROOT%{Prefix} cd $RPM_BUILD_ROOT this is where it fails. redirect the build to a file so you can make sure the "make install" does what it should I'm not exactly sure how to do this. This is my first real rpm. I've made some others but they didn't need to be compiled they were just files. rpm -bb some.spec buildlog -- MandrakeSoft http://www.mandrakesoft.com/ --Axalon -- He must increase but I must decrease--- Holiness unto the Lord Name: Brook Humphrey E-Mail: [EMAIL PROTECTED] webmaster: thelinuxstop.com webmester: webmedic.net Owner: Mobile PC Medic