From dcdf670577b335819352de5888e0ff7ddfb2dbcc Mon Sep 17 00:00:00 2001 From: Nicholas van Oudtshoorn Date: Mon, 22 Aug 2011 18:13:18 +0800 Subject: [PATCH] Initial import (#729512) --- .gitignore | 1 + graphite2.spec | 76 ++++++++++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 78 insertions(+) create mode 100644 graphite2.spec diff --git a/.gitignore b/.gitignore index e69de29..b4aaf60 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/graphite2-1.0.2.tgz diff --git a/graphite2.spec b/graphite2.spec new file mode 100644 index 0000000..6ee9455 --- /dev/null +++ b/graphite2.spec @@ -0,0 +1,76 @@ +Name: graphite2 +Version: 1.0.2 +Release: 1%{?dist} +Summary: Font rendering capabilities for complex non-Roman writing systems +Group: Development/Tools + +License: LGPLv2+ +URL: http://sourceforge.net/projects/silgraphite/ +Source0: http://downloads.sourceforge.net/silgraphite/graphite2-%{version}.tgz + +BuildRequires: cmake +BuildRequires: freetype-devel,silgraphite-devel +BuildRequires: doxygen,tex(latex),asciidoc + +%description +Graphite2 is a project within SIL’s Non-Roman Script Initiative and Language +Software Development groups to provide rendering capabilities for complex +non-Roman writing systems. Graphite can be used to create “smart fonts” capable +of displaying writing systems with various complex behaviors. With respect to +the Text Encoding Model, Graphite handles the "Rendering" aspect of writing +system implementation. + +%package devel +Requires: %{name}%{?_isa} = %{version}-%{release} +Summary: Files for developing with graphite2 +Group: Development/Libraries + +%description devel +Includes and definitions for developing with graphite2. + +%prep +%setup -q + +%build +%cmake . +make %{?_smp_mflags} +make docs + +%check +ctest + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + +%install +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT +rm -f $RPM_BUILD_ROOT/%{_libdir}/*.la + +%files +%defattr(-,root,root,-) +%doc LICENSE COPYING ChangeLog doc/manual.html +%{_bindir}/comparerenderer +%{_bindir}/gr2fonttest +%{_libdir}/libgraphite2.so.2.0.0 + +%files devel +%defattr(-,root,root,-) +%doc doc/doxygen/latex/refman.pdf +%dir %{_datadir}/%{name}/ +%{_datadir}/%{name}/graphite2-release.cmake +%{_datadir}/%{name}/graphite2.cmake +%{_includedir}/%{name} +%{_libdir}/libgraphite2.so +%{_libdir}/pkgconfig/graphite2.pc + +%changelog +* Fri Aug 19 2011 Nicholas van Oudtshoorn - 1.0.2-1 +- Rebase to new release +- SPEC Cleanup +- Documentation is now properly installed +* Wed Aug 17 2011 Nicholas van Oudtshoorn - 1.0.1-2 +- Added some necessary requires +* Wed Aug 10 2011 Nicholas van Oudtshoorn - 1.0.1-1 +- Initial build of graphite2 diff --git a/sources b/sources index e69de29..a186c0b 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +3115c721f5cb7c464f01c2dddccfaba6 graphite2-1.0.2.tgz