From: Jakub Bogusz Date: Tue, 29 Sep 2020 20:27:31 +0000 (+0200) Subject: - initial X-Git-Tag: auto/th/tex-latex-adjustbox-1.3-1 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=a7a931213e11338cef7745bc2b2edcc235022fef;p=packages%2Ftex-latex-adjustbox.git - initial --- a7a931213e11338cef7745bc2b2edcc235022fef diff --git a/tex-latex-adjustbox.spec b/tex-latex-adjustbox.spec new file mode 100644 index 0000000..ca0b59d --- /dev/null +++ b/tex-latex-adjustbox.spec @@ -0,0 +1,55 @@ +Summary: Macros to adjust boxed content +Summary(pl.UTF-8): Makra do umieszczania treści w polach +Name: tex-latex-adjustbox +Version: 1.3 +Release: 1 +License: LaTeX Project Public License v1.3+ +Group: Applications/Publishing +Source0: http://mirrors.ctan.org/macros/latex/contrib/adjustbox.zip +# Source0-md5: 79b10d1ee1324aad287d52b3a8e7fd78 +URL: https://sourceforge.net/projects/adjustbox/ +BuildRequires: /usr/bin/latex +BuildRequires: rpmbuild(macros) >= 1.751 +BuildRequires: tex(ydoc) +BuildRequires: unzip +Requires(post,postun): /usr/bin/texhash +# TODO: use generic +Requires: texlive-latex +Requires: tex(collectbox) +Provides: tex(adjustbox) = %{version} +BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +Macros to adjust boxed content. + +%description -l pl.UTF-8 +Makra do umieszczania treści w polach. + +%prep +%setup -q -n adjustbox + +%build +latex adjustbox.ins + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{_datadir}/texmf/{doc,tex}/latex/adjustbox + +cp -p *.pdf $RPM_BUILD_ROOT%{_datadir}/texmf/doc/latex/adjustbox +cp -p *.def *.sty $RPM_BUILD_ROOT%{_datadir}/texmf/tex/latex/adjustbox + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +%texhash + +%postun +%texhash + +%files +%defattr(644,root,root,755) +%doc README +%doc %{_datadir}/texmf/doc/latex/adjustbox +%{_datadir}/texmf/tex/latex/adjustbox