Re: SPEC: asymptote

2008-08-09 Thread Zsolt Udvari
>> > 2. Why do you install docs manualy instead of using %doc macro?
>>
>> In which line?
>
> In %install section:
> mv $RPM_BUILD_ROOT%{_docdir}/%{name} 
> $RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}
>
> In %files section:
> %{_docdir}/%{name}-%{version}
Oh, I understand.

> I have moved documentation to %{name}-doc subpackage
I thought that it would be nice to create a subpackage.

>> # Doesn't handle --docdir option :(
> Indeed --docdir does not work, but --with-docdir works well.
Good to know ;)

> I have just commited it. Thanks for your contribution.
Thanks for your plus work :)

Zsolt
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: SPEC: asymptote

2008-08-09 Thread Paweł Zuzelski
On Saturday 09 August 2008 14:07:43 Zsolt Udvari wrote:
> > 2. Why do you install docs manualy instead of using %doc macro?
>
> In which line?

In %install section:
mv $RPM_BUILD_ROOT%{_docdir}/%{name} 
$RPM_BUILD_ROOT%{_docdir}/%{name}-%{version}

In %files section:
%{_docdir}/%{name}-%{version}

I have moved documentation to %{name}-doc subpackage

> # Doesn't handle --docdir option :(
Indeed --docdir does not work, but --with-docdir works well.

> > 3. It does not build for me:
> Uh, I don't know. I've installed almost all tetex packages because I
> use it intensive.
> Maybe the tetex-format-pdflatex is missing (because asy wants to
> create pdf-files and the latex-styles are missing).

Missing BRs was:
  tetex-format-latex
  tetex-dvips
  tetex-tex-babel

And for python: rpm-pythonprov

I have just commited it. Thanks for your contribution.

-- 
Paweł Zuzelski
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: SPEC: asymptote

2008-08-09 Thread Zsolt Udvari
2008/8/9 Paweł Zuzelski <[EMAIL PROTECTED]>:
> On Saturday 09 August 2008 08:56:15 Zsolt Udvari wrote:
>> > Where? ;]
>>
>> Here :)
>
>
> 1. configure searchs for files from fftw3-devel package. It works without
> them, but configure disables some features. I think you should add
> BR:fftw3-devel.
"The FFTW library is only required if you want Asymptote to be able to
take Fourier transforms of data (say, to compute an audio power
spectrum). "
http://asymptote.sourceforge.net/doc/Compiling-from-UNIX-source.html#Compiling-from-UNIX-source
But if you think that this is a very useful feature insert it! I don't
use it, I only create simple geometric and physics structure (I'm a
teacher of ph. and math), so I don't need it.

> 2. Why do you install docs manualy instead of using %doc macro?
In which line?

> 3. It does not build for me:
...
> Installing tetex-latex does not help.
Uh, I don't know. I've installed almost all tetex packages because I
use it intensive.
Maybe the tetex-format-pdflatex is missing (because asy wants to
create pdf-files and the latex-styles are missing).

Zsolt
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: SPEC: asymptote

2008-08-09 Thread Paweł Zuzelski
On Saturday 09 August 2008 08:56:15 Zsolt Udvari wrote:
> > Where? ;]
>
> Here :)


1. configure searchs for files from fftw3-devel package. It works without 
them, but configure disables some features. I think you should add 
BR:fftw3-devel.

2. Why do you install docs manualy instead of using %doc macro?

3. It does not build for me:

-
+ umask 022
+ cd /home/users/z/rpm/BUILD
+ /bin/rm --interactive=never -rf /home/users/z/tmp/asymptote-1.43-root-z
+ cd asymptote-1.43
+ /bin/rm --interactive=never -rf /home/users/z/tmp/asymptote-1.43-root-z
+ rm -rf /home/users/z/tmp/asymptote-1.43-root-z
+ 
cp /usr/share/texmf/tex/plain/pdfcolor/pdfcolor.tex 
/usr/share/texmf/tex/generic/epsf/epsf.tex 
/usr/share/texmf/tex/texinfo/texinfo.tex 
doc
+ /usr/bin/make all
cd doc; /usr/bin/make man
make[1]: Entering directory `/home/users/z/rpm/BUILD/asymptote-1.43/doc'
../asy -dir ../base -config "" -f pdf Bode.asy
Cannot execute 'latex' \scrollmode
Please put in :

import settings;
texpath="PATH";

where PATH denotes the correct path to the directory containing your latex 
engine (latex).

Alternatively, set the environment variable ASYMPTOTE_TEXPATH
or use the command line option -texpath="PATH"
Terminated
Terminated
[EMAIL PROTECTED] SPECS]$ Terminated
make[1]: *** [Bode.pdf] Terminated
Terminated
make: *** [man] Terminated
Terminated
-

Installing tetex-latex does not help.

-- 
Regards,
Paweł
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: SPEC: asymptote

2008-08-08 Thread Zsolt Udvari
> Where? ;]
Here :)


asymptote.spec
Description: Binary data
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


Re: SPEC: asymptote

2008-08-08 Thread Tomasz Pala
On Fri, Aug 08, 2008 at 23:25:53 +0200, Zsolt Udvari wrote:

> Here is an other program's spec that I use.

Where? ;]

-- 
Tomasz Pala <[EMAIL PROTECTED]>
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en


SPEC: asymptote

2008-08-08 Thread Zsolt Udvari
Hi all!

Here is an other program's spec that I use.

Zsolt
___
pld-devel-en mailing list
pld-devel-en@lists.pld-linux.org
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en