]>
Commit | Line | Data |
---|---|---|
a106fcde | 1 | Summary: Essays 1743, a font based on an 18th-century typeface. |
2 | Name: fonts-ttf-essays1743 | |
3 | Version: 1.0 | |
4 | Release: 1 | |
5 | Source0: http://www.thibault.org/fonts/essays/Essays1743-%{version}-ttf.tar.gz | |
e4fa46bc | 6 | # Source0-md5: 535e9043e006e76929dff127bdc7ffb9 |
a106fcde | 7 | URL: http://www.thibault.org/fonts/essays/ |
8 | License: LGPL | |
9 | Group: Fonts | |
10 | BuildArchitectures: noarch | |
11 | Prereq: chkfontpath | |
12 | Prereq: fontconfig | |
13 | Requires(post,postun): fontpostinst | |
14 | Requires: %{_fontsdir}/TTF | |
15 | BuildArch: noarch | |
16 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) | |
17 | ||
18 | ||
19 | %description | |
20 | This is Essays 1743, a font by John Stracke, based on the typeface | |
21 | used in a 1743 English translation of Montaigne's Essays. The font is | |
22 | released under the terms of the GNU Lesser General Public License (see | |
23 | the COPYING file). At present (version 1.0), it contains normal, bold, | |
24 | italic, and bold italic versions of 817 characters: all of ASCII, | |
25 | Latin-1, and Latin Extended A; some of Latin Extended B (basically, | |
26 | the ones that are more or less based on Roman letters); and a variety | |
27 | of other characters, such as oddball punctuation, numerals, etc. | |
28 | ||
29 | %prep | |
30 | %setup -q -n Essays1743 | |
31 | ||
32 | %install | |
33 | rm -rf $RPM_BUILD_ROOT | |
34 | ||
35 | install -d $RPM_BUILD_ROOT%{_datadir}/fonts/thibault.org/essays/Type1 | |
36 | cp -f *.ttf $RPM_BUILD_ROOT%{_datadir}/fonts/thibault.org/essays/Type1/ | |
37 | ||
38 | { | |
39 | pushd $RPM_BUILD_ROOT%{_datadir}/fonts/thibault.org/essays/Type1 | |
40 | mkfontdir . | |
41 | popd | |
42 | } | |
43 | ||
44 | %post | |
45 | /usr/sbin/chkfontpath -q -a /usr/share/fonts/thibault.org/essays/Type1 | |
46 | fc-cache | |
47 | ||
48 | %postun | |
49 | if [ "$1" = "0" ]; then | |
50 | /usr/sbin/chkfontpath -q -r /usr/share/fonts/thibault.org/essays/Type1 | |
51 | fi | |
52 | ||
53 | %clean | |
54 | rm -rf $RPM_BUILD_ROOT | |
55 | ||
56 | %files | |
57 | %defattr(644,root,root,755) | |
58 | %doc README | |
59 | %doc COPYING | |
60 | %{_datadir}/fonts/thibault.org/essays/Type1/*.ttf | |
61 | %{_datadir}/fonts/thibault.org/essays/Type1/fonts.dir |