[packages/grcompiler] - new

qboosh qboosh at pld-linux.org
Thu Sep 20 16:21:18 CEST 2012


commit e1f3ee9a4462a7548822fa99d4121d1084c49e31
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date:   Thu Sep 20 16:22:02 2012 +0200

    - new

 grcompiler-make.patch | 11 +++++++++
 grcompiler.spec       | 68 +++++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 79 insertions(+)
---
diff --git a/grcompiler.spec b/grcompiler.spec
new file mode 100644
index 0000000..d8d4dcb
--- /dev/null
+++ b/grcompiler.spec
@@ -0,0 +1,68 @@
+# $Revision: 1.8 $, $Date: 2011/07/23 06:34:38 $
+Summary:	SIL Graphite Compiler
+Summary(pl.UTF-8):	Kompilator SIL Graphite
+Name:		grcompiler
+Version:	4.2
+Release:	1
+License:	CPL v0.5+ or LGPL v2.1+
+Group:		Applications
+Source0:	http://downloads.sourceforge.net/silgraphite/%{name}-%{version}.tar.gz
+# Source0-md5:	3df5dde12211d7d7e06a9e23306e5fe4
+Patch0:		%{name}-make.patch
+URL:		http://silgraphite.sourceforge.net/
+BuildRequires:	autoconf >= 2.54
+BuildRequires:	automake
+BuildRequires:	docbook2X >= 0.8.8-4
+BuildRequires:	libicu-devel
+BuildRequires:	libstdc++-devel
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+The SIL Graphite compiler builds a Graphite enabled font from a smart
+font description, written in GDL (Graphite Description Language) and a
+TrueType font by adding extra TrueType tables to it which the Graphite
+engine can interpret.
+
+%description -l pl.UTF-8
+Kompilator SIL Graphite tworzy font Graphite z opisu inteligentnego
+fontu, napisanego w języku GDL (Graphite Description Language) oraz
+fontu TrueType poprzez dodanie dodatkowych tablic TrueType, które
+potrafi zinterpretować silnik Graphite.
+
+%prep
+%setup -q
+%patch0 -p1
+
+%build
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+cd test/GrcRegressionTest
+%{__aclocal}
+%{__autoconf}
+%{__automake}
+cd ../..
+%configure \
+	DOCBOOK2MAN=/usr/bin/docbook2X2man
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+%{__make} install \
+	DESTDIR=$RPM_BUILD_ROOT
+
+# packaged as %doc
+%{__rm} -r $RPM_BUILD_ROOT%{_docdir}/grcompiler
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README TODO license/{LICENSING.txt,License_CPLv05.txt} doc/{README.gdlpp,*.pdf}
+%attr(755,root,root) %{_bindir}/gdlpp
+%attr(755,root,root) %{_bindir}/grcompiler
+%{_datadir}/grcompiler
+%{_mandir}/man1/gdlpp.1*
+%{_mandir}/man1/grcompiler.1*
diff --git a/grcompiler-make.patch b/grcompiler-make.patch
new file mode 100644
index 0000000..d45b644
--- /dev/null
+++ b/grcompiler-make.patch
@@ -0,0 +1,11 @@
+--- grcompiler-4.2/test/GrcRegressionTest/Makefile.am.orig	2012-05-09 09:14:15.000000000 +0200
++++ grcompiler-4.2/test/GrcRegressionTest/Makefile.am	2012-09-19 20:44:44.547356068 +0200
+@@ -6,7 +6,7 @@
+ 
+ AM_CPPFLAGS = -I$(top_srcdir)/../../compiler
+ 
+-@ GrcRegressionTest_LDFLAGS = $(GR2_LIBS)
++#GrcRegressionTest_LDFLAGS = $(GR2_LIBS)
+ 
+ GrcRegressionTest_SOURCES = \
+         main.h \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/grcompiler.git/commitdiff/e1f3ee9a4462a7548822fa99d4121d1084c49e31



More information about the pld-cvs-commit mailing list