rpms/xgridfit/F-8 xgridfit.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Nicolas Mailhot (nim) fedora-extras-commits at redhat.com
Thu Mar 13 06:47:26 UTC 2008


Author: nim

Update of /cvs/extras/rpms/xgridfit/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv12296/F-8

Modified Files:
	.cvsignore sources 
Added Files:
	xgridfit.spec 
Log Message:
initial import


--- NEW FILE xgridfit.spec ---
%define archivever 1-5

Name:    xgridfit
Version: 1.5
Release: 1%{?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
# Nothing to do


%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
* Tue Mar 11 2008 <nicolas.mailhot at laposte.net>
- 1.5-1
✓ Initial Fedora packaging


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/xgridfit/F-8/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	12 Mar 2008 23:57:47 -0000	1.1
+++ .cvsignore	13 Mar 2008 06:46:49 -0000	1.2
@@ -0,0 +1 @@
+xgridfit-1-5.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/xgridfit/F-8/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	12 Mar 2008 23:57:47 -0000	1.1
+++ sources	13 Mar 2008 06:46:49 -0000	1.2
@@ -0,0 +1 @@
+78a322021939e81cb3e2a04a306ed60b  xgridfit-1-5.tar.gz




More information about the fedora-extras-commits mailing list