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