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