Simplified summaries and descriptions

This commit is contained in:
Benjamin A. Beasley 2021-02-10 18:53:15 -05:00
parent 0c13cde43f
commit 4b007a6a3d

View File

@ -27,39 +27,29 @@ BuildRequires: perl(Getopt::Long)
Requires: cairo%{?_isa} >= %{cairo_version}
Requires: libsigc++20%{?_isa} >= %{libsigc_version}
%global common_description %{expand:
Cairomm is the C++ API 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.}
%description %{common_description}
%description
This library provides a C++ interface to cairo.
%package devel
Summary: Headers for developing programs that will use %{name}
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel %{common_description}
This package contains the libraries and header files needed for developing
%{name} applications.
%description devel
The %{name}-devel package contains libraries and header files for developing
applications that use %{name}.
%package doc
Summary: Developers documentation for the cairomm library
Summary: Documentation for %{name}
BuildArch: noarch
Requires: %{name} = %{version}-%{release}
Requires: libsigc++20-doc
%description doc %{common_description}
This package contains developers documentation for the %{name} library.
The documentation can be viewed either through the devhelp documentation
browser or through a web browser.
If using a web browser the documentation is installed in the gtk-doc hierarchy
and can be found at %{_datadir}/doc/%{name}-%{apiver}/.
%description doc
Documentation for %{name} can be viewed either through the devhelp
documentation browser or through a web browser at
%{_datadir}/doc/%{name}-%{apiver}/.
%prep