forked from vmware/photon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change-Id: Ife8a40ef89b1b853a0d9552e73f5ffdf818da55a Reviewed-on: http://photon-jenkins.eng.vmware.com:8082/c/photon/+/21017 Tested-by: gerrit-photon <[email protected]> Reviewed-by: Tapas Kundu <[email protected]>
- Loading branch information
Showing
1 changed file
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
%global fontsdir %{_docdir}/packages/dejavu-fonts | ||
%global ttfdir %{_datadir}/fonts/truetype | ||
|
||
Summary: The DejaVu fonts are a font family based on the Vera Fonts. | ||
Name: dejavu-fonts | ||
Version: 2.37 | ||
Release: 1%{?dist} | ||
License: GNU General Public License V2 | ||
URL: https://dejavu-fonts.github.io/Download.html | ||
Group: Development/Tools | ||
Vendor: VMware, Inc. | ||
Distribution: Photon | ||
Source0: http://sourceforge.net/projects/dejavu/files/dejavu/%{version}/dejavu-fonts-ttf-%{version}.tar.bz2 | ||
%define sha512 dejavu-fonts-ttf=bafa39321021097432777f0825d700190c23f917d754a4504722cd8946716c22c083836294dab7f3ae7cf20af63c4d0944f3423bf4aa25dbca562d1f30e00654 | ||
BuildArch: noarch | ||
|
||
%description | ||
The DejaVu font set is based on the “Bitstream Vera” fonts. Its | ||
purpose is to provide a wider range of characters, while maintaining the | ||
original style, using an open collaborative development process. | ||
DejaVu contains a lot of mathematical and other symbols, arrows, braille patterns, etc | ||
|
||
%prep | ||
%autosetup -n %{name}-ttf-%{version} | ||
|
||
%build | ||
|
||
%install | ||
mkdir -p %{buildroot}%{fontsdir}/fontconfig %{buildroot}%{ttfdir} | ||
install -m 0755 fontconfig/* %{buildroot}%{fontsdir}/fontconfig/ | ||
install -m 0755 ttf/* %{buildroot}%{ttfdir} | ||
install -m 0755 status.txt unicover.txt LICENSE README.md %{buildroot}%{fontsdir} | ||
|
||
%clean | ||
rm -fr %{buildroot} | ||
|
||
%files | ||
%defattr(-,root,root) | ||
%{fontsdir}/fontconfig/* | ||
%{ttfdir}/* | ||
%{fontsdir}/* | ||
|
||
%changelog | ||
* Thu Jun 15 2023 Harinadh D <[email protected]> 2.37-1 | ||
- Initial release |