!4 Upgrade to version 1.14.4
From: @chen-jan Reviewed-by: @lyn1001 Signed-off-by: @lyn1001
This commit is contained in:
commit
adf7b59a73
Binary file not shown.
BIN
cairomm-1.14.4.tar.xz
Normal file
BIN
cairomm-1.14.4.tar.xz
Normal file
Binary file not shown.
34
cairomm.spec
34
cairomm.spec
@ -4,16 +4,19 @@
|
||||
%global libsigc_version 2.5.1
|
||||
|
||||
Name: cairomm
|
||||
Version: 1.12.0
|
||||
Release: 11
|
||||
Version: 1.14.4
|
||||
Release: 1
|
||||
Summary: C++ API for the cairo graphics library
|
||||
License: LGPLv2+
|
||||
URL: http://www.cairographics.org
|
||||
Source: http://www.cairographics.org/releases/%{name}-%{version}.tar.gz
|
||||
Source: http://www.cairographics.org/releases/%{name}-%{version}.tar.xz
|
||||
|
||||
BuildRequires: cairo-devel >= %{cairo_version}
|
||||
BuildRequires: libsigc++20-devel >= %{libsigc_version}
|
||||
BuildRequires: perl, perl(Getopt::Long), pkgconfig, gcc-g++
|
||||
BuildRequires: meson doxygen graphviz libxslt pkgconfig(mm-common-libstdc++)
|
||||
BuildRequires: boost-devel
|
||||
|
||||
|
||||
Requires: cairo%{?_isa} >= %{cairo_version}
|
||||
Requires: libsigc++20%{?_isa} >= %{libsigc_version}
|
||||
@ -38,21 +41,35 @@ developing %{name} applications.
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%configure --disable-static
|
||||
%make_build
|
||||
%meson \
|
||||
-Dmaintainer-mode=%{?with_maintainer_mode:true}%{?!with_maintainer_mode:false} \
|
||||
-Dbuild-documentation=true \
|
||||
-Dbuild-examples=false \
|
||||
-Dbuild-tests=true \
|
||||
-Dboost-shared=true \
|
||||
-Dwarnings=max
|
||||
%meson_build
|
||||
|
||||
|
||||
%install
|
||||
%make_install
|
||||
%meson_install
|
||||
|
||||
install -t %{buildroot}%{_docdir}/cairomm-%{apiver} -m 0644 -p \
|
||||
AUTHORS ChangeLog MAINTAINERS NEWS README.md
|
||||
cp -rp examples %{buildroot}%{_docdir}/cairomm-%{apiver}/
|
||||
|
||||
%delete_la
|
||||
|
||||
%check
|
||||
%meson_test
|
||||
|
||||
%post -p /sbin/ldconfig
|
||||
|
||||
%postun -p /sbin/ldconfig
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc AUTHORS README NEWS
|
||||
%doc AUTHORS
|
||||
%{_libdir}/lib*.so.*
|
||||
|
||||
%files devel
|
||||
@ -67,6 +84,9 @@ developing %{name} applications.
|
||||
%doc %{_datadir}/devhelp/
|
||||
|
||||
%changelog
|
||||
* Thu Sep 07 2023 chenchen <chen_aka_jan@163.com> - 1.14.4-1
|
||||
- Upgrade to version 1.14.4
|
||||
|
||||
* Mon May 31 2021 baizhonggui <baizhonggui@huawei.com> - 1.12.0-11
|
||||
- Fix building error: C++ compiler cannot create executables
|
||||
- Add gcc-g++ in BuildRequires
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user