packages: graphite2/graphite2.spec - almost raw

arekm arekm at pld-linux.org
Thu Oct 13 22:52:19 CEST 2011


Author: arekm                        Date: Thu Oct 13 20:52:19 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- almost raw

---- Files affected:
packages/graphite2:
   graphite2.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/graphite2/graphite2.spec
diff -u packages/graphite2/graphite2.spec:1.1 packages/graphite2/graphite2.spec:1.2
--- packages/graphite2/graphite2.spec:1.1	Sat Dec 18 11:43:11 2010
+++ packages/graphite2/graphite2.spec	Thu Oct 13 22:52:14 2011
@@ -1,15 +1,19 @@
 # $Revision$, $Date$
 Summary:	Font rendering capabilities for complex non-Roman writing systems
-Name:		silgraphite
-Version:	2.3.1
-Release:	1
+Name:		graphite2
+Version:	1.0.3
+Release:	0.1
 License:	LGPL v2+ or CPL
 Group:		Libraries
-Source0:	http://downloads.sourceforge.net/silgraphite/%{name}-%{version}.tar.gz
-# Source0-md5:	d35724900f6a4105550293686688bbb3
+Source0:	http://downloads.sourceforge.net/silgraphite/%{name}/%{name}-%{version}.tgz
+# Source0-md5:	3bf481ca95109b14435125c0dd1f2217
+Patch0:		graphite2-1.0.2-no_harfbuzz_tests.patch
+Patch1:		graphite2-fix_wrong_linker_opts.patch
+Patch2:		graphite2-includes-libs-perl.patch
 URL:		http://graphite.sil.org/
-BuildRequires:	freetype-devel
-BuildRequires:	pango-devel
+BuildRequires:	cmake
+BuildRequires:	silgraphite-devel
+BuildRequires:	glib2-devel
 BuildRequires:	pkgconfig
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -22,40 +26,48 @@
 handles the "Rendering" aspect of writing system implementation.
 
 %package devel
-Summary:	Header files for silgraphite library
-Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki silgraphite
+Summary:	Header files for graphite2 library
+Summary(pl.UTF-8):	Pliki nagłówkowe biblioteki graphite2
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
 
 %description devel
-Header files for silgraphite library.
+Header files for graphite2 library.
 
 %description devel -l pl.UTF-8
-Pliki nagłówkowe biblioteki silgraphite.
+Pliki nagłówkowe biblioteki graphite2.
 
 %package static
-Summary:	Static silgraphite library
-Summary(pl.UTF-8):	Statyczna biblioteka silgraphite
+Summary:	Static graphite2 library
+Summary(pl.UTF-8):	Statyczna biblioteka graphite2
 Group:		Development/Libraries
 Requires:	%{name}-devel = %{version}-%{release}
 
 %description static
-Static silgraphite library.
+Static graphite2 library.
 
 %description static -l pl.UTF-8
-Statyczna biblioteka silgraphite.
+Statyczna biblioteka graphite2.
 
 %prep
 %setup -q
+%patch0 -p1
+%patch1 -p1
+%patch2 -p1
 
 %build
-%configure
+install -d build
+cd build
+%cmake \
+	-DVM_MACHINE_TYPE=direct \
+	..
+
 %{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
 
-%{__make} install \
+%{__make} -C build install \
 	DESTDIR=$RPM_BUILD_ROOT
 
 %{__rm} $RPM_BUILD_ROOT%{_libdir}/pango/1.6.0/modules/graphite/*.{a,la}
@@ -87,7 +99,7 @@
 %{_libdir}/libgraphite-ft.la
 %{_libdir}/libgraphite-xft.la
 %{_includedir}/graphite
-%{_pkgconfigdir}/silgraphite.pc
+%{_pkgconfigdir}/graphite2.pc
 
 %files static
 %defattr(644,root,root,755)
@@ -101,6 +113,6 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
-Revision 1.1  2010/12/18 10:43:11  megabajt
-- new
+Revision 1.2  2011/10/13 20:52:14  arekm
+- almost raw
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/graphite2/graphite2.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list