libspectre/libspectre.spec

69 lines
1.5 KiB
RPMSpec
Raw Permalink Normal View History

2019-11-29 11:42:07 +08:00
Name: libspectre
2023-06-02 17:18:54 +08:00
Version: 0.2.12
2022-11-30 08:41:34 +00:00
Release: 1
2019-11-29 11:42:07 +08:00
Summary: A small library for rendering Postscript documents
License: GPLv2+
URL: http://libspectre.freedesktop.org
2022-11-30 08:41:34 +00:00
Source0: http://libspectre.freedesktop.org/releases/%{name}-%{version}.tar.gz
2019-11-29 11:42:07 +08:00
2022-11-30 08:41:34 +00:00
BuildRequires: libgs-devel gcc
2019-11-29 11:42:07 +08:00
%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
2022-11-30 08:41:34 +00:00
2019-11-29 11:42:07 +08:00
%build
%configure --disable-silent-rules --disable-static
%make_build
%install
%make_install
%delete_la
2022-11-30 08:41:34 +00:00
%check
make check
2019-11-29 11:42:07 +08:00
%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
2023-06-02 17:18:54 +08:00
* Fri Jun 02 2023 wangkai <13474090681@163.com> - 0.2.12-1
- Update version to 0.2.12
2022-11-30 08:41:34 +00:00
* 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
2019-11-29 11:42:07 +08:00
* Wed Nov 27 2019 Jiangping Hu <hujiangping@huawei.com> - 0.2.8-8
- Package init