]> git.pld-linux.org Git - SPECS.git/blob - tex-latex-adjustbox.spec
SPECS updated Wed 28 Jul 14:48:01 CEST 2021
[SPECS.git] / tex-latex-adjustbox.spec
1 Summary:        Macros to adjust boxed content
2 Summary(pl.UTF-8):      Makra do umieszczania treści w polach
3 Name:           tex-latex-adjustbox
4 Version:        1.3
5 Release:        1
6 License:        LaTeX Project Public License v1.3+
7 Group:          Applications/Publishing
8 Source0:        http://mirrors.ctan.org/macros/latex/contrib/adjustbox.zip
9 # Source0-md5:  79b10d1ee1324aad287d52b3a8e7fd78
10 URL:            https://sourceforge.net/projects/adjustbox/
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 Requires:       tex(collectbox)
19 Provides:       tex(adjustbox) = %{version}
20 BuildArch:      noarch
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Macros to adjust boxed content.
25
26 %description -l pl.UTF-8
27 Makra do umieszczania treści w polach.
28
29 %prep
30 %setup -q -n adjustbox
31
32 %build
33 latex adjustbox.ins
34
35 %install
36 rm -rf $RPM_BUILD_ROOT
37 install -d $RPM_BUILD_ROOT%{_datadir}/texmf/{doc,tex}/latex/adjustbox
38
39 cp -p *.pdf $RPM_BUILD_ROOT%{_datadir}/texmf/doc/latex/adjustbox
40 cp -p *.def *.sty $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/adjustbox
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/adjustbox
55 %{_datadir}/texmf/tex/latex/adjustbox
This page took 0.191393 seconds and 3 git commands to generate.