diff --git a/libcairomm.spec b/libcairomm.spec index aa937a9..b3a29e9 100644 --- a/libcairomm.spec +++ b/libcairomm.spec @@ -1,13 +1,14 @@ +%define majver %(echo %version | cut -d. -f1-2) Name: libcairomm -Version: 1.12.2 +Version: 1.16.0 Release: 1mamba Summary: A C++ wrapper for the cairo graphics library Group: System/Libraries Vendor: openmamba Distribution: openmamba Packager: Silvan Calarco -URL: http://www.cairographics.org/cairomm/ -Source: http://www.cairographics.org/releases/cairomm-%{version}.tar.gz +URL: https://www.cairographics.org/cairomm/ +Source: http://www.cairographics.org/releases/cairomm-%{version}.tar.xz License: LGPL ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -34,20 +35,22 @@ Requires: %{name} = %{?epoch:%epoch:}%{version}-%{release} %description devel cairomm is a C++ wrapper for the cairo graphics library. It offers all the power of cairo with an interface familiar to C++ developers, including use of the Standard Template Library where it makes sense. +This package contains static libraries and header files needed for development. -This package contains static libraries and header files need for development. +%debug_package %prep - %setup -q -n cairomm-%{version} %build -%configure -%make +%meson \ + -Dbuild-documentation=true + +%meson_build %install [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" -%makeinstall +%meson_install %clean [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" @@ -57,23 +60,27 @@ This package contains static libraries and header files need for development. %files %defattr(-,root,root) -%{_libdir}/libcairomm-1.0.so.* -%doc AUTHORS COPYING ChangeLog NEWS README +%{_libdir}/libcairomm-%{majver}.so.* +%doc AUTHORS COPYING %files devel %defattr(-,root,root) -#%{_libdir}/libcairomm-1.0.a -%{_libdir}/libcairomm-1.0.la -%{_libdir}/libcairomm-1.0.so -%{_libdir}/cairomm-1.0/include/cairommconfig.h -%dir %{_includedir}/cairomm-1.0/cairomm -%{_includedir}/cairomm-1.0/cairomm/*.h +%{_libdir}/libcairomm-%{majver}.so +%dir %{_libdir}/cairomm-%{majver} +%dir %{_libdir}/cairomm-%{majver}/include +%{_libdir}/cairomm-%{majver}/include/cairommconfig.h +%dir %{_includedir}/cairomm-%{majver}/cairomm +%{_includedir}/cairomm-%{majver}/cairomm/*.h %{_libdir}/pkgconfig/*.pc -%{_datadir}/devhelp/books/cairomm-1.0/cairomm-1.0.devhelp2 -%{_datadir}/doc/cairomm-1.0/reference/html/* -%{_docdir}/cairomm-1.0/reference/cairomm-1.0.tag +%{_datadir}/devhelp/books/cairomm-%{majver}/cairomm-%{majver}.devhelp2 +%{_datadir}/doc/cairomm-%{majver}/reference/html/* +%{_docdir}/cairomm-%{majver}/reference/cairomm-%{majver}.tag +%doc ChangeLog NEWS README %changelog +* Sun Feb 07 2021 Silvan Calarco 1.16.0-1mamba +- update to 1.16.0 + * Sun Feb 05 2017 Automatic Build System 1.12.2-1mamba - automatic version update by autodist