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