Skip to content

Commit

Permalink
dejavu-fonts: initial release
Browse files Browse the repository at this point in the history
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
HarinadhD authored and tapakund committed Jun 16, 2023
1 parent 7137b2e commit ff755a7
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions SPECS/dejavu-fonts/dejavu-fonts.spec
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

0 comments on commit ff755a7

Please sign in to comment.