diff --git a/madan-fonts.spec b/madan-fonts.spec index 9a58ee2b8036a2f611d902e713782dc9be9370cf..e168307261be5d4a9a17615ad50a760b0b53b0b6 100644 --- a/madan-fonts.spec +++ b/madan-fonts.spec @@ -3,7 +3,7 @@ #Basic Information Name: madan-fonts Version: 2.000 -Release: 24 +Release: 25 Summary: Font for Nepali language License: GPL+ URL: http://madanpuraskar.org/ @@ -33,7 +33,7 @@ cp -p %{SOURCE2} %{SOURCE3} . chmod 755 ttf2sfd.pe sfd2ttf.pe ./ttf2sfd.pe madan/*.ttf rm -rf madan/*ttf -%patch0 -p0 -b .added-u0970-character +%patch 0 -p0 -b .added-u0970-character ./sfd2ttf.pe madan/*.sfd %build @@ -49,11 +49,16 @@ ln -s %{_fontconfig_templatedir}/%{fontconf} %{buildroot}%{_fontconfig_confdir}/ install -Dm 0644 -p %{SOURCE4} %{buildroot}%{_datadir}/appdata/madan.metainfo.xml -#Files list -%_font_pkg -f %{fontconf} *.ttf -%license madan/license.txt +%files +%{_sysconfdir}/fonts/conf.d/65-0-madan.conf +%{_datadir}/fonts/madan-fonts/madan.ttf +%{_datadir}/fontconfig/conf.avail/65-0-madan.conf %{_datadir}/appdata/madan.metainfo.xml +%license madan/license.txt %changelog +* Wed Nov 20 2024 xuguangmin - 2.000-25 +- Fix:The soon-to-be-deprecated macros are used in the spec. + * Tue Jan 21 2020 lihao - 2.000-24 - Package Init