]> git.pld-linux.org Git - packages/terminus-font.git/blobdiff - terminus-font.spec
Conflict older freetype
[packages/terminus-font.git] / terminus-font.spec
index c780745f3b7bd67f5dcef49dda5cb2c6c393abcb..08f5ea8d0def045ec2ecfc489055a359fc7affef 100644 (file)
 Summary:       A clean fixed width font
+Summary(pl.UTF-8):     Przejrzysty font o stałej szerokości
 Name:          terminus-font
-Version:       4.09
-Release:       1
-Epoch:         0
-License:       GPL
+Version:       4.40
+Release:       2
+License:       SIL Open Font License v1.1 (font), GPL v2+ (utils)
 Group:         Fonts
-Source0:       http://www.is-vn.bg/hamster/%{name}-%{version}.tar.gz
-# Source0-md5: 21e832a4b4bfdd1f494eddea06ccfedf
-URL:           http://www.is-vn.bg/hamster/jimmy-en.html
-BuildRequires: X11-devel
+Source0:       http://downloads.sourceforge.net/terminus-font/%{name}-%{version}.tar.gz
+# Source0-md5: 1e1df0d2c612c374ebe7966f90f04e0c
+Source1:       terminus-fonts-fontconfig.conf
+URL:           http://sourceforge.net/projects/terminus-font/
+BuildRequires: perl-base
+BuildRequires: xorg-app-bdftopcf
+Conflicts:     freetype < 1:2.7.1
+BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-Terminus Font is designed for long (8 and more hours per day) work with
-computers. Version 4.09 contains 594 characters, covering code pages
-ISO8859-1/2/5/9/13/15/16, Windows-1250/1251/1252/1254/1257,
-IBM-437/852/855/866, KOI8-R/U/E/F, Bulgarian-MIK, Paratype-PT154/PT254,
-Macintosh-Ukrainian and Esperanto, and also the vt100 and xterm pseudographic
-characters.
-
-The sizes present are 8x14, 8x16, 10x20, 12x24, 14x28 and 16x32. The styles are
-normal and bold, plus EGA/VGA-bold for 8x14 and 8x16.
+Terminus Font is designed for long (8 and more hours per day) work
+with computers. Now it contains 856 characters and covers 120 language
+sets and the following code pages: ISO8859-1/2/5/7/9/13/15/16,
+IBM-437/852/855/866, Windows-1250/1251/1252/1254/1257, KOI8-R/U/E/F,
+Bulgarian-MIK, Paratype-PT154/PT254, Macintosh-Ukrainian and
+Esperanto, and also the vt100 and xterm pseudographic characters.
+
+The sizes present are 6x12, 8x14, 8x16, 10x18, 10x20, 11x22, 12x24,
+14x28 and 16x32. The styles are normal and bold, plus EGA/VGA-bold for
+8x14 and 8x16.
+
+%description -l pl.UTF-8
+Font Terminus jest zaprojektowany do długiej (8 i więcej godzin
+dziennie) pracy z komputerami. Obecna wersja zawiera 856 znaków,
+pokrywających 120 języków i następujące strony kodowe:
+ISO8859-1/2/5/7/9/13/15/16, IBM-437/852/855/866,
+Windows-1250/1251/1252/1254/1257, KOI8-R/U/E/F, Bulgarian-MIK,
+Paratype-PT154/PT254, Macintosh-Ukrainian i Esperanto, a także znaki
+pseudograficzne vt100 i xterma.
+
+Dostępne są rozmiary 6x12, 8x14, 8x16, 10x18, 10x20, 11x22, 12x24,
+14x28 i 16x32. Style to normalny i pogrubiony, oraz pogrubiony EGA/VGA
+dla 8x14 i 8x16.
 
 %package console
 Summary:       A clean fixed width font
+Summary(pl.UTF-8):     Przejrzysty font o stałej szerokości
+License:       SIL Open Font License v1.1
 Group:         Fonts
 
 %description console
-Terminus Font is designed for long (8 and more hours per day) work with
-computers. Version 4.09 contains 594 characters, covering code pages
-ISO8859-1/2/5/9/13/15/16, Windows-1250/1251/1252/1254/1257,
-IBM-437/852/855/866, KOI8-R/U/E/F, Bulgarian-MIK, Paratype-PT154/PT254,
-Macintosh-Ukrainian and Esperanto, and also the vt100 and xterm pseudographic
-characters.
+Terminus Font is designed for long (8 and more hours per day) work
+with computers. Now it contains 856 characters and covers 120 language
+sets and the following code pages: ISO8859-1/2/5/7/9/13/15/16,
+IBM-437/852/855/866, Windows-1250/1251/1252/1254/1257, KOI8-R/U/E/F,
+Bulgarian-MIK, Paratype-PT154/PT254, Macintosh-Ukrainian and
+Esperanto, and also the vt100 and xterm pseudographic characters.
 
-The sizes present are 8x14, 8x16, 10x20, 12x24, 14x28 and 16x32. The styles are
-normal and bold, plus EGA/VGA-bold for 8x14 and 8x16.
+The sizes present are 6x12, 8x14, 8x16, 10x18, 10x20, 11x22, 12x24,
+14x28 and 16x32. The styles are normal and bold, plus EGA/VGA-bold for
+8x14 and 8x16.
 
 This package contains Terminus Font for Linux console.
 
+%description console -l pl.UTF-8
+Font Terminus jest zaprojektowany do długiej (8 i więcej godzin
+dziennie) pracy z komputerami. Obecna wersja zawiera 856 znaków,
+pokrywających 120 języków i następujące strony kodowe:
+ISO8859-1/2/5/7/9/13/15/16, IBM-437/852/855/866,
+Windows-1250/1251/1252/1254/1257, KOI8-R/U/E/F, Bulgarian-MIK,
+Paratype-PT154/PT254, Macintosh-Ukrainian i Esperanto, a także znaki
+pseudograficzne vt100 i xterma.
+
+Dostępne są rozmiary 6x12, 8x14, 8x16, 10x18, 10x20, 11x22, 12x24,
+14x28 i 16x32. Style to normalny i pogrubiony, oraz pogrubiony EGA/VGA
+dla 8x14 i 8x16.
+
+Ten pakiet zawiera font Terminus dla konsoli Linuksa.
+
 %package X11
 Summary:       A clean fixed width font
+Summary(pl.UTF-8):     Przejrzysty font o stałej szerokości
+License:       SIL Open Font License v1.1
 Group:         Fonts
+Requires(post,postun): fontpostinst
 
 %description X11
-Terminus Font is designed for long (8 and more hours per day) work with
-computers. Version 4.09 contains 594 characters, covering code pages
-ISO8859-1/2/5/9/13/15/16, Windows-1250/1251/1252/1254/1257,
-IBM-437/852/855/866, KOI8-R/U/E/F, Bulgarian-MIK, Paratype-PT154/PT254,
-Macintosh-Ukrainian and Esperanto, and also the vt100 and xterm pseudographic
-characters.
+Terminus Font is designed for long (8 and more hours per day) work
+with computers. Now it contains 856 characters and covers 120 language
+sets and the following code pages: ISO8859-1/2/5/7/9/13/15/16,
+IBM-437/852/855/866, Windows-1250/1251/1252/1254/1257, KOI8-R/U/E/F,
+Bulgarian-MIK, Paratype-PT154/PT254, Macintosh-Ukrainian and
+Esperanto, and also the vt100 and xterm pseudographic characters.
 
-The sizes present are 8x14, 8x16, 10x20, 12x24, 14x28 and 16x32. The styles are
-normal and bold, plus EGA/VGA-bold for 8x14 and 8x16.
+The sizes present are 6x12, 8x14, 8x16, 10x18, 10x20, 11x22, 12x24,
+14x28 and 16x32. The styles are normal and bold, plus EGA/VGA-bold for
+8x14 and 8x16.
 
 This package contains Terminus Font for X11 displays.
 
+%description X11 -l pl.UTF-8
+Font Terminus jest zaprojektowany do długiej (8 i więcej godzin
+dziennie) pracy z komputerami. Obecna wersja zawiera 856 znaków,
+pokrywających 120 języków i następujące strony kodowe:
+ISO8859-1/2/5/7/9/13/15/16, IBM-437/852/855/866,
+Windows-1250/1251/1252/1254/1257, KOI8-R/U/E/F, Bulgarian-MIK,
+Paratype-PT154/PT254, Macintosh-Ukrainian i Esperanto, a także znaki
+pseudograficzne vt100 i xterma.
+
+Dostępne są rozmiary 6x12, 8x14, 8x16, 10x18, 10x20, 11x22, 12x24,
+14x28 i 16x32. Style to normalny i pogrubiony, oraz pogrubiony EGA/VGA
+dla 8x14 i 8x16.
+
+Ten pakiet zawiera font Terminus dla X11.
+
 %prep
 %setup -q
 
 %build
-%{__make}
+./configure \
+       --x11dir=%{_datadir}/fonts/local \
+       --psfdir=/lib/kbd/consolefonts
+%{__make} pcf psf
 
 %install
+rm -rf $RPM_BUILD_ROOT
+
+install -d $RPM_BUILD_ROOT{%{_datadir}/fontconfig/conf.avail,%{_sysconfdir}/fonts/conf.d}
+
+%{__make} install-psf install-pcf install-ref \
+       DESTDIR=$RPM_BUILD_ROOT
+
+install -p %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/fontconfig/conf.avail/63-%{name}.conf
+ln -s %{_datadir}/fontconfig/conf.avail/63-%{name}.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d/
+
+%clean
+rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
-       x11dir=$RPM_BUILD_ROOT/usr/share/fonts/local \
-       psfdir=$RPM_BUILD_ROOT/usr/share/consolefonts
-       
 %post X11
 fontpostinst local
 
 %postun X11
 fontpostinst local
 
-%clean
-rm -rf $RPM_BUILD_ROOT
-
 %files console
 %defattr(644,root,root,755)
-%doc README
-/usr/share/consolefonts/*
+%doc AUTHORS CHANGES README
+/lib/kbd/consolefonts/ter-*.psf.gz
 
 %files X11
 %defattr(644,root,root,755)
-%doc README
-/usr/share/fonts/local/*
+%doc AUTHORS CHANGES README
+%{_datadir}/fonts/local/ter-*.pcf.gz
+%{_datadir}/fontconfig/conf.avail/63-%{name}.conf
+%{_sysconfdir}/fonts/conf.d/63-%{name}.conf
This page took 0.115859 seconds and 4 git commands to generate.