]> git.pld-linux.org Git - packages/graphite2.git/blob - graphite2.spec
- rel 1; fix files
[packages/graphite2.git] / graphite2.spec
1 Summary:        Font rendering capabilities for complex non-Roman writing systems
2 Name:           graphite2
3 Version:        1.0.3
4 Release:        1
5 License:        LGPL v2.1+
6 Group:          Libraries
7 Source0:        http://downloads.sourceforge.net/silgraphite/graphite2/%{name}-%{version}.tgz
8 # Source0-md5:  3bf481ca95109b14435125c0dd1f2217
9 Patch0:         %{name}-1.0.2-no_harfbuzz_tests.patch
10 Patch1:         %{name}-fix_wrong_linker_opts.patch
11 Patch2:         %{name}-includes-libs-perl.patch
12 URL:            http://graphite.sil.org/
13 BuildRequires:  cmake
14 BuildRequires:  glib2-devel
15 BuildRequires:  pkgconfig
16 BuildRequires:  silgraphite-devel
17 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
18
19 %description
20 Graphite is a project within SIL’s Non-Roman Script Initiative and
21 Language Software Development groups to provide rendering capabilities
22 for complex non-Roman writing systems. Graphite can be used to create
23 "smart fonts" capable of displaying writing systems with various
24 complex behaviors. With respect to the Text Encoding Model, Graphite
25 handles the "Rendering" aspect of writing system implementation.
26
27 %package devel
28 Summary:        Header files for graphite2 library
29 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki graphite2
30 Group:          Development/Libraries
31 Requires:       %{name} = %{version}-%{release}
32
33 %description devel
34 Header files for graphite2 library.
35
36 %description devel -l pl.UTF-8
37 Pliki nagłówkowe biblioteki graphite2.
38
39 %package static
40 Summary:        Static graphite2 library
41 Summary(pl.UTF-8):      Statyczna biblioteka graphite2
42 Group:          Development/Libraries
43 Requires:       %{name}-devel = %{version}-%{release}
44
45 %description static
46 Static graphite2 library.
47
48 %description static -l pl.UTF-8
49 Statyczna biblioteka graphite2.
50
51 %prep
52 %setup -q
53 %patch0 -p1
54 %patch1 -p1
55 %patch2 -p1
56
57 %build
58 install -d build
59 cd build
60 %cmake \
61         -DVM_MACHINE_TYPE=direct \
62         ..
63
64 %{__make}
65
66 %install
67 rm -rf $RPM_BUILD_ROOT
68
69 %{__make} -C build install \
70         DESTDIR=$RPM_BUILD_ROOT
71
72 /sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}
73
74 %clean
75 rm -rf $RPM_BUILD_ROOT
76
77 %post   -p /sbin/ldconfig
78 %postun -p /sbin/ldconfig
79
80 %files
81 %defattr(644,root,root,755)
82 %doc ChangeLog doc/*.txt
83 %attr(755,root,root) %{_bindir}/comparerenderer
84 %attr(755,root,root) %{_bindir}/gr2fonttest
85 %attr(755,root,root) %{_libdir}/libgraphite2.so.*.*.*
86 #%attr(755,root,root) %ghost %{_libdir}/libgraphite2.so.2
87
88 %files devel
89 %defattr(644,root,root,755)
90 %attr(755,root,root) %{_libdir}/libgraphite2.so
91 %{_includedir}/graphite2
92 %{_pkgconfigdir}/graphite2.pc
93 %{_datadir}/graphite2
This page took 0.058693 seconds and 4 git commands to generate.