Use upstream build system rules when regenerating otf files
This commit is contained in:
parent
edf183049d
commit
3f83dd3635
@ -31,17 +31,16 @@ It is a sans-serif humanist typeface family.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -n %{actualname}-fonts-%{version} -S git
|
%autosetup -n %{actualname}-fonts-%{version} -S git
|
||||||
|
# Force regeneration
|
||||||
|
rm otf/*.otf
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure
|
%configure --enable-source-rebuild
|
||||||
make %{?_smp_mflags}
|
make %{?_smp_mflags}
|
||||||
ls -l ./src/
|
|
||||||
fontforge -lang=ff -c 'Open($1); Generate($2);' src/%{archivename1}.sfd %{archivename1}.otf
|
|
||||||
fontforge -lang=ff -c 'Open($1); Generate($2);' src/%{archivename2}.sfd %{archivename2}.otf
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
install -m 0755 -d %{buildroot}%{_fontdir}
|
install -m 0755 -d %{buildroot}%{_fontdir}
|
||||||
install -m 0644 -p *.otf %{buildroot}%{_fontdir}
|
install -m 0644 -p otf/*.otf %{buildroot}%{_fontdir}
|
||||||
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
install -m 0755 -d %{buildroot}%{_fontconfig_templatedir} \
|
||||||
%{buildroot}%{_fontconfig_confdir}
|
%{buildroot}%{_fontconfig_confdir}
|
||||||
install -m 0644 -p fontconfig/%{fontconf} \
|
install -m 0644 -p fontconfig/%{fontconf} \
|
||||||
@ -60,6 +59,7 @@ install -Dm 0644 -p %{SOURCE1} \
|
|||||||
%changelog
|
%changelog
|
||||||
* Tue Sep 08 2015 Kalev Lember <klember@redhat.com> - 0.0.16-4
|
* Tue Sep 08 2015 Kalev Lember <klember@redhat.com> - 0.0.16-4
|
||||||
- Fix 'r' hinting
|
- Fix 'r' hinting
|
||||||
|
- Use upstream build system rules when regenerating otf files
|
||||||
|
|
||||||
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.16-3
|
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.0.16-3
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
Loading…
Reference in New Issue
Block a user