]> git.pld-linux.org Git - packages/graphite2.git/blob - graphite2.spec
- release 2 (by relup.sh)
[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.1.1
5 Release:        2
6 License:        LGPL v2.1+
7 Group:          Libraries
8 Source0:        http://downloads.sourceforge.net/silgraphite/graphite2/%{name}-%{version}.tgz
9 # Source0-md5:  d2470967db5cdc6c04468950e423e9df
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 /sbin/ldconfig -n $RPM_BUILD_ROOT%{_libdir}
76
77 # cmake's fake (with no dependencies); also obsoleted by pkg-config
78 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgraphite2.la
79
80 %clean
81 rm -rf $RPM_BUILD_ROOT
82
83 %post   -p /sbin/ldconfig
84 %postun -p /sbin/ldconfig
85
86 %files
87 %defattr(644,root,root,755)
88 %doc ChangeLog doc/*.txt
89 %attr(755,root,root) %{_bindir}/comparerenderer
90 %attr(755,root,root) %{_bindir}/gr2fonttest
91 %attr(755,root,root) %{_libdir}/libgraphite2.so.*.*.*
92
93 %files devel
94 %defattr(644,root,root,755)
95 %attr(755,root,root) %{_libdir}/libgraphite2.so
96 %{_includedir}/graphite2
97 %{_pkgconfigdir}/graphite2.pc
98 %{_datadir}/graphite2
This page took 0.070418 seconds and 4 git commands to generate.