SPECS: tetex-latex-mhchem.spec (NEW) - Initial for PLD

piti piti at pld-linux.org
Mon Jan 16 21:12:10 CET 2006


Author: piti                         Date: Mon Jan 16 20:12:10 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- Initial for PLD

---- Files affected:
SPECS:
   tetex-latex-mhchem.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/tetex-latex-mhchem.spec
diff -u /dev/null SPECS/tetex-latex-mhchem.spec:1.1
--- /dev/null	Mon Jan 16 21:12:10 2006
+++ SPECS/tetex-latex-mhchem.spec	Mon Jan 16 21:12:04 2006
@@ -0,0 +1,78 @@
+# $Revision$, $Date$
+%define short_name mhchem
+%define texhash [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2 ;
+
+Summary:	Eassier writing of chemical formulas and R and S phrases
+Summary(pl):	Pakiet ułatwiający pisanie wzorów chemicznych oraz zwrotów R S
+Name:		tetex-latex-%{short_name}
+Version:	3.00
+Release:	1		
+License:	LaTeX Project Public License
+Group:		Applications/Publishing/TeX
+Source0:	ftp://ftp.ctan.org//pub/tex/macros/latex/contrib/%{short_name}.zip
+# Source0-md5:	41ab7f91f679d0d7a725692093e6e378
+Requires(post,postun):	/usr/bin/texhash
+Requires:	tetex-latex
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The mhchem bundle consists of two packages: mhchem and rsphrase.
+
+The mhchem package provides two commands: one for typesetting chemical
+molecular formulae and one for typesetting chemical equations with
+these formulae.
+
+The rsphrase package contains the text of all official Risk and Safety
+(R and S) Phrases that are used to label chemicals. At the time being,
+these phrases are available in English, Danish, French and German
+(current spelling).
+
+%description -l pl
+Pakiet mhchem składa się z dwóch pakietów latexowych: mhchem i
+rsphrase.
+
+Pakiet mhchem dostarcza dwóch komend: pierwsza ułatwiająca pisanie
+wzorów chemicznych druga umożliwiająca tworzenie równań chemicznych
+przy wykorzystaniu tych wzorów.
+
+Pakiet rsphrase zawiera teksty wszystkich zwrotów R (Risk phrases,
+zwroty R, opisujące zagrożenie) oraz zwrotów S (Safety phrases, zwroty
+S, opisujące środki zapobiegawcze) używanych do etykietowania związków
+chemicznych. Na chwilę obecną, zwroty te są dostępne w językach:
+angielskim, duńskim, francuskim oraz niemieckim (nowa pisownia).
+
+%prep
+%setup -q -n %{short_name}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/%{short_name}
+install -d $RPM_BUILD_ROOT%{_datadir}/texmf/doc/latex/%{short_name}
+
+install *.sty $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/%{short_name}
+install *.pdf $RPM_BUILD_ROOT%{_datadir}/texmf/doc/latex/%{short_name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%texhash
+
+%postun
+%texhash
+
+%files
+%defattr(644,root,root,755)
+%doc whatsnew.txt legal.txt
+%doc %{_datadir}/texmf/doc/latex/%{short_name}
+%{_datadir}/texmf/tex/latex/%{short_name}
+
+%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.1  2006/01/16 20:12:04  piti
+- Initial for PLD
+
================================================================


More information about the pld-cvs-commit mailing list