]> git.pld-linux.org Git - packages/asymptote.git/blobdiff - asymptote.spec
- up to 1.54
[packages/asymptote.git] / asymptote.spec
index 0dece64deb07022d9a87cd69bc0f845c2a141e82..fe60167648befb8a18ec21f40941d1c83dfde93b 100644 (file)
@@ -1,15 +1,14 @@
 Summary:       Asymptote is a powerful descriptive vector graphics language for technical drawing
 Summary(hu.UTF-8):     Asymptote egy leíró vektorgrafikus nyelv technikai rajzokhoz
-Summary(pl.UTF-8):     Języka opisu grafiki wektorowej do technicznych rysunków
+Summary(pl.UTF-8):     Język opisu grafiki wektorowej do rysunków technicznych
 Name:          asymptote
-Version:       1.43
+Version:       1.54
 Release:       1
-License:       GPL
+License:       GPL v3
 Group:         Applications/Science
-Group:         X11/Applications/Science
 Source0:       http://dl.sourceforge.net/asymptote/%{name}-%{version}.src.tgz
-# Source0-md5: 8f85e1d9c455700f304960a8c5f7f113
-URL:           http://asymptote.sourceforge.net
+# Source0-md5: b30cf54e1991889a399b95d6a9285d9b
+URL:           http://asymptote.sourceforge.net/
 BuildRequires: autoconf
 BuildRequires: gc-devel >= 7.0
 BuildRequires: gsl-devel >= 1.7
@@ -30,10 +29,10 @@ syntax. Asymptote provides for figures the same high-quality level of
 typesetting that LaTeX does for scientific text.
 
 %description -l hu.UTF-8
-Asymptote egy leíró vektorgrafikus nyelv technikai rajzokhoz,
-hasonló a MetaPost-hoz, de kibővítve C++-szerű szintaxissal.
-Asymptote még képes olyan szintű szövegszedésre is, amelyre a
-LaTeX képes a tudományos szöveggel.
+Asymptote egy leíró vektorgrafikus nyelv technikai rajzokhoz, hasonló
+a MetaPost-hoz, de kibővítve C++-szerű szintaxissal. Asymptote még
+képes olyan szintű szövegszedésre is, amelyre a LaTeX képes a
+tudományos szöveggel.
 
 %description -l pl.UTF-8
 Asymptote jest językiem opisu grafiki wektorowej dla rysunków
@@ -42,6 +41,7 @@ posiada bogatszą składnię w stylu C++.
 
 %package doc
 Summary:       Asymptote documentation
+Summary(pl.UTF-8):     Dokumentacja do Asymptote
 Group:         Documentation
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 
@@ -49,10 +49,11 @@ Requires:   %{name} = %{epoch}:%{version}-%{release}
 Asymptote documentation.
 
 %description doc -l pl.UTF-8
-Dokumentacja asymptote.
+Dokumentacja do Asymptote.
 
 %package examples
 Summary:       Asymptote examples
+Summary(pl.UTF-8):     Przykłady do Asymptote
 Group:         Documentation
 Requires:      %{name} = %{epoch}:%{version}-%{release}
 
@@ -73,6 +74,7 @@ Przykładowe pliki dla asymptote.
        --disable-static \
        --enable-gc=%{_includedir}/gc \
        --with-docdir=%{_docdir}/%{name}-doc
+cd doc && for i in %{_datadir}/texmf/tex/texinfo/*; do ln -s $i; done && cd ..
 
 %{__make} all
 
@@ -84,24 +86,25 @@ rm -rf $RPM_BUILD_ROOT
 cp %{_datadir}/texmf/tex/{plain/pdfcolor/pdfcolor.tex,generic/epsf/epsf.tex,texinfo/texinfo.tex} doc
 %{__make} install \
        DESTDIR=$RPM_BUILD_ROOT
+
 install -d $RPM_BUILD_ROOT%{_examplesdir}
-mv $RPM_BUILD_ROOT%{_docdir}/%{name}-doc/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}
+mv $RPM_BUILD_ROOT%{_docdir}/%{name}-doc/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
+%doc README TODO BUGS
 %attr(755,root,root) %{_bindir}/asy
 %attr(755,root,root) %{_bindir}/xasy
 %{_datadir}/%{name}
 %{_datadir}/texmf/tex/latex/asymptote
 %{_mandir}/man1/*
-%doc README TODO BUGS
 
 %files examples
 %defattr(644,root,root,755)
-%{_examplesdir}/%{name}
+%{_examplesdir}/%{name}-%{version}
 
 %files doc
 %defattr(644,root,root,755)
This page took 0.061877 seconds and 4 git commands to generate.