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: cairo%{?_isa} >= %{cairo_version}
Requires: libsigc++20%{?_isa} >= %{libsigc_version} Requires: libsigc++20%{?_isa} >= %{libsigc_version}
%global common_description %{expand: %description
Cairomm is the C++ API for the cairo graphics library. It offers all the power This library provides a C++ interface to cairo.
of cairo with an interface familiar to C++ developers, including use of the
Standard Template Library where it makes sense.}
%description %{common_description}
%package devel %package devel
Summary: Headers for developing programs that will use %{name} Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel %{common_description} %description devel
The %{name}-devel package contains libraries and header files for developing
This package contains the libraries and header files needed for developing applications that use %{name}.
%{name} applications.
%package doc %package doc
Summary: Developers documentation for the cairomm library Summary: Documentation for %{name}
BuildArch: noarch BuildArch: noarch
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: libsigc++20-doc Requires: libsigc++20-doc
%description doc %{common_description} %description doc
Documentation for %{name} can be viewed either through the devhelp
This package contains developers documentation for the %{name} library. documentation browser or through a web browser at
%{_datadir}/doc/%{name}-%{apiver}/.
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}/.
%prep %prep