On Thu, 16 Dec 1999, you wrote:
> Kaixo!
>
> On Thu, Dec 16, 1999 at 07:34:02AM -0800, webmedic wrote:
>
> > + cd /var/tmp/bibletime-buildroot
> > + find . -type d
> > + sed '1,2d;s,^\.,\%attr(-\,root\,root) \%dir ,'
> > + find . -type f
> > + sed 's,^\.,\%attr(-\,root\,root) ,' -e '/\/etc\//s|^|%config|' -e
>'/\/config\//s|^|%config|'
> > sed: can't read s,^\.,\%attr(-\,root\,root) ,: No such file or directory
> > Bad exit status from /var/tmp/rpm-tmp.8449 (%install)
>
> IMHO you should try to avoid using that find thing. There are a lot
> of disadvantages:
>
> - you don't know what really is included and what not (backup files included
> for nothing, etc)
> - you include a lot of directories as owned by the package when that is
> not correct (or you can forget some when they should be included)
> - you can't tell, looking at the spec file; what the rpm will include
>
> > %install
> > mkdir -p $RPM_BUILD_ROOT%{prefix}
> > mkdir -p $RPM_BUILD_ROOT%{prefix}/share/doc/HTML/en/bibletime
> > mkdir -p $RPM_BUILD_ROOT%{prefix}/share/doc/HTML/de/bibletime
> > mkdir -p $RPM_BUILD_ROOT%{prefix}/share/apps/bibletime/pics
> > mkdir -p $RPM_BUILD_ROOT%{prefix}/share/apps/bibletime/toolbar
>
> if the makefile is correctly written (it should be) none of that is needed.
> The dirs are created at install time:
for some reason the make file won't install the /dir or the files. I'm working
right now on doing the install by hand. unless some one can suggest something
better.
>
> > make install prefix=$RPM_BUILD_ROOT/%{prefix}
>
> > %files -f ../file.list.%{name}
> > %defattr(-,root,root,0755)
>
> You should replace that with something like:
>
> %files
> %defattr(-,root,root,0755)
> %{prefix}/bin/*
> %doc %{prefix}/share/doc/HTML/*/*
> %{prefix}/share/apps/*
> %{prefix}/share/applnk/Applications/*.kdelnk
> %{prefix}/share/icons/*.*
> %{prefix}/share/icons/mini/*.*
> %{prefix}/share/locale/*/LC_MESSAGES/*
>
> --
> Ki ça vos våye bén,
> Pablo Saratxaga
>
> http://www.ping.be/~pin19314/ PGP Key available, key ID: 0x8F0E4975
--
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