Prepare for future upgrade to API/ABI version 1.16 by introducing virtual Provides for a name for API/ABI version 1.0: cairomm1.0.
This commit is contained in:
parent
a2b0401289
commit
9ee2ea9db0
18
cairomm.spec
18
cairomm.spec
@ -9,7 +9,7 @@
|
||||
Name: cairomm
|
||||
Summary: C++ API for the cairo graphics library
|
||||
Version: 1.14.2
|
||||
Release: 3%{?dist}
|
||||
Release: 4%{?dist}
|
||||
|
||||
URL: https://www.cairographics.org
|
||||
License: LGPLv2+
|
||||
@ -57,6 +57,12 @@ BuildRequires: pkgconfig(cairo-xlib-xrender)
|
||||
BuildRequires: pkgconfig(mm-common-libstdc++)
|
||||
BuildRequires: pkgconfig(sigc++-2.0)
|
||||
|
||||
# Prepare for future upgrade to API/ABI version 1.16 by introducing a name for
|
||||
# API/ABI version 1.0. Dependent packages using pkg-config will not need to
|
||||
# care; those that depend on this package by name, however, will need to be
|
||||
# updated to require the versioned name. This name is chosen in accordance with
|
||||
# https://docs.fedoraproject.org/en-US/packaging-guidelines/Naming/#multiple.
|
||||
Provides: %{name}%{apiver}%{_?isa} = %{version}-%{release}
|
||||
|
||||
%description
|
||||
This library provides a C++ interface to cairo.
|
||||
@ -66,6 +72,8 @@ This library provides a C++ interface to cairo.
|
||||
Summary: Development files for %{name}
|
||||
Requires: %{name}%{?_isa} = %{version}-%{release}
|
||||
|
||||
Provides: %{name}%{apiver}-devel%{_?isa} = %{version}-%{release}
|
||||
|
||||
%description devel
|
||||
The %{name}-devel package contains libraries and header files for developing
|
||||
applications that use %{name}.
|
||||
@ -77,6 +85,8 @@ BuildArch: noarch
|
||||
Requires: libstdc++-docs
|
||||
Requires: libsigc++20-doc
|
||||
|
||||
Provides: %{name}%{apiver}-doc = %{version}-%{release}
|
||||
|
||||
%description doc
|
||||
Documentation for %{name} can be viewed either through the devhelp
|
||||
documentation browser or through a web browser at
|
||||
@ -147,6 +157,12 @@ cp -rp examples %{buildroot}%{_datadir}/doc/%{name}-%{apiver}/
|
||||
|
||||
|
||||
%changelog
|
||||
* Thu Feb 11 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 1.14.2-4
|
||||
- Prepare for future upgrade to API/ABI version 1.16 by introducing virtual
|
||||
Provides for a name for API/ABI version 1.0: cairomm1.0. This will be the name
|
||||
of a future package that continues to provide API/ABI version 1.0 after the
|
||||
upgrade.
|
||||
|
||||
* Thu Feb 11 2021 Benjamin A. Beasley <code@musicinmybrain.net> - 1.14.2-3
|
||||
- Switch from autotools to meson; enable the tests, since the meson build system
|
||||
permits us to use a shared boost library
|
||||
|
Loading…
Reference in New Issue
Block a user