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

Revision 6976, 2.3 KB checked in by Takemikaduchi, 12 years ago (diff)

desktop-file-utils, gedit-code-assistance, latexila, meld: new upstream release
gnome-system-log: add files
lasem: New package
task-gnome: update to 3.6.1

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