Resolves:rh#903267-spec cleanup
- Change the dependecies for new textlive package in Fedora
This commit is contained in:
parent
0a7c8b0f68
commit
620962bcc8
@ -1,17 +1,23 @@
|
||||
%global texmf %{_datadir}/texmf
|
||||
|
||||
Summary: Culmus Hebrew fonts support for LaTeX
|
||||
Name: tex-fonts-hebrew
|
||||
Version: 0.1
|
||||
Release: 17%{?dist}
|
||||
Release: 18%{?dist}
|
||||
URL: http://culmus.sf.net
|
||||
# There is no real upstream for this package. It was based on Yotam Medini's
|
||||
# http://www.medini.org/hebrew/culmus2ltx-2003-02-28.tar.gz but is now
|
||||
# maintained specifically for Fedora.
|
||||
Source: tetex-fonts-hebrew-%{version}.tar.gz
|
||||
|
||||
# hebrew.ldf is LPPL, everything else is GPL+
|
||||
License: GPL+ and LPPL
|
||||
Group: Applications/Text
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||
BuildRequires: texlive, texlive-afm
|
||||
|
||||
#for afm2tfm we need
|
||||
BuildRequires: texlive-dvips-bin
|
||||
#for vptovf we need
|
||||
BuildRequires: texlive-fontware-bin
|
||||
|
||||
BuildRequires: culmus-aharoni-clm-fonts
|
||||
BuildRequires: culmus-caladings-clm-fonts
|
||||
BuildRequires: culmus-david-clm-fonts
|
||||
@ -22,9 +28,12 @@ BuildRequires: culmus-miriam-clm-fonts
|
||||
BuildRequires: culmus-miriam-mono-clm-fonts
|
||||
BuildRequires: culmus-nachlieli-clm-fonts
|
||||
BuildRequires: culmus-yehuda-clm-fonts
|
||||
Obsoletes: tetex-fonts-hebrew <= 0.1-11
|
||||
Provides: tetex-fonts-hebrew = %{version}-%{release}
|
||||
Requires: texlive
|
||||
|
||||
#for directory ownership
|
||||
Requires: texlive-base
|
||||
#for updating path /usr/share/texlive/texmf-config/web2c/updmap.cfg
|
||||
Requires: texlive-kpathsea-bin
|
||||
#for /usr/share/texmf/fonts/map/dvips/updmap/culmus.map we need following
|
||||
Requires: culmus-aharoni-clm-fonts
|
||||
Requires: culmus-caladings-clm-fonts
|
||||
Requires: culmus-david-clm-fonts
|
||||
@ -35,9 +44,10 @@ Requires: culmus-miriam-clm-fonts
|
||||
Requires: culmus-miriam-mono-clm-fonts
|
||||
Requires: culmus-nachlieli-clm-fonts
|
||||
Requires: culmus-yehuda-clm-fonts
|
||||
|
||||
BuildArch: noarch
|
||||
Requires(post): /usr/bin/texhash /usr/bin/updmap-sys
|
||||
Requires(postun): /usr/bin/texhash /usr/bin/updmap-sys
|
||||
Requires(post): /usr/bin/texhash /usr/bin/updmap-sys /usr/bin/texconfig-sys
|
||||
Requires(postun): /usr/bin/texhash /usr/bin/updmap-sys /usr/bin/texconfig-sys
|
||||
|
||||
%description
|
||||
Support using the Culmus Hebrew fonts in LaTeX.
|
||||
@ -47,31 +57,18 @@ Support using the Culmus Hebrew fonts in LaTeX.
|
||||
|
||||
%build
|
||||
sed -i 's/^culmusdir=/#culmusdir=/' mkCLMtfm.sh
|
||||
culmusdir=/usr/share/fonts/culmus make
|
||||
culmusdir=%{_datadir}/fonts/culmus make
|
||||
|
||||
%install
|
||||
%define texmf %{_datadir}/texmf
|
||||
rm -rf %{buildroot}
|
||||
make TEXMFDIR=%{buildroot}/%{texmf} CULMUSDIR=../../../../fonts/culmus install
|
||||
TEXMFDIR=%{buildroot}/%{texmf}
|
||||
make TEXMFDIR=%{buildroot}%{texmf} CULMUSDIR=../../../../fonts/culmus install
|
||||
TEXMFDIR=%{buildroot}%{texmf}
|
||||
mkdir -p $TEXMFDIR/fonts/map/dvips/updmap/
|
||||
mv $TEXMFDIR/fonts/map/dvips/culmus.map $TEXMFDIR/fonts/map/dvips/updmap/
|
||||
|
||||
%clean
|
||||
rm -rf %{buildroot}
|
||||
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc hebhello.tex culmus-ex.tex GNU-GPL
|
||||
%{texmf}/fonts/afm/public/culmus
|
||||
%{texmf}/fonts/type1/public/culmus
|
||||
%{texmf}/fonts/enc/dvips/culmus
|
||||
%{texmf}/fonts/enc/dvips/culmus/he8.enc
|
||||
%{texmf}/fonts/map/dvips/updmap/culmus.map
|
||||
%{texmf}/fonts/tfm/public/culmus
|
||||
%{texmf}/fonts/vf/public/culmus
|
||||
%{texmf}/tex/latex/culmus
|
||||
%{texmf}/tex/generic/0babel
|
||||
%{texmf}/fonts
|
||||
%{texmf}/tex
|
||||
|
||||
%post
|
||||
/usr/bin/texhash
|
||||
@ -88,6 +85,10 @@ fi
|
||||
/usr/bin/texhash
|
||||
|
||||
%changelog
|
||||
* Wed Jan 23 2013 Parag Nemade <pnemade AT redhat DOT com> - 0.1-18
|
||||
- Resolves:rh#903267-spec cleanup
|
||||
- Change the dependecies for new textlive package in Fedora
|
||||
|
||||
* Sat Jul 21 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1-17
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user