SPECS: tetex-latex-pseudocode.spec (NEW) - initial

undefine undefine at pld-linux.org
Fri Feb 22 00:48:01 CET 2008


Author: undefine                     Date: Thu Feb 21 23:48:01 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial

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

---- Diffs:

================================================================
Index: SPECS/tetex-latex-pseudocode.spec
diff -u /dev/null SPECS/tetex-latex-pseudocode.spec:1.1
--- /dev/null	Fri Feb 22 00:48:01 2008
+++ SPECS/tetex-latex-pseudocode.spec	Fri Feb 22 00:47:55 2008
@@ -0,0 +1,60 @@
+# $Revision$, $Date$
+%define short_name pseudocode
+%define texhash [ ! -x %{_bindir}/texhash ] || %{_bindir}/texhash 1>&2 ;
+
+Summary:	Environment "pseudocode" for describing algorithms in a natural manner
+Summary(pl.UTF-8):	Środowisko "pseudocode" do opisu algorytmu w sposób naturalny
+Name:		tetex-latex-%{short_name}
+Version:	1.0
+Release:	1
+License:	LaTeX Project Public License v3+
+Group:		Applications/Publishing/TeX
+Source0:	ftp://ftp.ctan.org/pub/tex-archive/macros/latex/contrib/%{short_name}.zip
+# Source0-md5:	fd271b2c81d5bf88ff87096c61a27a82
+BuildRequires:	unzip
+Requires(post,postun):	/usr/bin/texhash
+Requires:	tetex-latex
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This package provides the environment "pseudocode" for describing
+algorithms in a natural manner.
+
+%description -l pl.UTF-8
+Pakiet udostępnia środowisko "pseudocode" służące do opisu
+algorytmów w naturalny sposób.
+
+%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 %{_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  2008-02-21 23:47:55  undefine
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list