/[packages]/cauldron/aajohan-comfortaa-fonts/current/SPECS/aajohan-comfortaa-fonts.spec
ViewVC logotype

Contents of /cauldron/aajohan-comfortaa-fonts/current/SPECS/aajohan-comfortaa-fonts.spec

Parent Directory Parent Directory | Revision Log Revision Log


Revision 666148 - (show annotations) (download)
Thu Aug 21 09:05:29 2014 UTC (9 years, 7 months ago) by daviddavid
File size: 1429 byte(s)
- remove trailing spaces (SILENT)
- minor cosmetic change (SILENT)
- new upstream release: 2.004

1 %define fontname aajohan-comfortaa
2 %define fontconf 61-%{fontname}.conf
3
4 Name: %{fontname}-fonts
5 Version: 2.004
6 Release: %mkrel 1
7 Summary: Modern style true type font
8 Group: System/X11
9 License: OFL
10 URL: http://aajohan.deviantart.com
11 Source0: http://www.deviantart.com/download/105395949/Comfortaa___font_by_aajohan-d1qr019.zip
12 Source1: %{name}-fontconfig.conf
13 BuildArch: noarch
14 BuildRequires: fontpackages-devel
15 Requires: fontpackages-filesystem
16
17 %description
18 Comfortaa is a sans-serif font comfortable in every aspect with
19 Bold, Regular, and Thin variants.
20 It has very good European language coverage and decent Cyrillic coverage.
21
22 %prep
23 %setup -q -n Comfortaa
24
25 # Fixing
26 # wrong-file-end-of-line-encoding issue
27 # Thanks to Paul Flo Williams
28
29 for file in *.txt; do
30 sed 's/\r//g' "$file" | \
31 fold -s > "$file.new" && \
32 touch -r "$file" "$file.new" && \
33 mv "$file.new" "$file"
34 done
35
36 %build
37
38 %install
39 install -m 0755 -d %{buildroot}%{_fontdir}
40 install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
41 install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
42 %{buildroot}%{_fontconfig_confdir}
43 install -m 0644 -p %{SOURCE1} \
44 %{buildroot}%{_fontconfig_templatedir}/%{fontconf}
45
46 ln -s %{_fontconfig_templatedir}/%{fontconf} \
47 %{buildroot}%{_fontconfig_confdir}/%{fontconf}
48
49 %_font_pkg -f %{fontconf} *.ttf
50 %doc *.txt

  ViewVC Help
Powered by ViewVC 1.1.30