]> git.pld-linux.org Git - packages/graphite2.git/blob - graphite2.spec
- updated to 1.3.1
[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.1
5 Release:        1
6 License:        LGPL v2.1+
7 Group:          Libraries
8 Source0:        http://downloads.sourceforge.net/silgraphite/%{name}-%{version}.tgz
9 # Source0-md5:  0c4b5b0ebd59ff36837029bb60efc5b1
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 BuildRequires:  silgraphite-devel
21 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23 %description
24 Graphite is a project within SIL's Non-Roman Script Initiative and
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
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
41 %package devel
42 Summary:        Header files for graphite2 library
43 Summary(pl.UTF-8):      Pliki nagłówkowe biblioteki graphite2
44 Group:          Development/Libraries
45 Requires:       %{name} = %{version}-%{release}
46 Requires:       libstdc++-devel
47
48 %description devel
49 Header files for graphite2 library.
50
51 %description devel -l pl.UTF-8
52 Pliki nagłówkowe biblioteki graphite2.
53
54 %prep
55 %setup -q
56 %patch0 -p1
57 %patch1 -p1
58
59 %build
60 install -d build
61 cd build
62 %cmake .. \
63         -DGRAPHITE2_VM_TYPE=direct
64
65 %{__make}
66
67 %install
68 rm -rf $RPM_BUILD_ROOT
69
70 %{__make} -C build install \
71         DESTDIR=$RPM_BUILD_ROOT
72
73 # cmake's fake (with no dependencies); also obsoleted by pkg-config
74 %{__rm} $RPM_BUILD_ROOT%{_libdir}/libgraphite2.la
75
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)
84 %doc ChangeLog doc/*.txt
85 %attr(755,root,root) %{_bindir}/gr2fonttest
86 %attr(755,root,root) %{_libdir}/libgraphite2.so.*.*.*
87 %attr(755,root,root) %ghost %{_libdir}/libgraphite2.so.3
88
89 %files devel
90 %defattr(644,root,root,755)
91 %attr(755,root,root) %{_libdir}/libgraphite2.so
92 %{_includedir}/graphite2
93 %{_pkgconfigdir}/graphite2.pc
94 %{_datadir}/graphite2
This page took 0.147517 seconds and 4 git commands to generate.