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