]> git.pld-linux.org Git - packages/graphite2.git/blame - graphite2.spec
- updated to 1.3.1
[packages/graphite2.git] / graphite2.spec
CommitLineData
b1e07fb7 1Summary: Font rendering capabilities for complex non-Roman writing systems
b01b9f92 2Summary(pl.UTF-8): Wsparcie renderowania złożonych systemów pisma nierzymskiego
ff6aeccc 3Name: graphite2
624d8297
JB
4Version: 1.3.1
5Release: 1
9893ab49 6License: LGPL v2.1+
b1e07fb7 7Group: Libraries
54adfbe0 8Source0: http://downloads.sourceforge.net/silgraphite/%{name}-%{version}.tgz
624d8297
JB
9# Source0-md5: 0c4b5b0ebd59ff36837029bb60efc5b1
10Patch0: %{name}-fix_wrong_linker_opts.patch
11Patch1: %{name}-includes-libs-perl.patch
b1e07fb7 12URL: http://graphite.sil.org/
b01b9f92
JB
13BuildRequires: cmake >= 2.8.0
14BuildRequires: libstdc++-devel
b1e07fb7 15BuildRequires: pkgconfig
b01b9f92
JB
16# the rest for tests only
17BuildRequires: freetype-devel >= 2
18BuildRequires: glib2-devel >= 2.0
19BuildRequires: libicu-devel
9893ab49 20BuildRequires: silgraphite-devel
b1e07fb7
MB
21BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
22
23%description
b01b9f92 24Graphite is a project within SIL's Non-Roman Script Initiative and
b1e07fb7
MB
25Language Software Development groups to provide rendering capabilities
26for complex non-Roman writing systems. Graphite can be used to create
27"smart fonts" capable of displaying writing systems with various
28complex behaviors. With respect to the Text Encoding Model, Graphite
29handles the "Rendering" aspect of writing system implementation.
30
b01b9f92
JB
31%description -l pl.UTF-8
32Graphite 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
35wsparcia dla złożonych systemów pisma nierzymskiego. Graphite może być
36używany do tworzenia "inteligentnych fontów", będących w stanie
37wyświelać systemy pisma o różnych złożonych zachowaniach.
38Uwzględniając model kodowania tekstu (Text Encoding Model) Graphite
39obsługuje aspekt renderowania całości implementacji systemów pisma.
40
b1e07fb7 41%package devel
ff6aeccc
AM
42Summary: Header files for graphite2 library
43Summary(pl.UTF-8): Pliki nagłówkowe biblioteki graphite2
b1e07fb7
MB
44Group: Development/Libraries
45Requires: %{name} = %{version}-%{release}
b01b9f92 46Requires: libstdc++-devel
b1e07fb7
MB
47
48%description devel
ff6aeccc 49Header files for graphite2 library.
b1e07fb7
MB
50
51%description devel -l pl.UTF-8
ff6aeccc 52Pliki 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
60install -d build
61cd build
b01b9f92
JB
62%cmake .. \
63 -DGRAPHITE2_VM_TYPE=direct
ff6aeccc 64
b1e07fb7
MB
65%{__make}
66
67%install
68rm -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
77rm -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
This page took 0.082998 seconds and 4 git commands to generate.