From 368df966d59e06ed9e04250ede8de87e9447caf0 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sat, 6 Jan 2024 03:33:06 +0100 Subject: [PATCH] migrate from %{_datadir}/texmf to %{_datadir}/texmf-dist [release 20110207-2mamba;Tue Aug 20 2013] --- README.md | 2 ++ latex-font-bera.spec | 51 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 latex-font-bera.spec diff --git a/README.md b/README.md index ff5abb5..b26ed0a 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,4 @@ # latex-font-bera +A collection for Type1 fonts and the files required to use them with LaTeX. + diff --git a/latex-font-bera.spec b/latex-font-bera.spec new file mode 100644 index 0000000..299c676 --- /dev/null +++ b/latex-font-bera.spec @@ -0,0 +1,51 @@ +Name: latex-font-bera +Version: 20110207 +Release: 2mamba +Summary: A collection for Type1 fonts and the files required to use them with LaTeX +Group: System/Fonts +Vendor: openmamba +Distribution: openmamba +Packager: Silvan Calarco +URL: http://www.ctan.org/tex-archive/fonts/bera/ +Source: http://mirror.ctan.org/fonts/bera.zip +License: no OSI Approved +BuildArch: noarch +## AUTOBUILDREQ-BEGIN +## AUTOBUILDREQ-END +Requires(post):tetex +BuildRoot: %{_tmppath}/%{name}-%{version}-root + +%description +A collection for Type1 fonts and the files required to use them with LaTeX. + +%prep + +%build + +%install +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" +install -d -m0755 %{buildroot}%{_datadir}/texmf-dist +cd %{buildroot}%{_datadir}/texmf-dist/ +unzip %{SOURCE0} + +%clean +[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" + +%post +mktexlsr 2>/dev/null +: + +%postun +mktexlsr 2>/dev/null +: + +%files +%defattr(-,root,root) +%{_datadir}/texmf-dist/* + +%changelog +* Tue Aug 20 2013 Silvan Calarco 20110207-2mamba +- migrate from %{_datadir}/texmf to %{_datadir}/texmf-dist + +* Mon Feb 07 2011 Silvan Calarco 20110207-1mamba +- package created by autospec