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