Projects
home:Eustace:branches:Eulaceura:Factory
madan-fonts
_service:obs_scm:madan-fonts.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:obs_scm:madan-fonts.spec of Package madan-fonts
%global fontconf 65-0-madan.conf #Basic Information Name: madan-fonts Version: 2.000 Release: 24 Summary: Font for Nepali language License: GPL+ URL: http://madanpuraskar.org/ Source0: http://ltk.org.np/downloads/madan.zip Source1: %{name}-fontconfig.conf Source2: ttf2sfd.pe Source3: sfd2ttf.pe Source4: madan.metainfo.xml Patch0: madan-fonts-2.000-bug842965-u0970-ff2.patch #Dependency BuildRequires: fontforge fontpackages-devel dos2unix Requires: fontpackages-filesystem BuildArch: noarch %description This package provides the Madan font for Nepali made by the Madan Puraskar Pustakalaya project. #Build sections %prep %setup -c -q dos2unix madan/license.txt cp -p %{SOURCE2} %{SOURCE3} . chmod 755 ttf2sfd.pe sfd2ttf.pe ./ttf2sfd.pe madan/*.ttf rm -rf madan/*ttf %patch0 -p0 -b .added-u0970-character ./sfd2ttf.pe madan/*.sfd %build # Do Nothing in Build section %install install -m 0755 -d %{buildroot}%{_fontdir} install -m 0644 -p madan/*.ttf %{buildroot}%{_fontdir} install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} %{buildroot}%{_fontconfig_confdir} install -m 0644 -p %{SOURCE1} %{buildroot}%{_fontconfig_templatedir}/%{fontconf} ln -s %{_fontconfig_templatedir}/%{fontconf} %{buildroot}%{_fontconfig_confdir}/%{fontconf} install -Dm 0644 -p %{SOURCE4} %{buildroot}%{_datadir}/appdata/madan.metainfo.xml #Files list %_font_pkg -f %{fontconf} *.ttf %license madan/license.txt %{_datadir}/appdata/madan.metainfo.xml %changelog * Tue Jan 21 2020 lihao <lihao129@huawei.com> - 2.000-24 - Package Init
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2