%define name gentium-font %define tarname fonts-ttf-gentium %define ver 1.0.1 %define rel 2 %define grp System/X11/Fonts %define prefix /usr %define susever 8.2 Summary: Gentium (a typeface for the nations) - Fonts Name: %{name} Version: %{ver} Release: %{rel} License: redistributable with restrictions Group: %{grp} Source: http://scripts.sil.org/..inaccessible../%{tarname}-%{version}.tar.bz2 URL: http://scripts.sil.org/gentium/ Vendor: SIL International Packager: Volker Kuhlmann Distribution: SuSE Linux %{susever} contrib #BuildRoot: /tmp/%{name}-%{version}-%{release}-%(id -u -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-%(id -u -n) #SuSE uses: #BuildRoot: %{_tmppath}/%{name}-%{version}-build #Package is not relocatable: #Prefix: %{prefix} BuildArchitectures: noarch #Requires: #Provides: Autoreqprov: on Summary(de): Gentium (eine Schrift für die Nationen) - Fonts %description Gentium ("belonging to the nations" in Latin) is a Unicode typeface family designed to enable the many diverse ethnic groups around the world who use the Latin script to produce readable, high-quality publications. It supports a wide range of Latin-based alphabets and includes glyphs that correspond to all the Latin ranges of Unicode. The design is intended to be highly readable, reasonably compact, and visually attractive. The additional 'extended' Latin letters are designed to naturally harmonize with the traditional 26 ones. Diacritics are treated with careful thought and attention to their use. Gentium also supports both ancient and modern Greek, including a number of alternate forms. GentiumAlt is an alternate font with flatter diacritics, specifically designed for languages using multiple accents. A Cyrillic version is under development and will be added in the near future. Preliminary work has also begun on additional weights and manual hinting, and a complementary sans-serif face is in embryonic form. The font is in TrueType format. The Gentium font family has received various awards from the publishing and typography community. For more details visit the SIL Computing and Writing Systems website: http://scripts.sil.org/ %prep %setup -q -n %{tarname}-%{version} %build # nothing to do %install test "$RPM_BUILD_ROOT" != "/" -a -d "$RPM_BUILD_ROOT" \ && rm -rf "$RPM_BUILD_ROOT" %define ttf %{prefix}/X11R6/lib/X11/fonts/truetype mkdir -p ${RPM_BUILD_ROOT}%{ttf} chmod 644 *.ttf cp -av *.ttf ${RPM_BUILD_ROOT}%{ttf} %clean test "$RPM_BUILD_ROOT" != "/" -a -d "$RPM_BUILD_ROOT" \ && rm -rf "$RPM_BUILD_ROOT" %post type -p SuSEconfig && SuSEconfig --module fonts || true %postun type -p SuSEconfig && SuSEconfig --module fonts || true %files %defattr(-,root,root) %{ttf}/* %doc CHANGELOG %doc COPYING %doc FAQ %doc Gentium-Greek-Specimen.pdf %doc Gentium-RU-A3Proofs.pdf %doc Gentium-RU-Specimen.pdf %doc HISTORY %doc INSTALL %doc QUOTES %doc README %doc THANKS %changelog * Sat Jan 17 2004 - Volker Kuhlmann - Package available from: http://volker.dnsalias.net/soft/ - for SuSE 8.2 - first version of spec file - This package probably doesn't work (call to SuSEconfig) when installed during initial system installation. As this would only happen if the package was part of the official SuSE distribution, it's no problem.