69 lines
1.5 KiB
RPMSpec
69 lines
1.5 KiB
RPMSpec
Name: libspectre
|
|
Version: 0.2.12
|
|
Release: 1
|
|
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 gcc
|
|
%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
|
|
|
|
%check
|
|
make check
|
|
|
|
%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
|
|
* Fri Jun 02 2023 wangkai <13474090681@163.com> - 0.2.12-1
|
|
- Update version to 0.2.12
|
|
|
|
* Tue Nov 1 2022 huyab<1229981468@qq.com> - 0.2.10-1
|
|
- update version to 0.2.10-1
|
|
|
|
* Tue Jun 08 2021 wulei <wulei80@huawei.com> - 0.2.8-9
|
|
- fixes failed: error: no acceptable C compiler found in $PATH
|
|
|
|
* Wed Nov 27 2019 Jiangping Hu <hujiangping@huawei.com> - 0.2.8-8
|
|
- Package init
|