SPECS: asymptote.spec - latex and gui subpackages - fix xasy.py attr
uzsolt
uzsolt at pld-linux.org
Sat Feb 28 19:57:11 CET 2009
Author: uzsolt Date: Sat Feb 28 18:57:11 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- latex and gui subpackages
- fix xasy.py attr
---- Files affected:
SPECS:
asymptote.spec (1.25 -> 1.26)
---- Diffs:
================================================================
Index: SPECS/asymptote.spec
diff -u SPECS/asymptote.spec:1.25 SPECS/asymptote.spec:1.26
--- SPECS/asymptote.spec:1.25 Fri Feb 27 16:47:40 2009
+++ SPECS/asymptote.spec Sat Feb 28 19:57:05 2009
@@ -4,7 +4,7 @@
Summary(pl.UTF-8): Język opisu grafiki wektorowej do rysunków technicznych
Name: asymptote
Version: 1.66
-Release: 1
+Release: 2
License: GPL v3
Group: Applications/Science
Source0: http://dl.sourceforge.net/asymptote/%{name}-%{version}.src.tgz
@@ -72,6 +72,29 @@
%description examples -l pl.UTF-8
Przykładowe pliki dla asymptote.
+%package latex
+Summary: LaTeX styles
+Summary(hu.UTF-8): LaTeX stílusok
+Group: Applications/Publishing/TeX
+
+%description latex
+LaTeX styles.
+
+%description latex -l hu.UTF-8
+LaTeX stílusok.
+
+%package gui
+Summary: GUI for asymptote
+Summary(hu.UTF-8): GUI asymptote-hoz
+Group: Applications/Science
+Requires: %{name} = %{epoch}:%{version}-%{release}
+
+%description gui
+GUI for asymptote.
+
+%description gui -l hu.UTF-8
+GUI asymptote-hoz.
+
%prep
%setup -q
@@ -98,6 +121,7 @@
install -d $RPM_BUILD_ROOT%{_examplesdir}
mv $RPM_BUILD_ROOT%{_docdir}/%{name}-doc/examples $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+%{__mv} $RPM_BUILD_ROOT%{_datadir}/texmf-local $RPM_BUILD_ROOT%{_datadir}/texmf
%clean
rm -rf $RPM_BUILD_ROOT
@@ -106,10 +130,16 @@
%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/*
+%exclude %{_datadir}/%{name}/GUI
+%{_mandir}/man1/asy*
+
+%files gui
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/xasy
+%attr(755,root,root) %{_datadir}/%{name}/GUI/xasy.py
+%{_datadir}/%{name}/GUI
+%{_mandir}/man1/xasy*
%files examples
%defattr(644,root,root,755)
@@ -119,12 +149,20 @@
%defattr(644,root,root,755)
%{_docdir}/%{name}-doc
+%files latex
+%defattr(644,root,root,755)
+%{_datadir}/texmf/tex/latex/asymptote
+
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
* %{date} PLD Team <feedback at pld-linux.org>
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.26 2009/02/28 18:57:05 uzsolt
+- latex and gui subpackages
+- fix xasy.py attr
+
Revision 1.25 2009/02/27 15:47:40 uzsolt
- up to 1.66
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/asymptote.spec?r1=1.25&r2=1.26&f=u
More information about the pld-cvs-commit
mailing list