]>
Commit | Line | Data |
---|---|---|
b1e07fb7 | 1 | Summary: Font rendering capabilities for complex non-Roman writing systems |
b01b9f92 | 2 | Summary(pl.UTF-8): Wsparcie renderowania złożonych systemów pisma nierzymskiego |
ff6aeccc | 3 | Name: graphite2 |
624d8297 JB |
4 | Version: 1.3.1 |
5 | Release: 1 | |
9893ab49 | 6 | License: LGPL v2.1+ |
b1e07fb7 | 7 | Group: Libraries |
54adfbe0 | 8 | Source0: http://downloads.sourceforge.net/silgraphite/%{name}-%{version}.tgz |
624d8297 JB |
9 | # Source0-md5: 0c4b5b0ebd59ff36837029bb60efc5b1 |
10 | Patch0: %{name}-fix_wrong_linker_opts.patch | |
11 | Patch1: %{name}-includes-libs-perl.patch | |
b1e07fb7 | 12 | URL: http://graphite.sil.org/ |
b01b9f92 JB |
13 | BuildRequires: cmake >= 2.8.0 |
14 | BuildRequires: libstdc++-devel | |
b1e07fb7 | 15 | BuildRequires: pkgconfig |
b01b9f92 JB |
16 | # the rest for tests only |
17 | BuildRequires: freetype-devel >= 2 | |
18 | BuildRequires: glib2-devel >= 2.0 | |
19 | BuildRequires: libicu-devel | |
9893ab49 | 20 | BuildRequires: silgraphite-devel |
b1e07fb7 MB |
21 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
22 | ||
23 | %description | |
b01b9f92 | 24 | Graphite is a project within SIL's Non-Roman Script Initiative and |
b1e07fb7 MB |
25 | Language Software Development groups to provide rendering capabilities |
26 | for complex non-Roman writing systems. Graphite can be used to create | |
27 | "smart fonts" capable of displaying writing systems with various | |
28 | complex behaviors. With respect to the Text Encoding Model, Graphite | |
29 | handles the "Rendering" aspect of writing system implementation. | |
30 | ||
b01b9f92 JB |
31 | %description -l pl.UTF-8 |
32 | Graphite to projekt w ramach grup SIL Non-Roman Script Initiative | |
33 | (inicjatywy pism nierzymskich SIL) oraz Language Software Development | |
34 | (tworzenia oprogramowania językowego) mający na celu zapewnienie | |
35 | wsparcia dla złożonych systemów pisma nierzymskiego. Graphite może być | |
36 | używany do tworzenia "inteligentnych fontów", będących w stanie | |
37 | wyświelać systemy pisma o różnych złożonych zachowaniach. | |
38 | Uwzględniając model kodowania tekstu (Text Encoding Model) Graphite | |
39 | obsługuje aspekt renderowania całości implementacji systemów pisma. | |
40 | ||
b1e07fb7 | 41 | %package devel |
ff6aeccc AM |
42 | Summary: Header files for graphite2 library |
43 | Summary(pl.UTF-8): Pliki nagłówkowe biblioteki graphite2 | |
b1e07fb7 MB |
44 | Group: Development/Libraries |
45 | Requires: %{name} = %{version}-%{release} | |
b01b9f92 | 46 | Requires: libstdc++-devel |
b1e07fb7 MB |
47 | |
48 | %description devel | |
ff6aeccc | 49 | Header files for graphite2 library. |
b1e07fb7 MB |
50 | |
51 | %description devel -l pl.UTF-8 | |
ff6aeccc | 52 | Pliki nagłówkowe biblioteki graphite2. |
b1e07fb7 | 53 | |
b1e07fb7 MB |
54 | %prep |
55 | %setup -q | |
ff6aeccc AM |
56 | %patch0 -p1 |
57 | %patch1 -p1 | |
b1e07fb7 MB |
58 | |
59 | %build | |
ff6aeccc AM |
60 | install -d build |
61 | cd build | |
b01b9f92 JB |
62 | %cmake .. \ |
63 | -DGRAPHITE2_VM_TYPE=direct | |
ff6aeccc | 64 | |
b1e07fb7 MB |
65 | %{__make} |
66 | ||
67 | %install | |
68 | rm -rf $RPM_BUILD_ROOT | |
69 | ||
ff6aeccc | 70 | %{__make} -C build install \ |
b1e07fb7 MB |
71 | DESTDIR=$RPM_BUILD_ROOT |
72 | ||
b01b9f92 JB |
73 | # cmake's fake (with no dependencies); also obsoleted by pkg-config |
74 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgraphite2.la | |
75 | ||
b1e07fb7 MB |
76 | %clean |
77 | rm -rf $RPM_BUILD_ROOT | |
78 | ||
79 | %post -p /sbin/ldconfig | |
80 | %postun -p /sbin/ldconfig | |
81 | ||
82 | %files | |
83 | %defattr(644,root,root,755) | |
9893ab49 | 84 | %doc ChangeLog doc/*.txt |
9893ab49 AM |
85 | %attr(755,root,root) %{_bindir}/gr2fonttest |
86 | %attr(755,root,root) %{_libdir}/libgraphite2.so.*.*.* | |
6b9299a1 | 87 | %attr(755,root,root) %ghost %{_libdir}/libgraphite2.so.3 |
b1e07fb7 MB |
88 | |
89 | %files devel | |
90 | %defattr(644,root,root,755) | |
9893ab49 AM |
91 | %attr(755,root,root) %{_libdir}/libgraphite2.so |
92 | %{_includedir}/graphite2 | |
ff6aeccc | 93 | %{_pkgconfigdir}/graphite2.pc |
9893ab49 | 94 | %{_datadir}/graphite2 |