source: projects/specs/trunk/O/OpenType-incosolata/OpenType-inconsolata-vl.spec @ 4047

Revision 4047, 1.5 KB checked in by munepi, 13 years ago (diff)

NEW: OpenType?-incosolata TrueType?-migu TrueType?-ricty

Line 
1%define _fontdir %{_datadir}/fonts/%{name}
2
3Summary: monospaced font designed for code listings
4Name: OpenType-inconsolata
5Version: 001.010
6Release: 1%{?_dist_release}
7License: SIL OFL v1.1
8Group: User Interface/X
9URL: http://www.levien.com/type/myfonts/inconsolata.html
10Source0: http://www.levien.com/type/myfonts/Inconsolata.otf
11Source1: http://www.levien.com/type/myfonts/textest.pdf
12Source2: http://www.levien.com/type/myfonts/Inconsolata.sfd
13Source3: http://www.levien.com/type/myfonts/Inconsolata.pfa
14
15## OFL.txt and OFL-FAQ.txt are downloaded from http://scripts.sil.org/
16Source10: OFL.txt
17Source11: OFL-FAQ.txt
18
19BuildArch: noarch
20BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-buildroot
21
22%description
23Inconsolata is a monospace font, designed for code listings and the like,
24in print. There are a great many "programmer fonts," designed primarily
25for use on the screen, but in most cases do not have the attention to
26detail for high resolution rendering.
27
28%prep
29%setup -T -c -n %{name}-%{version}
30%__cp %{SOURCE1} %{SOURCE10} %{SOURCE11} . || exit 1
31
32%build
33
34%install
35%__rm -rf $RPM_BUILD_ROOT
36
37%__mkdir_p $RPM_BUILD_ROOT%{_fontdir}
38%__cp -a %{SOURCE0} $RPM_BUILD_ROOT%{_fontdir}/
39
40%clean
41%__rm -rf $RPM_BUILD_ROOT
42
43%post
44%__font_install_post %{_fontdir}
45
46%postun
47%__font_install_postun %{_fontdir}
48
49%files
50%defattr(-,root,root,-)
51%doc textest.pdf OFL.txt OFL-FAQ.txt
52%{_fontdir}/Inconsolata.otf
53
54%changelog
55* Sun Jun  5 2011 Munehiro Yamamoto <munepi@vinelinux.org> 001.010-1
56- Initial build.
Note: See TracBrowser for help on using the repository browser.