libspectre: package init

This commit is contained in:
byeX012 2019-11-29 11:42:07 +08:00
commit b8d72212d3
2 changed files with 53 additions and 0 deletions

BIN
libspectre-0.2.8.tar.gz Normal file

Binary file not shown.

53
libspectre.spec Normal file
View File

@ -0,0 +1,53 @@
Name: libspectre
Version: 0.2.8
Release: 8
Summary: A small library for rendering Postscript documents
License: GPLv2+
URL: http://libspectre.freedesktop.org
Source0: http://libspectre.freedesktop.org/releases/%{name}-%{version}.tar.gz
BuildRequires: libgs-devel
%description
Libspectre is a small library for rendering Postscript documents.
It provides a convenient easy to use API for handling and rendering
Postscript documents.
%package devel
Summary: Development files for libspectre
Requires: %{name} = %{version}-%{release}
%description devel
The libspectre-devel package contains libraries and header files for
developing applications that use libspectre.
%prep
%autosetup -n %{name}-%{version} -p1
%build
%configure --disable-silent-rules --disable-static
%make_build
%install
%make_install
%delete_la
%post
/sbin/ldconfig
%postun
/sbin/ldconfig
%files
%doc AUTHORS NEWS README TODO COPYING
%{_libdir}/libspectre.so.1*
%files devel
%{_includedir}/libspectre/
%{_libdir}/libspectre.so
%{_libdir}/pkgconfig/libspectre.pc
%changelog
* Wed Nov 27 2019 Jiangping Hu <hujiangping@huawei.com> - 0.2.8-8
- Package init