libEMF/libEMF.spec

88 lines
2.4 KiB
RPMSpec
Raw Permalink Normal View History

2020-09-27 17:20:02 +08:00
Name: libEMF
Version: 1.0.13
Release: 4
2020-09-27 17:20:02 +08:00
Summary: A library for generating Enhanced Metafiles
License: LGPLv2+ and GPLv2+
URL: http://libemf.sourceforge.net/
Source0: https://downloads.sourceforge.net/project/libemf/libemf/%{version}/libemf-%{version}.tar.gz
2023-07-05 17:05:01 +08:00
Patch0: 0001-libEMF-add-loongarch64.patch
2023-07-20 11:54:41 +08:00
Patch1: 0002-libemf-1.0.13-add-riscv64.patch
Patch2: 0003-libEMF-Add-sw_64-support.patch
Patch3: 0004-libEMF-Add-mips64el-support.patch
2020-09-27 17:20:02 +08:00
2021-09-11 15:54:01 +08:00
BuildRequires: gcc-c++ chrpath
2020-09-27 17:20:02 +08:00
%description
libEMF is designed to be used as a driver for other programs such as Grace and gunplot
to generate Enhanced Metafiles on systems which don't natively support the ECMA-234
Graphics Device Interface (GDI). It implements a limited subset of GDI.
%package devel
Summary: libEMF header files
Requires: libEMF = %{version}-%{release} libstdc++-devel
%description devel
Development header files for libEMF.
%package help
Summary: Documentation for libEMF
%description help
Documentation for libEMF.
%prep
%autosetup -n libemf-%{version} -p1
%build
%configure --disable-static --enable-editing
%make_build
%install
export CPPROG="cp -p"
%make_install
2021-09-11 15:54:01 +08:00
chrpath -d %{buildroot}%{_bindir}/printemf
2020-09-27 17:20:02 +08:00
%delete_la
%check
make check
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%license COPYING COPYING.LIB
%doc AUTHORS ChangeLog
%{_bindir}/printemf
%{_libdir}/libEMF.so.1*
%files devel
%{_libdir}/libEMF.so
%{_includedir}/libEMF
%files help
%doc doc/html/* NEWS README
%changelog
* Sat Mar 15 2025 mahailiang <mahailiang@uniontech.com> - 1.0.13-4
- fix sw_64 mips64el build error
2023-07-20 11:54:41 +08:00
* Thu Jul 20 2023 wujie <wujie@nj.iscas.ac.cn> - 1.0.13-3
- Add riscv64 support from http://fedora.riscv.rocks/koji/buildinfo?buildID=24988
Author is David Abdurachmanov <david.abdurachmanov@gmail.com>
2023-07-05 17:05:01 +08:00
* Wed Jul 5 2023 doupengda <doupengda@loongson.cn> - 1.0.13-2
- libEMF add support for loongarch64
* Tue Sep 28 2021 yaoxin <yaoxin30@huawei.com> - 1.0.13-1
- Upgrade libEMF to 1.0.13; fix CVE-2020-13999 CVE-2020-11863 CVE-2020-11865 CVE-2020-11866 CVE-2020-11864
2021-09-11 15:54:01 +08:00
* Fri Sep 10 2021 Pengju Jiang <jiangpengju2@huawei.com> - 1.0.9-9
- solve the rpath problem
2020-09-27 17:20:02 +08:00
* Wed Jan 15 2020 qinjian <qinjian18@huawei.com> - 1.0.9-8
- rename patch
* Sat Dec 14 2019 lihao <lihao129@huawei.com> - 1.0.9-7
- Package Init