xorg-fonts/xorg-fonts.spec

333 lines
10 KiB
RPMSpec

%define encodings_ver 1.0.5
%define adobe_100dpi_ver 1.0.3
%define adobe_75dpi_ver 1.0.3
%define adobe_utopia_100dpi_ver 1.0.4
%define adobe_utopia_75dpi_ver 1.0.4
%define adobe_utopia_type1_ver 1.0.4
%define alias_ver 1.0.4
%define arabic_misc_ver 1.0.3
%define bh_100dpi_ver 1.0.3
%define bh_75dpi_ver 1.0.3
%define bh_lucidatypewriter_100dpi_ver 1.0.3
%define bh_lucidatypewriter_75dpi_ver 1.0.3
%define bh_ttf_ver 1.0.3
%define bh_type1_ver 1.0.3
%define bitstream_100dpi_ver 1.0.3
%define bitstream_75dpi_ver 1.0.3
%define bitstream_speedo_ver 1.0.2
%define bitstream_type1_ver 1.0.3
%define cronyx_cyrillic_ver 1.0.3
%define cursor_misc_ver 1.0.3
%define daewoo_misc_ver 1.0.3
%define dec_misc_ver 1.0.3
%define screen_cyrillic_ver 1.0.4
%define ibm_type1_ver 1.0.3
%define isas_misc_ver 1.0.3
%define jis_misc_ver 1.0.3
%define micro_misc_ver 1.0.3
%define misc_cyrillic_ver 1.0.3
%define misc_ethiopic_ver 1.0.4
%define misc_meltho_ver 1.0.3
%define misc_misc_ver 1.1.2
%define mutt_misc_ver 1.0.3
%define schumacher_misc_ver 1.1.2
%define sony_misc_ver 1.0.3
%define sun_misc_ver 1.0.3
%define winitzki_cyrillic_ver 1.0.3
%define xfree86_type1_ver 1.0.4
%define voidcursor_misc_ver 1.0.1
Name: xorg-fonts
Version: 7.6
Release: 3mamba
Summary: X.Org misc font
Group: System/Fonts
Vendor: openmamba
Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://x.org
Source0: ftp://ftp.x.org/pub/individual/font/encodings-%{encodings_ver}.tar.bz2
Source1: ftp://ftp.x.org/pub/individual/font/font-adobe-100dpi-%{adobe_100dpi_ver}.tar.bz2
Source2: ftp://ftp.x.org/pub/individual/font/font-adobe-75dpi-%{adobe_75dpi_ver}.tar.bz2
Source3: ftp://ftp.x.org/pub/individual/font/font-adobe-utopia-100dpi-%{adobe_utopia_100dpi_ver}.tar.bz2
Source4: ftp://ftp.x.org/pub/individual/font/font-adobe-utopia-75dpi-%{adobe_utopia_75dpi_ver}.tar.bz2
Source5: ftp://ftp.x.org/pub/individual/font/font-adobe-utopia-type1-%{adobe_utopia_type1_ver}.tar.bz2
Source6: ftp://ftp.x.org/pub/individual/font/font-alias-%{alias_ver}.tar.bz2
Source7: ftp://ftp.x.org/pub/individual/font/font-arabic-misc-%{arabic_misc_ver}.tar.bz2
Source8: ftp://ftp.x.org/pub/individual/font/font-bh-100dpi-%{bh_100dpi_ver}.tar.bz2
Source9: ftp://ftp.x.org/pub/individual/font/font-bh-75dpi-%{bh_75dpi_ver}.tar.bz2
Source10: ftp://ftp.x.org/pub/individual/font/font-bh-lucidatypewriter-100dpi-%{bh_lucidatypewriter_100dpi_ver}.tar.bz2
Source11: ftp://ftp.x.org/pub/individual/font/font-bh-lucidatypewriter-75dpi-%{bh_lucidatypewriter_75dpi_ver}.tar.bz2
Source12: ftp://ftp.x.org/pub/individual/font/font-bh-ttf-%{bh_ttf_ver}.tar.bz2
Source13: ftp://ftp.x.org/pub/individual/font/font-bh-type1-%{bh_type1_ver}.tar.bz2
Source14: ftp://ftp.x.org/pub/individual/font/font-bitstream-100dpi-%{bitstream_100dpi_ver}.tar.bz2
Source15: ftp://ftp.x.org/pub/individual/font/font-bitstream-75dpi-%{bitstream_75dpi_ver}.tar.bz2
Source16: ftp://ftp.x.org/pub/individual/font/font-bitstream-speedo-%{bitstream_speedo_ver}.tar.bz2
Source17: ftp://ftp.x.org/pub/individual/font/font-bitstream-type1-%{bitstream_type1_ver}.tar.bz2
Source18: ftp://ftp.x.org/pub/individual/font/font-cronyx-cyrillic-%{cronyx_cyrillic_ver}.tar.bz2
Source19: ftp://ftp.x.org/pub/individual/font/font-cursor-misc-%{cursor_misc_ver}.tar.bz2
Source20: ftp://ftp.x.org/pub/individual/font/font-daewoo-misc-%{daewoo_misc_ver}.tar.bz2
Source21: ftp://ftp.x.org/pub/individual/font/font-dec-misc-%{dec_misc_ver}.tar.bz2
Source22: ftp://ftp.x.org/pub/individual/font/font-ibm-type1-%{ibm_type1_ver}.tar.bz2
Source23: ftp://ftp.x.org/pub/individual/font/font-isas-misc-%{isas_misc_ver}.tar.bz2
Source24: ftp://ftp.x.org/pub/individual/font/font-jis-misc-%{jis_misc_ver}.tar.bz2
Source25: ftp://ftp.x.org/pub/individual/font/font-micro-misc-%{micro_misc_ver}.tar.bz2
Source26: ftp://ftp.x.org/pub/individual/font/font-misc-cyrillic-%{misc_cyrillic_ver}.tar.bz2
Source27: ftp://ftp.x.org/pub/individual/font/font-misc-ethiopic-%{misc_ethiopic_ver}.tar.bz2
Source28: ftp://ftp.x.org/pub/individual/font/font-misc-meltho-%{misc_meltho_ver}.tar.bz2
Source29: ftp://ftp.x.org/pub/individual/font/font-misc-misc-%{misc_misc_ver}.tar.bz2
Source30: ftp://ftp.x.org/pub/individual/font/font-mutt-misc-%{mutt_misc_ver}.tar.bz2
Source31: ftp://ftp.x.org/pub/individual/font/font-schumacher-misc-%{schumacher_misc_ver}.tar.bz2
Source32: ftp://ftp.x.org/pub/individual/font/font-screen-cyrillic-%{screen_cyrillic_ver}.tar.bz2
Source33: ftp://ftp.x.org/pub/individual/font/font-sony-misc-%{sony_misc_ver}.tar.bz2
Source34: ftp://ftp.x.org/pub/individual/font/font-sun-misc-%{sun_misc_ver}.tar.bz2
Source35: ftp://ftp.x.org/pub/individual/font/font-winitzki-cyrillic-%{winitzki_cyrillic_ver}.tar.bz2
Source36: ftp://ftp.x.org/pub/individual/font/font-xfree86-type1-%{xfree86_type1_ver}.tar.bz2
# the following fonts do not come from freedesktop:
Source37: http://www.openmamba.org/font-voidcursor-misc-%{voidcursor_misc_ver}.tar.bz2
License: MIT
BuildArch: noarch
## AUTOBUILDREQ-BEGIN
## AUTOBUILDREQ-END
BuildRequires: font-util >= 1.0.1
BuildRequires: xorg-apps-fonts >= 7.1
BuildRequires: libfontconfig-devel >= 2.3.2
BuildRoot: %{_tmppath}/%{name}-%{version}-root
%description
X.Org fonts.
%package 75dpi
Summary: 75dpi fonts for X.Org
Group: System/Fonts
Obsoletes: Xorg-75dpi-fonts
Provides: Xorg-75dpi-fonts
Requires(post):mkfontdir
%description 75dpi
75dpi fonts for X.Org.
%post 75dpi
/usr/bin/mkfontdir %{_datadir}/fonts/X11/
exit 0
%postun 75dpi
/usr/bin/mkfontdir %{_datadir}/fonts/X11/
exit 0
%package 100dpi
Summary: 100dpi fonts for X.Org
Group: System/Fonts
Obsoletes: Xorg-100dpi-fonts
Provides: Xorg-100dpi-fonts
Requires(post):mkfontdir
%description 100dpi
100dpi fonts for X.Org.
%post 100dpi
/usr/bin/mkfontdir %{_datadir}/fonts/X11/
exit 0
%postun 100dpi
/usr/bin/mkfontdir %{_datadir}/fonts/X11/
exit 0
%package OTF
Summary: OTF fonts for X.Org
Group: System/Fonts
Requires(post):mkfontdir
%description OTF
OTF fonts for X.Org.
%post OTF
/usr/bin/mkfontdir %{_datadir}/fonts/X11/
exit 0
%postun OTF
/usr/bin/mkfontdir %{_datadir}/fonts/X11/
exit 0
%package Speedo
Summary: Speedo fonts for X.Org
Group: System/Fonts
Obsoletes: Xorg-Speedo-fonts
Provides: Xorg-Speedo-fonts
Requires(post):mkfontdir
%description Speedo
Speedo fonts for X.Org.
%post Speedo
/usr/bin/mkfontdir %{_datadir}/fonts/X11/
exit 0
%postun Speedo
/usr/bin/mkfontdir %{_datadir}/fonts/X11/
exit 0
%package TTF
Summary: TTF fonts for X.Org
Group: System/Fonts
Requires(post):mkfontdir
%description TTF
TTF fonts for X.Org.
%post TTF
/usr/bin/mkfontdir %{_datadir}/fonts/X11/
exit 0
%postun TTF
/usr/bin/mkfontdir %{_datadir}/fonts/X11/
exit 0
%package Type1
Summary: Type1 fonts for X.Org
Group: System/Fonts
Requires(post):mkfontdir
%description Type1
Type1 fonts for X.Org.
%post Type1
/usr/bin/mkfontdir %{_datadir}/fonts/X11/
exit 0
%postun Type1
/usr/bin/mkfontdir %{_datadir}/fonts/X11/
exit 0
%package cyrillic
Summary: cyrillic fonts for X.Org
Group: System/Fonts
Obsoletes: Xorg-cyrillic-fonts
Provides: Xorg-cyrillic-fonts
Requires(post):mkfontdir
%description cyrillic
cyrillic fonts for X.Org.
%post cyrillic
/usr/bin/mkfontdir %{_datadir}/fonts/X11/
exit 0
%postun cyrillic
/usr/bin/mkfontdir %{_datadir}/fonts/X11/
exit 0
%package base
Summary: Base fonts package for X.Org
Group: System/Fonts
Requires(post):mkfontdir
%description base
Base fonts package for X.Org.
%post base
/usr/bin/mkfontdir %{_datadir}/fonts/X11/
exit 0
%postun base
/usr/bin/mkfontdir %{_datadir}/fonts/X11/
exit 0
%prep
%setup -q -c -a1 -a2 -a3 -a4 -a5 -a6 -a7 -a8 -a9 -a10 -a11 -a12 -a13 -a14 -a15 -a16 -a17 -a18 -a19 -a20 -a21 -a22 -a23 -a24 -a25 -a26 -a27 -a28 -a29 -a30 -a31 -a32 -a33 -a34 -a35 -a36 -a37
%build
for a in *; do
cd $a
[ -e config.sub ] && sed -i "s,| arm-\* |,| aarch64-\* | arm-\* |," config.sub
%configure
%make
cd ..
done
%install
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
for a in *; do
cd $a
%makeinstall
cd ..
done
%clean
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%files 75dpi
%defattr(-,root,root)
%dir %{_datadir}/fonts/X11/75dpi
%{_datadir}/fonts/X11/75dpi/*
%files 100dpi
%defattr(-,root,root)
%dir %{_datadir}/fonts/X11/100dpi
%{_datadir}/fonts/X11/100dpi/*
%files OTF
%defattr(-,root,root)
%dir %{_datadir}/fonts/X11/OTF
%{_datadir}/fonts/X11/OTF/*
%files Speedo
%defattr(-,root,root)
%dir %{_datadir}/fonts/X11/Speedo
%{_datadir}/fonts/X11/Speedo/*
%files TTF
%defattr(-,root,root)
%{_sysconfdir}/fonts/conf.avail/42-luxi-mono.conf
%{_sysconfdir}/fonts/conf.d/42-luxi-mono.conf
%dir %{_datadir}/fonts/X11/TTF
%{_datadir}/fonts/X11/TTF/*
%files Type1
%defattr(-,root,root)
%dir %{_datadir}/fonts/X11/Type1
%{_datadir}/fonts/X11/Type1/*
%files cyrillic
%defattr(-,root,root)
%dir %{_datadir}/fonts/X11/cyrillic
%{_datadir}/fonts/X11/cyrillic/*
%files base
%defattr(-,root,root)
%dir %{_datadir}/fonts/X11/encodings
%{_datadir}/fonts/X11/encodings/*
%dir %{_datadir}/fonts/X11/misc
%{_datadir}/fonts/X11/misc/*
%changelog
* Thu Dec 10 2020 Silvan Calarco <silvan.calarco@mambasoft.it> 7.6-3mamba
- update of some fonts
* Tue Aug 09 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 7.6-2mamba
- move fontconfig files for luxi to TTF subpackage
* Tue Aug 09 2011 Silvan Calarco <silvan.calarco@mambasoft.it> 7.6-1mamba
- update to 7.6
* Fri Dec 31 2010 Silvan Calarco <silvan.calarco@mambasoft.it> 7.4-2mamba
- add Requires(post): mkfontdir
* Sat Feb 07 2009 Silvan Calarco <silvan.calarco@mambasoft.it> 7.4-1mamba
- update to 7.4
* Sat Feb 16 2008 Silvan Calarco <silvan.calarco@mambasoft.it> 7.3-1mamba
- update to 7.3
* Tue Feb 13 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 7.2-2qilnx
- added voidcursor font
* Thu Feb 08 2007 Silvan Calarco <silvan.calarco@mambasoft.it> 7.2-1qilnx
- update to version 7.2 by autospec
* Thu Dec 21 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 7.1-2qilnx
- obsolete Xorg 6.9 packages
* Thu Dec 21 2006 Silvan Calarco <silvan.calarco@mambasoft.it> 7.1-1qilnx
- package created by autospec