77 lines
2.1 KiB
RPMSpec
77 lines
2.1 KiB
RPMSpec
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 <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
|