Accepting request 428536 from home:guoyunhebrave:branches:M17N:fonts
Add Courier Prime Sans and Courier Prime Code fonts. OBS-URL: https://build.opensuse.org/request/show/428536 OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/courier-prime-fonts?expand=0&rev=4
This commit is contained in:
parent
581bc48555
commit
13656339e1
3
courier-code.zip
Normal file
3
courier-code.zip
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:c400b6addeddef7c26a9943f847a8584c83d8bb775cd35da2dcd41c6ad98d827
|
||||
size 74040
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Sep 18 19:50:19 UTC 2016 - guoyunhebrave@gmail.com
|
||||
|
||||
- Add Courier Prime Sans and Courier Prime Code fonts
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 5 09:57:34 UTC 2013 - toms@opensuse.org
|
||||
|
||||
|
@ -16,8 +16,6 @@
|
||||
#
|
||||
|
||||
|
||||
%define fontname courier-prime
|
||||
|
||||
Name: courier-prime-fonts
|
||||
Version: 1.203
|
||||
Release: 0
|
||||
@ -25,7 +23,9 @@ Summary: Monospace font similar to Courier
|
||||
License: OFL-1.1
|
||||
Group: System/X11/Fonts
|
||||
Url: http://quoteunquoteapps.com/courierprime/
|
||||
Source0: %{fontname}.zip
|
||||
Source0: courier-prime.zip
|
||||
Source1: courier-sans.zip
|
||||
Source2: courier-code.zip
|
||||
BuildRequires: fontpackages-devel
|
||||
BuildRequires: unzip
|
||||
%reconfigure_fonts_prereq
|
||||
@ -39,22 +39,21 @@ It is optimized for 12 point size and matches the metrics of Courier.
|
||||
Designer: Alan Dague-Greene for John August and Quote-Unquote Apps
|
||||
|
||||
%prep
|
||||
%setup -T -c %{name} -n %{name}
|
||||
unzip -j %{SOURCE0}
|
||||
[ -e __MACOSX ] && rm -rf __MACOSX/
|
||||
%setup -c
|
||||
%setup -T -D -a 1
|
||||
%setup -T -D -a 2
|
||||
|
||||
chmod 644 *.txt *.ttf
|
||||
mv Courier\ Prime/*.ttf ./
|
||||
mv Courier\ Prime/LICENSE/OFL.txt LICENSE
|
||||
mv Courier\ Prime/Read\ me.txt README
|
||||
mv CourierPrimeSans-master/ttf/*.ttf ./
|
||||
mv ttf/*.ttf ./
|
||||
|
||||
# Replace spaces in filenames
|
||||
for i in Courier*.ttf; do
|
||||
mv -vi "$i" "${i// /_}"
|
||||
done
|
||||
|
||||
# Remove DOS line endings:
|
||||
for i in *.txt; do
|
||||
sed -i 's/.$//' "$i"
|
||||
done
|
||||
for file in *.ttf; do mv "$file" `echo $file | tr ' ' '_'` ; done
|
||||
|
||||
# Fix DOS line endings
|
||||
sed -i 's/\r//g' LICENSE README
|
||||
|
||||
%build
|
||||
# -- nop --
|
||||
@ -67,7 +66,7 @@ install -c -m 644 *.ttf %{buildroot}%{_ttfontsdir}
|
||||
|
||||
%files
|
||||
%defattr(-, root,root)
|
||||
%doc *.txt
|
||||
%doc LICENSE README
|
||||
%{_ttfontsdir}
|
||||
|
||||
%changelog
|
||||
|
3
courier-sans.zip
Normal file
3
courier-sans.zip
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:754b3937340f5522ccf96be7832efbd809ef93f373d51b12919adbd9c0a468d7
|
||||
size 1289309
|
Loading…
Reference in New Issue
Block a user