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