lasem-vl.spec 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  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. Source: http://ftp.gnome.org/pub/GNOME/sources/%{name}/0.3/%{name}-%{version}.tar.xz
  10. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  11. BuildRequires: glib2-devel
  12. BuildRequires: libxml2-devel
  13. BuildRequires: gdk-pixbuf2-devel
  14. BuildRequires: cairo-devel
  15. BuildRequires: pango-devel
  16. Vendor: Project Vine
  17. Distribution: Vine Linux
  18. Packager: Takemikaduchi
  19. %description
  20. Lasem is a library for rendering SVG and Mathml, implementing a DOM like
  21. API. It's based on GObject and use Pango and Cairo for the rendering.
  22. Included in the package, there is a simple application, lasem-render,
  23. which is able to convert a Mathml, an itexmml (latex math like) or a SVG
  24. file to either a PNG, PDF or SVG image.
  25. %package devel
  26. Summary: Development package for %{name}
  27. Summary(ja): %{name} の開発環境
  28. Group: Development/Libraries
  29. Requires: %{name} = %{version}-%{release}
  30. Requires: pkgconfig
  31. %description devel
  32. Files for development with %{name}.
  33. %package doc
  34. Summary: Documentation for %{name}
  35. Summary(ja): %{name} 用のドキュメント
  36. Group: Documentation
  37. Requires: %{name} = %{version}-%{release}
  38. BuildArch: noarch
  39. %description doc
  40. This package contains documentation for %{name}.
  41. %prep
  42. %setup -q
  43. %build
  44. %configure --disable-static
  45. make %{?_smp_mflags}
  46. %install
  47. rm -rf $RPM_BUILD_ROOT
  48. make install DESTDIR=$RPM_BUILD_ROOT
  49. rm -rf $RPM_BUILD_ROOT%{_prefix}/doc/%{name}-0.4
  50. find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} \;
  51. %find_lang %{name}-0.4
  52. %clean
  53. rm -rf $RPM_BUILD_ROOT
  54. %post -p /sbin/ldconfig
  55. %postun -p /sbin/ldconfig
  56. %files -f %{name}-0.4.lang
  57. %defattr(-,root,root,-)
  58. %doc AUTHORS COPYING ChangeLog NEWS README
  59. %{_bindir}/lasem-render-0.4
  60. %{_libdir}/liblasem-0.4.so.*
  61. %{_libdir}/girepository-1.0/Lasem-0.4.typelib
  62. %files devel
  63. %defattr(-,root,root,-)
  64. %{_includedir}/lasem-0.4
  65. %{_libdir}/liblasem-0.4.so
  66. %{_libdir}/pkgconfig/lasem-0.4.pc
  67. %{_datadir}/gir-1.0/Lasem-0.4.gir
  68. %files doc
  69. %defattr(-,root,root,-)
  70. %{_datadir}/gtk-doc/html/lasem-0.4
  71. %changelog
  72. * Sun Oct 21 2012 Yoji TOYODA <bsyamato@sea.plala.or.jp> 0.3.3-1
  73. - initial build