[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gEDA: Problems with compiling gaf (addendum)
Bert Timmerman wrote:
>
> Hi again,
>
> I was able to download the mandrake *.src.rpm files of ftp.sunet.se at
> home (this afternoon it failed from my work for no obvious reason ? ).
>
> I extracted the *.spec files and they are in the attached tarball.
>
> There is a construct in the "%install" section like (geda-gschem.spec):
>
> <quote>
> %install
> MY_DIR=$RPM_BUILD_ROOT%_datadir/gEDA
> %makeinstall GETDATADIR=$MY_DIR GEDARCDIR=$MY_DIR rcdatadir=$MY_DIR
> scmdatadir=$MY_DIR
> install -d $RPM_BUILD_ROOT%{_datadir}/gEDA/examples
> install -m 644 examples/*.sch $RPM_BUILD_ROOT%{_datadir}/gEDA/examples
>
> %clean
> </quote>
>
> Ales mentioned something about this in a previous posting to the list
> (maybe I should pay better attention ;-).
>
> Bert Timmerman wrote:
> >
> > Hi Wojciech and all,
> >
> > I saw on http://www.rpmfind.net in the science/other group that someone
> > has made some RPMs of the gaf tarballs for the mandrake distro.
> > Unfortunately I was not able to download the *.src.rpm files, for they
> > contain *.spec files which might contain clues ;-)
> >
> > Maybe there is a workaround for the # 1) problem.
> > It might be possible to add some lines in the spec files which move
> > ("mv") the files to the proper $RPM_BUILD _ROOT/usr/share/gEDA
> > directory.
> > I don't know in which section of the spec file, I think in the
> > "%install" just after "make install prefix=$RPM_BUILD_ROOT/usr" and
> > before the "%clean" section.
> >
> > Just my EUR 0.01 ;-)
> >
> > Kind regards,
> >
> > Bert Timmerman.
> >
> > Wojciech Kazubski wrote:
> > >
> > > Hi all!
> > > I found some problems when tried to make RPMs fom gaf tarballs 20010722 on
> > > Redhat 7 Linux box (intel).
> > >
> > > 1) some files compile to /usr/share/gEDA (absolute directory) rather than the
> > > proper subdirectory in the installation directory. I noticed this for:
> > > gschem-gtkrc
> > > system-gnetlistrc
> > > system-gschemrc
> > > system-gsymcheckrc
> > > share/gEDA/scheme subdirectory
> > > The error is not critical in standard compilation to /usr but causes missing
> > > files when building a RPM package.
> > >
> > > 2) some subdirectories do not compile at all (?):
> > > share/gEDA/examples (new stuff? - from geda-gschem and geda-utils)
> > > share/gEDA/docs (no Makefile, configure etc. in geda-docs, doc files from
> > > geda-gschem are missing too)
> > >
> > > W. Kazubski
specs.tar.gz