commit 6f82e16a1bf495d03ed8c3d94bdc06dfe6a8c7f6ac06d562ecd9b877e9b23053 Author: Tomáš Chvátal Date: Tue Nov 6 14:24:26 2012 +0000 - Initial commit version 1.2.0. OBS-URL: https://build.opensuse.org/package/show/LibreOffice:Factory/graphite2?expand=0&rev=1 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/graphite2-1.2.0.tgz b/graphite2-1.2.0.tgz new file mode 100644 index 0000000..98fb831 --- /dev/null +++ b/graphite2-1.2.0.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:630fba251c7e570f2b0c4a0c63a7abb4d45b0246d390f53188b1a9b73de7b96e +size 4663935 diff --git a/graphite2.changes b/graphite2.changes new file mode 100644 index 0000000..bb74d18 --- /dev/null +++ b/graphite2.changes @@ -0,0 +1,5 @@ +------------------------------------------------------------------- +Tue Nov 6 13:56:19 UTC 2012 - tchvatal@suse.com + +- Initial commit version 1.2.0. + diff --git a/graphite2.spec b/graphite2.spec new file mode 100644 index 0000000..11e498c --- /dev/null +++ b/graphite2.spec @@ -0,0 +1,113 @@ +# +# spec file for package libexttextcat +# +# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany. +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# + + +%define libname libgraphite2-3 + +Name: graphite2 +Version: 1.2.0 +Release: 0 +License: LGPL-2.0+ +Summary: Font rendering capabilities for complex non-Roman writing systems +Url: http://sourceforge.net/projects/silgraphite/ +Group: Productivity/Publishing/Word +Source0: http://downloads.sourceforge.net/silgraphite/graphite2-%{version}.tgz +BuildRequires: pkgconfig +BuildRequires: cmake +BuildRequires: gcc-c++ +BuildRequires: freetype-devel +BuildRoot: %{_tmppath}/%{name}-%{version}-build + +%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 -n %{libname} +Summary: Text categorization library +Group: System/Libraries + +%description -n %{libname} +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 +Summary: Files for Developing with %{name} +Group: Development/Libraries/C and C++ +Requires: %{libname} = %{version} + +%description devel +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. + +This package contains the libexttextcat development files. + +%prep +%setup -q + +%build +cmake \ + -DCMAKE_C_FLAGS:STRING="%{optflags}" \ + -DCMAKE_BUILD_TYPE=RelWithDebInfo \ + -DCMAKE_SKIP_RPATH=ON \ + -DCMAKE_INSTALL_PREFIX=%{_prefix} \ + -DBUILD_SHARED_LIBS=ON \ +%if %{_lib} == lib64 + -DLIB_SUFFIX=64 \ +%endif + -DGRAPHITE2_COMPARE_RENDERER=OFF \ + -DVM_MACHINE_TYPE=direct \ + . +make %{?_smp_mflags} + +%install +make DESTDIR=%{buildroot} install + +rm %{buildroot}%{_libdir}/*.la + +%post -n %{libname} -p /sbin/ldconfig + +%postun -n %{libname} -p /sbin/ldconfig + +%files +%defattr(-,root,root) +%doc LICENSE COPYING +%{_bindir}/gr2fonttest + +%files -n %{libname} +%defattr(-,root,root) +%{_libdir}/*.so.3* + +%files devel +%defattr(-,root,root) +%{_libdir}/*.so +%{_libdir}/pkgconfig/%{name}*.pc +%{_includedir}/%{name}* +%{_datadir}/%{name}* + +%changelog