Compare commits
3 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9a2db2f51b | ||
|
|
f12c73101b | ||
|
|
34472cb111 |
4 changed files with 120 additions and 1 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
|
@ -0,0 +1 @@
|
|||
xgridfit-1-17a.tar.gz
|
||||
|
|
@ -1 +0,0 @@
|
|||
xgridfit fails to build from source: https://bugzilla.redhat.com/show_bug.cgi?id=1676231
|
||||
1
sources
Normal file
1
sources
Normal file
|
|
@ -0,0 +1 @@
|
|||
943b0540441d7184977f60b1b0dc4a59 xgridfit-1-17a.tar.gz
|
||||
118
xgridfit.spec
Normal file
118
xgridfit.spec
Normal file
|
|
@ -0,0 +1,118 @@
|
|||
%global archivever 1-17a
|
||||
|
||||
Name: xgridfit
|
||||
Version: 1.17
|
||||
Release: 4.a%{?dist}
|
||||
Summary: Font hinting tool
|
||||
|
||||
# This is where we drop fontforge
|
||||
Group: Applications/Publishing
|
||||
License: LGPLv2
|
||||
URL: http://%{name}.sf.net/
|
||||
Source0: http://downloads.sourceforge.net/%{name}/%{name}-%{archivever}.tar.gz
|
||||
|
||||
BuildRoot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||
BuildArch: noarch
|
||||
|
||||
Requires: %{_bindir}/xsltproc
|
||||
|
||||
%description
|
||||
Xgridfit is a high-level, XML-based language for gridfitting, or ‘hinting’,
|
||||
fonts. The Xgridfit program compiles an XML source file into tables and
|
||||
instructions that relate to the gridfitting of glyphs. Xgridfit does not
|
||||
insert these elements into a font itself, but rather relies on FontForge, the
|
||||
Open-Source font editor, to do so.
|
||||
|
||||
|
||||
%package doc
|
||||
Group: Documentation
|
||||
Summary: Font hinting tool use documentation
|
||||
# Does not really make sense without the tool itself
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description doc
|
||||
Xgridfit font hinting tool user documentation.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q -n %{name}
|
||||
|
||||
|
||||
%build
|
||||
|
||||
|
||||
%install
|
||||
rm -fr %{buildroot}
|
||||
|
||||
install -d -m 0755 %{buildroot}/%{_bindir}
|
||||
sed 's+^XSLT_DIR=\(.*\)$+XSLT_DIR=%{_datadir}/xml/%{name}/lib/+g' \
|
||||
bin/xgridfit > %{buildroot}/%{_bindir}/xgridfit
|
||||
sed 's+^XSLT_DIR=\(.*\)$+XSLT_DIR=%{_datadir}/xml/%{name}/utils/+g' \
|
||||
bin/xgfupdate > %{buildroot}/%{_bindir}/xgfupdate
|
||||
sed 's+^XSLT_DIR=\(.*\)$+XSLT_DIR=%{_datadir}/xml/%{name}/utils/+g' \
|
||||
bin/ttx2xgf > %{buildroot}/%{_bindir}/ttx2xgf
|
||||
|
||||
|
||||
install -d -m 0755 %{buildroot}/%{_datadir}/xml/%{name}/{lib,utils,schemas}
|
||||
for dir in lib schemas utils ; do
|
||||
install -p -m 0644 $dir/* %{buildroot}/%{_datadir}/xml/%{name}/$dir
|
||||
done
|
||||
|
||||
install -d -m 0755 %{buildroot}/%{_mandir}/man1
|
||||
install -p -m 0644 man/*.1 %{buildroot}/%{_mandir}/man1
|
||||
|
||||
|
||||
%clean
|
||||
rm -fr %{buildroot}
|
||||
|
||||
|
||||
%files
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc COPYING ChangeLog
|
||||
|
||||
%{_datadir}/xml/%{name}
|
||||
%{_mandir}/man1/*
|
||||
|
||||
%defattr(0755,root,root,0755)
|
||||
%{_bindir}/*
|
||||
|
||||
|
||||
%files doc
|
||||
%defattr(0644,root,root,0755)
|
||||
%doc docs/* ChangeLog
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Feb 26 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.17-4.a
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
* Mon Feb 23 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
||||
- 1.17-3.a
|
||||
— global-ization
|
||||
|
||||
* Mon Feb 16 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
||||
- 1.17-2.a
|
||||
|
||||
* Fri Jan 30 2009 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
||||
- 1.17-1
|
||||
|
||||
* Fri Nov 14 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
||||
- 1.11-1.a
|
||||
◮ update for F11 cycle
|
||||
|
||||
* Mon Sep 1 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
||||
- 1.9-1
|
||||
ᕏ Major update, many changes
|
||||
ᕚ Only package xsltproc support for now
|
||||
|
||||
* Sun May 18 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
||||
- 1.6-3
|
||||
⊸ Lots of new makefile goodness
|
||||
|
||||
* Thu Mar 13 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
||||
- 1.5-2
|
||||
✓ Fix path munging
|
||||
|
||||
* Tue Mar 11 2008 Nicolas Mailhot <nicolas.mailhot at laposte.net>
|
||||
- 1.5-1
|
||||
✓ Initial Fedora packaging
|
||||
Loading…
Add table
Add a link
Reference in a new issue