Initial import (#729512)

This commit is contained in:
Nicholas van Oudtshoorn 2011-08-22 18:13:18 +08:00
parent 90ae4685d4
commit dcdf670577
3 changed files with 78 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/graphite2-1.0.2.tgz

76
graphite2.spec Normal file
View File

@ -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 SILs 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 <vanoudt@gmail.com> - 1.0.2-1
- Rebase to new release
- SPEC Cleanup
- Documentation is now properly installed
* Wed Aug 17 2011 Nicholas van Oudtshoorn <vanoudt@gmail.com> - 1.0.1-2
- Added some necessary requires
* Wed Aug 10 2011 Nicholas van Oudtshoorn <vanoudt@gmail.com> - 1.0.1-1
- Initial build of graphite2

View File

@ -0,0 +1 @@
3115c721f5cb7c464f01c2dddccfaba6 graphite2-1.0.2.tgz