]> git.pld-linux.org Git - packages/tex-latex-ydoc.git/blob - tex-latex-ydoc.spec
- initial
[packages/tex-latex-ydoc.git] / tex-latex-ydoc.spec
1 Summary:        Macros and environments to document LaTeX packages and classes
2 Summary(pl.UTF-8):      Makra i środowiska do dokumentowania pakietów i klas LaTeXa
3 Name:           tex-latex-ydoc
4 Version:        0.6alpha
5 Release:        1
6 License:        LaTeX Project Public License v1.3+
7 Group:          Applications/Publishing
8 Source0:        http://mirrors.ctan.org/macros/latex/contrib/ydoc.zip
9 # Source0-md5:  8602d89c031a60a7067003b07bac1cb4
10 URL:            https://sourceforge.net/projects/ydoc/
11 BuildRequires:  /usr/bin/tex
12 BuildRequires:  rpmbuild(macros) >= 1.751
13 BuildRequires:  unzip
14 Requires(post,postun):  /usr/bin/texhash
15 # TODO: use generic
16 Requires:       texlive
17 # for ydoc itself; not needed for just ydocstrip
18 #Requires:      tex(svn-prov)
19 Provides:       tex(ydoc) = %{version}
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Macros and environments to document LaTeX packages and classes.
25
26 %description -l pl.UTF-8
27 Makra i środowiska do dokumentowania pakietów i klas LaTeXa.
28
29 %prep
30 %setup -q -n ydoc
31
32 %build
33 tex ydoc.dtx
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT%{_datadir}/texmf/{doc/latex,tex/generic,tex/latex}/ydoc
38
39 cp -p *.pdf $RPM_BUILD_ROOT%{_datadir}/texmf/doc/latex/ydoc
40 cp -p *.tex $RPM_BUILD_ROOT%{_datadir}/texmf/tex/generic/ydoc
41 cp -p *.cls *.sty *.cfg $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/ydoc
42
43 %clean
44 rm -rf $RPM_BUILD_ROOT
45
46 %post
47 %texhash
48
49 %postun
50 %texhash
51
52 %files
53 %defattr(644,root,root,755)
54 %doc README
55 %doc %{_datadir}/texmf/doc/latex/ydoc
56 %{_datadir}/texmf/tex/generic/ydoc
57 %{_datadir}/texmf/tex/latex/ydoc
This page took 0.126432 seconds and 3 git commands to generate.