]> git.pld-linux.org Git - packages/fonts-TTF-AnonymousPro.git/blame - fonts-TTF-AnonymousPro.spec
- add spec, too
[packages/fonts-TTF-AnonymousPro.git] / fonts-TTF-AnonymousPro.spec
CommitLineData
0541c18e
AM
1%define _name AnonymousPro
2Summary: A set of fixed-width fonts designed with coding in mind
3Name: fonts-TTF-%{_name}
4Version: 1.002
5Release: 1
6License: OFL
7Group: Fonts
8Source0: http://www.marksimonson.com/assets/content/fonts/AnonymousPro-%{version}.zip
9# Source0-md5: bb5141b20b9d69b3190be03e5706c8b7
10Source1: %{name}-fontconfig.conf
11URL: http://www.marksimonson.com/fonts/view/anonymous-pro
12BuildRequires: unzip
13Requires(post,postun): fontpostinst
14BuildArch: noarch
15BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
16
17%define ttffontsdir %{_fontsdir}/TTF
18
19%description
20Anonymous Pro (2009) is a family of four fixed-width fonts designed
21with coding in mind. Anonymous Pro features an international,
22Unicode-based character set, with support for most Western and Central
23European Latin-based languages, plus Greek and Cyrillic. Anonymous Pro
24is based on an earlier font, Anonymous(TM) (2001), my TrueType version
25of Anonymous 9, a Macintosh bitmap font developed in the mid-’90s by
26Susan Lesch and David Lamkins.
27
28%prep
29%setup -q -c
30
31%install
32rm -rf $RPM_BUILD_ROOT
33cd %{_name}-%{version}.*
34
35install -d $RPM_BUILD_ROOT{%{ttffontsdir},%{_datadir}/fontconfig/conf.avail,%{_sysconfdir}/fonts/conf.d}
36
37install -p *.ttf $RPM_BUILD_ROOT%{ttffontsdir}
38install -p %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/fontconfig/conf.avail/%{name}.conf
39ln -s %{_datadir}/fontconfig/conf.avail/%{name}.conf $RPM_BUILD_ROOT%{_sysconfdir}/fonts/conf.d/
40
41%clean
42rm -rf $RPM_BUILD_ROOT
43
44%post
45fontpostinst TTF
46
47%postun
48fontpostinst TTF
49
50%files
51%defattr(644,root,root,755)
52%{ttffontsdir}/*.ttf
53%{_sysconfdir}/fonts/conf.d/%{name}.conf
54%{_datadir}/fontconfig/conf.avail/%{name}.conf
This page took 0.10592 seconds and 4 git commands to generate.