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

Revision 9052, 2.6 KB checked in by inagaki, 9 years ago (diff)

2014-11-02 Ryoichi INAGAKI <ryo1@…>

  • freeciv, imake, lasem, lua, mate-icon-theme: changed Group


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