[packages/tex-latex-ydoc] - initial

qboosh qboosh at pld-linux.org
Tue Sep 29 22:21:59 CEST 2020


commit 4fbbf5f001a3648f43fcf229e61b0990da721900
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Tue Sep 29 22:24:51 2020 +0200

    - initial

 tex-latex-ydoc.spec | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 57 insertions(+)
---
diff --git a/tex-latex-ydoc.spec b/tex-latex-ydoc.spec
new file mode 100644
index 0000000..8908a27
--- /dev/null
+++ b/tex-latex-ydoc.spec
@@ -0,0 +1,57 @@
+Summary:	Macros and environments to document LaTeX packages and classes
+Summary(pl.UTF-8):	Makra i środowiska do dokumentowania pakietów i klas LaTeXa
+Name:		tex-latex-ydoc
+Version:	0.6alpha
+Release:	1
+License:	LaTeX Project Public License v1.3+
+Group:		Applications/Publishing
+Source0:	http://mirrors.ctan.org/macros/latex/contrib/ydoc.zip
+# Source0-md5:	8602d89c031a60a7067003b07bac1cb4
+URL:		https://sourceforge.net/projects/ydoc/
+BuildRequires:	/usr/bin/tex
+BuildRequires:	rpmbuild(macros) >= 1.751
+BuildRequires:	unzip
+Requires(post,postun):	/usr/bin/texhash
+# TODO: use generic
+Requires:	texlive
+# for ydoc itself; not needed for just ydocstrip
+#Requires:	tex(svn-prov)
+Provides:	tex(ydoc) = %{version}
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Macros and environments to document LaTeX packages and classes.
+
+%description -l pl.UTF-8
+Makra i środowiska do dokumentowania pakietów i klas LaTeXa.
+
+%prep
+%setup -q -n ydoc
+
+%build
+tex ydoc.dtx
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_datadir}/texmf/{doc/latex,tex/generic,tex/latex}/ydoc
+
+cp -p *.pdf $RPM_BUILD_ROOT%{_datadir}/texmf/doc/latex/ydoc
+cp -p *.tex $RPM_BUILD_ROOT%{_datadir}/texmf/tex/generic/ydoc
+cp -p *.cls *.sty *.cfg $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/ydoc
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%post
+%texhash
+
+%postun
+%texhash
+
+%files
+%defattr(644,root,root,755)
+%doc README
+%doc %{_datadir}/texmf/doc/latex/ydoc
+%{_datadir}/texmf/tex/generic/ydoc
+%{_datadir}/texmf/tex/latex/ydoc
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/tex-latex-ydoc.git/commitdiff/4fbbf5f001a3648f43fcf229e61b0990da721900



More information about the pld-cvs-commit mailing list