Package init
- 初始化提交
This commit is contained in:
parent
b80ad9eb73
commit
504fdf657b
BIN
lasem-0.4.3.tar.xz
Normal file
BIN
lasem-0.4.3.tar.xz
Normal file
Binary file not shown.
87
lasem.spec
Normal file
87
lasem.spec
Normal file
@ -0,0 +1,87 @@
|
||||
%global apiver 0.4
|
||||
|
||||
Name: lasem
|
||||
Version: 0.4.3
|
||||
Release: 19%{?dist}
|
||||
Summary: A library for rendering SVG and Mathml, implementing a DOM like API
|
||||
|
||||
License: LGPLv2+ and GPLv2+
|
||||
URL: https://wiki.gnome.org/Projects/Lasem
|
||||
Source0: http://download.gnome.org/sources/%{name}/%{apiver}/%{name}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: gcc
|
||||
BuildRequires: intltool
|
||||
BuildRequires: pkgconfig(gdk-pixbuf-2.0)
|
||||
BuildRequires: pkgconfig(gobject-introspection-1.0)
|
||||
BuildRequires: pkgconfig(libxml-2.0)
|
||||
BuildRequires: pkgconfig(pango)
|
||||
BuildRequires: make
|
||||
Provides: bundled(itex2mml) = 1.4.5
|
||||
|
||||
%description
|
||||
Lasem is a library for rendering SVG and Mathml, implementing a DOM like API.
|
||||
It's based on GObject and use Pango and Cairo for the rendering.
|
||||
|
||||
|
||||
%package devel
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for
|
||||
developing applications that use %{name}.
|
||||
|
||||
|
||||
%package render
|
||||
Summary: Simple MathML converter
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
%description render
|
||||
Simple application, which is able to convert a Mathml, a latex math or a SVG
|
||||
file to either a PNG, PDF or SVG image.
|
||||
|
||||
|
||||
%prep
|
||||
%autosetup
|
||||
|
||||
|
||||
%build
|
||||
%configure --disable-static \
|
||||
--disable-silent-rules
|
||||
%make_build
|
||||
|
||||
|
||||
%install
|
||||
%make_install
|
||||
find $RPM_BUILD_ROOT%{_libdir} -type f -name '*.la' -delete -print
|
||||
|
||||
#docs are installed using %%doc
|
||||
rm -rf $RPM_BUILD_ROOT%{_prefix}/doc
|
||||
|
||||
%find_lang %{name}-%{apiver}
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
|
||||
%files -f %{name}-%{apiver}.lang
|
||||
%doc AUTHORS NEWS README
|
||||
%license COPYING itex2mml/COPYING.itex2MML
|
||||
%{_libdir}/girepository-1.0/Lasem-%{apiver}.typelib
|
||||
%{_libdir}/lib%{name}-%{apiver}.so.*
|
||||
|
||||
%files devel
|
||||
%{_includedir}/%{name}-%{apiver}
|
||||
%{_libdir}/lib%{name}-%{apiver}.so
|
||||
%{_libdir}/pkgconfig/%{name}-%{apiver}.pc
|
||||
%{_datadir}/gir-1.0/Lasem-%{apiver}.gir
|
||||
%dir %{_datadir}/gtk-doc
|
||||
%dir %{_datadir}/gtk-doc/html
|
||||
%doc %{_datadir}/gtk-doc/html/%{name}-%{apiver}
|
||||
|
||||
%files render
|
||||
%{_bindir}/%{name}-render-%{apiver}
|
||||
%{_mandir}/man1/%{name}-render-%{apiver}.1*
|
||||
|
||||
%changelog
|
||||
* Wed May 24 2023 wangtaozhi <wangtaozhi@kylinsec.com.cn> - 0.4.3-19
|
||||
- Package init
|
||||
4
lasem.yaml
Normal file
4
lasem.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
version_control: github
|
||||
src_repo: https://gitlab.gnome.org/Archive/lasem
|
||||
tag_prefix: "v"
|
||||
separator: "."
|
||||
Loading…
x
Reference in New Issue
Block a user