forked from pool/teluguvijayam-fonts
Accepting request 914654 from home:kskarthik
new fonts package for telugu OBS-URL: https://build.opensuse.org/request/show/914654 OBS-URL: https://build.opensuse.org/package/show/M17N:fonts/teluguvijayam-fonts?expand=0&rev=1
This commit is contained in:
commit
f315706600
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
33
create-archive.sh
Normal file
33
create-archive.sh
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
#!/usr/bin/bash
|
||||||
|
|
||||||
|
set -eu
|
||||||
|
|
||||||
|
VERSION=0.1
|
||||||
|
TARBALL_NAME=teluguvijayam-$VERSION
|
||||||
|
FONTS=(SyamalaRamana.ttf PottiSreeramulu.ttf ramabhadra.ttf dhurjati.ttf mallanna.ttf Ramaraja-Regular.ttf suranna.ttf TenaliRamakrishna-Regular.ttf TimmanaRegular.ttf Peddana-Regular.ttf Sree%20Krushnadevaraya.ttf Ponnala.ttf LakkiReddy.ttf RaviPrakash.ttf Gidugu.ttf Gurajada.ttf Suravaram.ttf NTR.ttf Mandali-Regular.ttf NATS.ttf)
|
||||||
|
CURDIR=$(pwd)
|
||||||
|
mkdir "$CURDIR"/"$TARBALL_NAME"
|
||||||
|
|
||||||
|
download_tarball(){
|
||||||
|
download_url=$1
|
||||||
|
download_filename=$2
|
||||||
|
|
||||||
|
echo "Downloading $2..."
|
||||||
|
wget -q "$download_url"/"$download_filename" -O \
|
||||||
|
"$CURDIR/$TARBALL_NAME/$download_filename"
|
||||||
|
}
|
||||||
|
|
||||||
|
for file in ${FONTS[*]}; do
|
||||||
|
download_tarball "https://siliconandhra.org/fonts/" "$file"
|
||||||
|
done
|
||||||
|
|
||||||
|
# Remove Special characters for some font names
|
||||||
|
cd $CURDIR/$TARBALL_NAME/
|
||||||
|
mv Sree%20Krushnadevaraya.ttf SreeKrushnadevaraya.ttf
|
||||||
|
|
||||||
|
echo "Creating the Tarball..."
|
||||||
|
tar --owner root --group root --mode a+rX -cvf - -C "$CURDIR"\
|
||||||
|
"$TARBALL_NAME" | xz > "$CURDIR"/"$TARBALL_NAME".tar.xz
|
||||||
|
|
||||||
|
echo "Cleaning up..."
|
||||||
|
rm -rf "$CURDIR"/"$TARBALL_NAME"
|
3
teluguvijayam-0.1.tar.xz
Normal file
3
teluguvijayam-0.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:09969aa43fabd1b70b2da5ed112d44469c0e4fcbc9221e6f1db26ec8f5dbee31
|
||||||
|
size 1980504
|
4
teluguvijayam-fonts.changes
Normal file
4
teluguvijayam-fonts.changes
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Aug 27 16:23:39 UTC 2021 - Sai Karthik Karra <kskarthik@disroot.org>
|
||||||
|
|
||||||
|
- Initial release
|
78
teluguvijayam-fonts.spec
Normal file
78
teluguvijayam-fonts.spec
Normal file
@ -0,0 +1,78 @@
|
|||||||
|
#
|
||||||
|
# spec file for package foo-fonts
|
||||||
|
#
|
||||||
|
# Copyright (c) 2020 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owner, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
#
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
|
||||||
|
# Definitions
|
||||||
|
%define fontname teluguvijayam
|
||||||
|
|
||||||
|
Name: teluguvijayam-fonts
|
||||||
|
Summary: TrueType fonts for Telugu script (te)
|
||||||
|
License: OFL-1.1
|
||||||
|
Group: System/X11/Fonts
|
||||||
|
BuildArch: noarch
|
||||||
|
Version: 0.1
|
||||||
|
Release: 0
|
||||||
|
Source: %{fontname}-%{version}.tar.xz
|
||||||
|
BuildRequires: fontpackages-devel
|
||||||
|
BuildRequires: tar
|
||||||
|
URL: https://www.siliconandhra.org/fonts/
|
||||||
|
|
||||||
|
%description
|
||||||
|
This package provides following 20 fonts for Telugu script
|
||||||
|
which is used in Indian states of Andhra Pradesh & Telangana
|
||||||
|
|
||||||
|
* Ponnala
|
||||||
|
* RaviPrakash
|
||||||
|
* LakkiReddy
|
||||||
|
* Potti Sriramulu
|
||||||
|
* Syamala Ramana
|
||||||
|
* Gidugu
|
||||||
|
* Gurajada
|
||||||
|
* Suravaram
|
||||||
|
* NTR
|
||||||
|
* Mandali
|
||||||
|
* NATS
|
||||||
|
* SrikrushnaDevaraya
|
||||||
|
* Peddana
|
||||||
|
* Timmana
|
||||||
|
* Tenali Ramakrishna
|
||||||
|
* Suranna
|
||||||
|
* Ramaraja
|
||||||
|
* Mallana
|
||||||
|
* Dhurjati
|
||||||
|
* Ramabhadra
|
||||||
|
|
||||||
|
These fonts are released by Departement of Information
|
||||||
|
technology, Government of Andhra Pradesh.
|
||||||
|
|
||||||
|
Designer: Silicon Andhra
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -n %{fontname}-%{version}
|
||||||
|
|
||||||
|
%build
|
||||||
|
|
||||||
|
%install
|
||||||
|
mkdir -p %{buildroot}%{_ttfontsdir}
|
||||||
|
install -m 644 *.ttf %{buildroot}%{_ttfontsdir}
|
||||||
|
|
||||||
|
# call fonts-config after installation or deinstallation of this package
|
||||||
|
%reconfigure_fonts_scriptlets
|
||||||
|
|
||||||
|
%files
|
||||||
|
%dir %{_ttfontsdir}
|
||||||
|
%{_ttfontsdir}/*.ttf
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user