Compare commits

...

No commits in common. "c10s" and "c8s" have entirely different histories.
c10s ... c8s

8 changed files with 226 additions and 1 deletions

8
.gitignore vendored Normal file
View File

@ -0,0 +1,8 @@
lohit-kannada-2.4.3.tar.gz
lohit-kannada-2.4.4.tar.gz
lohit-kannada-2.4.5.tar.gz
/lohit-kannada-2.4.6.tar.gz
/lohit-kannada-2.5.0.tar.gz
/lohit-kannada-2.5.1.tar.gz
/lohit-kannada-2.5.3.tar.gz
/lohit-kannada-2.5.4.tar.gz

View File

@ -1 +0,0 @@
lohit-kannada-fonts package is retired on branch c10s for CS-2061

6
gating.yaml Normal file
View File

@ -0,0 +1,6 @@
--- !Policy
product_versions:
- rhel-8
decision_context: osci_compose_gate
rules:
- !PassingTestCaseRule {test_case_name: osci.brew-build.tier0.functional}

163
lohit-kannada-fonts.spec Normal file
View File

@ -0,0 +1,163 @@
%global fontname lohit-kannada
%global fontconf 65-0-%{fontname}.conf
%global metainfo io.pagure.lohit.kannada.font.metainfo
Name: %{fontname}-fonts
Version: 2.5.4
Release: 4%{?dist}
Summary: Free Kannada font
Group: User Interface/X
License: OFL
URL: https://pagure.io/lohit
Source0: https://releases.pagure.org/lohit/%{fontname}-%{version}.tar.gz
BuildArch: noarch
BuildRequires: fontforge >= 20080429
BuildRequires: fontpackages-devel
Requires: fontpackages-filesystem
Obsoletes: lohit-fonts-common < %{version}-%{release}
%description
This package provides a free Kannada truetype/opentype font.
%prep
%setup -q -n %{fontname}-%{version}
mv 66-%{fontname}.conf 65-0-lohit-kannada.conf
%build
make ttf %{?_smp_mflags}
%install
install -m 0755 -d %{buildroot}%{_fontdir}
install -m 0644 -p *.ttf %{buildroot}%{_fontdir}
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
%{buildroot}%{_fontconfig_confdir}
install -m 0644 -p %{fontconf} \
%{buildroot}%{_fontconfig_templatedir}/%{fontconf}
ln -s %{_fontconfig_templatedir}/%{fontconf} \
%{buildroot}%{_fontconfig_confdir}/%{fontconf}
# Add AppStream metadata
install -Dm 0644 -p %{metainfo}.xml \
%{buildroot}%{_datadir}/metainfo/%{metainfo}.xml
%_font_pkg -f %{fontconf} *.ttf
%doc ChangeLog COPYRIGHT OFL.txt AUTHORS README
%{_datadir}/metainfo/%{metainfo}.xml
%changelog
* Fri Nov 29 2019 Vishal Vijayraghavan <vvijayra@redhat.com> - 2.5.4-4
- Resolves: #1682190 - Added Tier-1 CI tests
* Thu Feb 08 2018 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
* Tue May 30 2017 Pravin Satpute <psatpute@redhat.com> - 2.5.4-1
- Upstream new release 2.5.4
- Update metainfo file with latest specifications
- Changed location of metainfo to /usr/share/metainfo
- Removed patch already included in upstream
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.3-9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
* Thu Feb 04 2016 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.3-8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.3-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
* Mon Oct 20 2014 Pravin Satpute <psatpute@redhat.com> - 2.5.3-6
- Added metainfo for gnome-software
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.3-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
* Thu Sep 19 2013 Pravin Satpute <psatpute@redhat.com> - 2.5.3-4
- Removed wrong script tags
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.3-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
* Fri Apr 12 2013 Pravin Satpute <psatpute@redhat.com> - 2.5.3-2
- Resolved #950521
* Thu Jan 31 2013 Pravin Satpute <psatpute@redhat.com> - 2.5.3-1
- Upstream release 2.5.3
* Thu Nov 22 2012 Pravin Satpute <psatpute@redhat.com> - 2.5.1-4
- Spec file cleanup
* Thu Jul 19 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.1-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
* Tue Jun 12 2012 Pravin Satpute <psatpute@redhat.com> - 2.5.1-2
- Resolves bug #825104
* Wed Mar 28 2012 Pravin Satpute <psatpute@redhat.com> - 2.5.1-1
- Upstream new release
* Thu Feb 09 2012 Pravin Satpute <psatpute@redhat.com> - 2.5.0-3
- Resolved bug 748710
* Fri Jan 13 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.5.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
* Fri Oct 07 2011 Pravin Satpute <psatpute@redhat.com> - 2.5.0-1
- Upstream new release with relicensing to OFL
* Mon Jun 06 2011 Pravin Satpute <psatpute@redhat.com> - 2.4.6-2
- Resolved bug 705348
* Thu May 12 2011 Pravin Satpute <psatpute@redhat.com> - 2.4.6-1
- upstream new release 2.4.6
* Thu Apr 28 2011 Pravin Satpute <psatpute@redhat.com> - 2.4.5-8
- fixes bug 694705
* Wed Apr 13 2011 Pravin Satpute <psatpute@redhat.com> - 2.4.5-7
- fixes bug 692362
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.4.5-6
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
* Tue Feb 08 2011 Pravin Satpute <psatpute@redhat.com> - 2.4.5-5
- resolved bug 673414, rupee sign
* Mon Oct 18 2010 Pravin Satpute <psatpute@redhat.com> - 2.4.5-4
- fixed zwj problem of bug 576105
- will work when, zwj processing will be fixed in pango
* Mon Oct 18 2010 Pravin Satpute <psatpute@redhat.com> - 2.4.5-3
- fixed bug 576105
* Fri Apr 16 2010 Pravin Satpute <psatpute@redhat.com> - 2.4.5-2
- fixed bug 578032
* Tue Mar 23 2010 Pravin Satpute <psatpute@redhat.com> - 2.4.5-1
- upstream new release
- fix bugs 576105, 559462
* Sun Dec 13 2009 Pravin Satpute <psatpute@redhat.com> - 2.4.4-3
- fixed bug 548686, license field
* Fri Sep 25 2009 Pravin Satpute <psatpute@redhat.com> - 2.4.4-2
- updated specs
* Mon Sep 21 2009 Pravin Satpute <psatpute@redhat.com> - 2.4.4-1
- upstream release of 2.4.4
- updated url for upstream tarball
- added Makefile in upstream tar ball
* Fri Sep 11 2009 Pravin Satpute <psatpute@redhat.com> - 2.4.3-1
- first release after lohit-fonts split in new tarball

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (lohit-kannada-2.5.4.tar.gz) = 53cc150022904ecf787bbaf91493db20b683a6b4ec571b0d88f5c43561140db24544abd30f51b1838af36c6ce0c6c3f09bc97effcc6ca15bc99c54d7bbaf0e26

2
tests/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
artifacts/
fonttest/

View File

@ -0,0 +1,45 @@
- hosts: localhost
vars:
config:
fontname: lohit-kannada
lang: ["kn"]
testgiturl: https://pagure.io/font_ci_testing.git
testgitclonepath: fonttest
testfilename: fonttest.py
testfilepath: /usr/local/bin
logfilepath: /tmp/test.log
artifacts: "{{ lookup('env', 'TEST_ARTIFACTS')|default('./artifacts', true) }}"
tags:
- classic
remote_user: root
tasks:
- name: Install required package
dnf:
name:
- git
- "{{ config.fontname }}-fonts"
- python3
- fontconfig
- name: git clone the tests
git:
repo: "{{ config.testgiturl }}"
dest: "{{ config.testgitclonepath }}"
force: yes
- name: Test Execution
block:
- name: Execute the tests
command: python3 {{ config.testgitclonepath }}/tests/{{ config.testfilename }} "{{ config }}"
always:
- name: Pull out the artifacts
fetch:
dest: "{{ config.artifacts }}/"
src: "{{ item }}"
flat: yes
with_items:
- "{{ config.logfilepath }}"

1
tests/tests.yml Normal file
View File

@ -0,0 +1 @@
- import_playbook: fonttest_playbook.yml