diff --git a/cairomm-1.12.0.tar.gz b/cairomm-1.12.0.tar.gz deleted file mode 100644 index 0d3760a..0000000 Binary files a/cairomm-1.12.0.tar.gz and /dev/null differ diff --git a/cairomm-1.14.4.tar.xz b/cairomm-1.14.4.tar.xz new file mode 100644 index 0000000..902e63b Binary files /dev/null and b/cairomm-1.14.4.tar.xz differ diff --git a/cairomm.spec b/cairomm.spec index 96562d2..4ae154c 100644 --- a/cairomm.spec +++ b/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 - 1.14.4-1 +- Upgrade to version 1.14.4 + * Mon May 31 2021 baizhonggui - 1.12.0-11 - Fix building error: C++ compiler cannot create executables - Add gcc-g++ in BuildRequires