]> git.pld-linux.org Git - packages/asymptote.git/blame - asymptote.spec
- initital PLD release
[packages/asymptote.git] / asymptote.spec
CommitLineData
67493c5f 1Summary: Asymptote is a powerful descriptive vector graphics language for technical drawing
2Summary(hu.UTF-8): Asymptote egy leíró vektorgrafikus nyelv technikai rajzokhoz.
3Name: asymptote
4Version: 1.43
5Release: 1
6License: GPL
7Group: Applications/Science
8Group: X11/Applications/Science
9Source0: http://dl.sourceforge.net/asymptote/%{name}-%{version}.src.tgz
10# Source0-md5: 8f85e1d9c455700f304960a8c5f7f113
11URL: http://asymptote.sourceforge.net
12BuildRequires: gc-devel >= 7.0
13BuildRequires: gsl-devel >= 1.7
14BuildRequires: ncurses-devel
15BuildRequires: python
16BuildRequires: readline-devel
17BuildRequires: rpm-pythonprov
18BuildRequires: tetex-dvips
19BuildRequires: tetex-format-latex
20BuildRequires: tetex-tex-babel
21BuildRequires: texinfo-texi2dvi
22BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
23
24%description
25Asymptote is a powerful descriptive vector graphics language for
26technical drawing, inspired by MetaPost but with an improved C++-like
27syntax. Asymptote provides for figures the same high-quality level of
28typesetting that LaTeX does for scientific text.
29
30%description -l hu.UTF-8
31Asymptote egy leíró vektorgrafikus nyelv technikai rajzokhoz,
32hasonló a MetaPost-hoz, de kibővítve C++-szerű szintaxissal.
33Asymptote még képes olyan szintű szövegszedésre is, amelyre a
34LaTeX képes a tudományos szöveggel.
35
36%package doc
37Summary: Asymptote documentation
38Group: Documentation
39Requires: %{name} = %{epoch}:%{version}-%{release}
40
41%description doc
42Asymptote documentation.
43
44%package examples
45Summary: Asymptote examples
46Group: Documentation
47Requires: %{name} = %{epoch}:%{version}-%{release}
48
49%description examples
50Asymptote documentation.
51
52%prep
53%setup -q
54
55%build
56%configure \
57 CPPFLAGS=-I/usr/include/gc \
58 --disable-static \
59 --enable-gc=%{_includedir}/gc \
60 --with-docdir=%{_docdir}/%{name}-doc
61
62CPPFLAGS=-I/usr/include/gc %{__make}
63
64%install
65rm -rf $RPM_BUILD_ROOT
66
67# I don't know why need it - maybe the bad tetex configuration?
68# And the solution suggested by asympote's doc doesn't work too :(
69cp %{_datadir}/texmf/tex/{plain/pdfcolor/pdfcolor.tex,generic/epsf/epsf.tex,texinfo/texinfo.tex} doc
70%{__make} all
71%{__make} install \
72 DESTDIR=$RPM_BUILD_ROOT
73install -d $RPM_BUILD_ROOT%{_examplesdir}
74mv $RPM_BUILD_ROOT%{_docdir}/%{name}-doc/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}
75
76%clean
77rm -rf $RPM_BUILD_ROOT
78
79%files
80%defattr(644,root,root,755)
81%attr(755,root,root) %{_bindir}/asy
82%attr(755,root,root) %{_bindir}/xasy
83%{_datadir}/%{name}
84%{_datadir}/texmf/tex/latex/asymptote
85%{_mandir}/man1/*
86%doc README TODO BUGS
87
88%files examples
89%defattr(644,root,root,755)
90%{_examplesdir}/%{name}
91
92%files doc
93%defattr(644,root,root,755)
94%{_docdir}/%{name}-doc
This page took 0.114793 seconds and 4 git commands to generate.