]> git.pld-linux.org Git - packages/tex-latex-collectbox.git/blob - tex-latex-collectbox.spec
- texmf/doc/latex dir belongs to texlive now; release 2
[packages/tex-latex-collectbox.git] / tex-latex-collectbox.spec
1 Summary:        Macros to collect and process an macro argument as horizontal box
2 Summary(pl.UTF-8):      Makra do zbierania i przetwarzania argumentu makra jako poziomego pola
3 Name:           tex-latex-collectbox
4 Version:        0.4b
5 Release:        2
6 License:        LaTeX Project Public License v1.3+
7 Group:          Applications/Publishing
8 Source0:        http://mirrors.ctan.org/macros/latex/contrib/collectbox.zip
9 # Source0-md5:  169ee2a9a88fadcfb170f7aab33cef34
10 URL:            https://sourceforge.net/projects/collectbox/
11 BuildRequires:  /usr/bin/latex
12 BuildRequires:  rpmbuild(macros) >= 1.751
13 BuildRequires:  tex(ydoc)
14 BuildRequires:  unzip
15 Requires(post,postun):  /usr/bin/texhash
16 # TODO: use generic
17 Requires:       texlive-latex
18 Provides:       tex(collectbox) = %{version}
19 BuildArch:      noarch
20 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
21
22 %description
23 Macros to collect and process an macro argument as horizontal box.
24
25 %description -l pl.UTF-8
26 Makra do zbierania i przetwarzania argumentu makra jako poziomego
27 pola.
28
29 %prep
30 %setup -q -n collectbox
31
32 %build
33 latex collectbox.ins
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT%{_datadir}/texmf/{doc,tex}/latex/collectbox
38
39 cp -p *.pdf $RPM_BUILD_ROOT%{_datadir}/texmf/doc/latex/collectbox
40 cp -p *.sty $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/collectbox
41
42 %clean
43 rm -rf $RPM_BUILD_ROOT
44
45 %post
46 %texhash
47
48 %postun
49 %texhash
50
51 %files
52 %defattr(644,root,root,755)
53 %doc README
54 %doc %{_datadir}/texmf/doc/latex/collectbox
55 %{_datadir}/texmf/tex/latex/collectbox
This page took 0.065164 seconds and 3 git commands to generate.