source: projects/specs/trunk/l/lasem/lasem-vl.spec @ 7027

Revision 7027, 2.4 KB checked in by Takemikaduchi, 12 years ago (diff)

python-bsddb3: new package
task-gnome: add package
others: new upstream release

Line 
1Summary:        SVG and Mathml rendering library
2Summary(ja):    SVG 及び Mathml のレンダリングライブラリ
3Name:           lasem
4Version:        0.3.4
5Release:        1%{?_dist_release}
6License:        GPLv2+
7Group:          User Interface/Desktops
8URL:            http://blogs.gnome.org/emmanuel/category/lasem/
9
10Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.3/%{name}-%{version}.tar.xz
11
12BuildRoot: %{_tmppath}/%{name}-%{version}-root
13
14BuildRequires:  bison
15BuildRequires:  flex
16BuildRequires:  glib2-devel
17BuildRequires:  libxml2-devel
18BuildRequires:  gdk-pixbuf2-devel
19BuildRequires:  cairo-devel
20BuildRequires:  pango-devel
21
22Vendor:         Project Vine
23Distribution:   Vine Linux
24Packager:       Takemikaduchi
25
26
27%description
28Lasem is a library for rendering SVG and Mathml, implementing a DOM like
29API. It's based on GObject and use Pango and Cairo for the rendering.
30Included in the package, there is a simple application, lasem-render,
31which is able to convert a Mathml, an itexmml (latex math like) or a SVG
32file to either a PNG, PDF or SVG image.
33
34
35%package        devel
36Summary:        Development package for %{name}
37Summary(ja):    %{name} の開発環境
38Group:          Development/Libraries
39Requires:       %{name} = %{version}-%{release}
40Requires:       pkgconfig
41
42%description    devel
43Files for development with %{name}.
44
45
46%package        doc
47Summary:        Documentation for %{name}
48Summary(ja):    %{name} 用のドキュメント
49Group:          Documentation
50Requires:       %{name} = %{version}-%{release}
51BuildArch:      noarch
52
53%description    doc
54This package contains documentation for %{name}.
55
56
57%prep
58%setup -q
59
60%build
61%configure --disable-static
62make %{?_smp_mflags}
63
64%install
65rm -rf $RPM_BUILD_ROOT
66
67make install DESTDIR=$RPM_BUILD_ROOT
68
69rm -rf $RPM_BUILD_ROOT%{_prefix}/doc/%{name}-0.4
70find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
71
72%find_lang %{name}-0.4
73
74%clean
75rm -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
Note: See TracBrowser for help on using the repository browser.