lasem-vl.spec 2.6 KB

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