1 | Summary: SVG and Mathml rendering library |
---|
2 | Summary(ja): SVG 及び Mathml のレンダリングライブラリ |
---|
3 | Name: lasem |
---|
4 | Version: 0.3.4 |
---|
5 | Release: 1%{?_dist_release} |
---|
6 | License: GPLv2+ |
---|
7 | Group: User Interface/Desktops |
---|
8 | URL: http://blogs.gnome.org/emmanuel/category/lasem/ |
---|
9 | |
---|
10 | Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.3/%{name}-%{version}.tar.xz |
---|
11 | |
---|
12 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
13 | |
---|
14 | BuildRequires: bison |
---|
15 | BuildRequires: flex |
---|
16 | BuildRequires: glib2-devel |
---|
17 | BuildRequires: libxml2-devel |
---|
18 | BuildRequires: gdk-pixbuf2-devel |
---|
19 | BuildRequires: cairo-devel |
---|
20 | BuildRequires: pango-devel |
---|
21 | |
---|
22 | Vendor: Project Vine |
---|
23 | Distribution: Vine Linux |
---|
24 | Packager: Takemikaduchi |
---|
25 | |
---|
26 | |
---|
27 | %description |
---|
28 | Lasem is a library for rendering SVG and Mathml, implementing a DOM like |
---|
29 | API. It's based on GObject and use Pango and Cairo for the rendering. |
---|
30 | Included in the package, there is a simple application, lasem-render, |
---|
31 | which is able to convert a Mathml, an itexmml (latex math like) or a SVG |
---|
32 | file to either a PNG, PDF or SVG image. |
---|
33 | |
---|
34 | |
---|
35 | %package devel |
---|
36 | Summary: Development package for %{name} |
---|
37 | Summary(ja): %{name} の開発環境 |
---|
38 | Group: Development/Libraries |
---|
39 | Requires: %{name} = %{version}-%{release} |
---|
40 | Requires: pkgconfig |
---|
41 | |
---|
42 | %description devel |
---|
43 | Files for development with %{name}. |
---|
44 | |
---|
45 | |
---|
46 | %package doc |
---|
47 | Summary: Documentation for %{name} |
---|
48 | Summary(ja): %{name} 用のドキュメント |
---|
49 | Group: Documentation |
---|
50 | Requires: %{name} = %{version}-%{release} |
---|
51 | BuildArch: noarch |
---|
52 | |
---|
53 | %description doc |
---|
54 | This package contains documentation for %{name}. |
---|
55 | |
---|
56 | |
---|
57 | %prep |
---|
58 | %setup -q |
---|
59 | |
---|
60 | %build |
---|
61 | %configure --disable-static |
---|
62 | make %{?_smp_mflags} |
---|
63 | |
---|
64 | %install |
---|
65 | rm -rf $RPM_BUILD_ROOT |
---|
66 | |
---|
67 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
68 | |
---|
69 | rm -rf $RPM_BUILD_ROOT%{_prefix}/doc/%{name}-0.4 |
---|
70 | find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \; |
---|
71 | |
---|
72 | %find_lang %{name}-0.4 |
---|
73 | |
---|
74 | %clean |
---|
75 | rm -rf $RPM_BUILD_ROOT |
---|
76 | |
---|
77 | %post -p /sbin/ldconfig |
---|
78 | |
---|
79 | %postun -p /sbin/ldconfig |
---|
80 | |
---|
81 | |
---|
82 | %files -f %{name}-0.4.lang |
---|
83 | %defattr(-,root,root,-) |
---|
84 | %doc AUTHORS COPYING ChangeLog NEWS README |
---|
85 | %{_bindir}/lasem-render-0.4 |
---|
86 | %{_libdir}/liblasem-0.4.so.* |
---|
87 | %{_libdir}/girepository-1.0/Lasem-0.4.typelib |
---|
88 | |
---|
89 | %files devel |
---|
90 | %defattr(-,root,root,-) |
---|
91 | %{_includedir}/lasem-0.4 |
---|
92 | %{_libdir}/liblasem-0.4.so |
---|
93 | %{_libdir}/pkgconfig/lasem-0.4.pc |
---|
94 | %{_datadir}/gir-1.0/Lasem-0.4.gir |
---|
95 | |
---|
96 | %files doc |
---|
97 | %defattr(-,root,root,-) |
---|
98 | %{_datadir}/gtk-doc/html/lasem-0.4 |
---|
99 | |
---|
100 | |
---|
101 | |
---|
102 | %changelog |
---|
103 | * Sun Oct 28 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.4-1 |
---|
104 | - new upstream release |
---|
105 | - add BuildRequires: bison, flex |
---|
106 | |
---|
107 | * Sun Oct 21 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.3-1 |
---|
108 | - initial build |
---|