summaryrefslogtreecommitdiff
path: root/fonts-bitmap-nexus.spec
blob: 924c084b5a6c4adf674f5c3649111942747d11c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Summary:	A sans-serif fixed font
Summary(pl):	Font sans-serif stałej szerokości
%define	_pkgname	nexus
Name:		fonts-bitmap-nexus
Version:	0.0.2
%define	_snap	20050704
# this is not changing so don't include snap in rel
Release:	0.1
License:	BSD
Group:		X11/Applications
#Source0:	http://dl.sourceforge.net/enlightenment/%{_pkgname}-%{version}.tar.gz
Source0:	http://sparky.homelinux.org/snaps/enli/misc/%{_pkgname}-%{_snap}.tar.gz
# Source0-md5:	0c430037a88e7d986da8bfda227c061a
URL:		http://enlightenment.org/
BuildRequires:	XFree86-devel
BuildArch:	noarch
BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)

%description
A sans-serif, fixed font with iso8859 encoding. Only available as 10
point with medium weight.

%description -l pl
Font sans-serif stałej szerokości z kodowaniem iso8859. Dostępny tylko
jako 10-punktowy o średniej grubości.

%prep
%setup -q -n %{_pkgname}

%build
/usr/bin/X11/bdftopcf nex6x10.bdf > nex6x10.pcf
gzip -9nf nex6x10.pcf

%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_fontsdir}
install nex6x10.pcf.gz $RPM_BUILD_ROOT%{_fontsdir}

%clean
rm -rf $RPM_BUILD_ROOT

%post
fontpostinst misc

%postun
fontpostinst misc

%files
%defattr(644,root,root,755)
%doc AUTHORS COPYING README
%{_fontsdir}/nex6x10.pcf.gz