Minor style changes

This commit is contained in:
Benjamin A. Beasley 2021-02-10 18:43:49 -05:00
parent d5cb165fe6
commit 205505bc8d

View File

@ -1,5 +1,6 @@
%global apiver 1.0 %global apiver 1.0
# From configure.ac:
%global cairo_version 1.10.0 %global cairo_version 1.10.0
%global libsigc_version 2.5.1 %global libsigc_version 2.5.1
@ -11,7 +12,7 @@ Release: 14%{?dist}
URL: http://www.cairographics.org URL: http://www.cairographics.org
License: LGPLv2+ License: LGPLv2+
Source: http://www.cairographics.org/releases/%{name}-%{version}.tar.gz Source0: http://www.cairographics.org/releases/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++ BuildRequires: gcc-c++
BuildRequires: make BuildRequires: make
@ -26,26 +27,26 @@ 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}
%description %global common_description %{expand:
Cairomm is the C++ API for the cairo graphics library. It offers all the power 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 of cairo with an interface familiar to C++ developers, including use of the
Standard Template Library where it makes sense. Standard Template Library where it makes sense.}
%description %{common_description}
%package devel %package devel
Summary: Headers for developing programs that will use %{name} Summary: Headers for developing programs that will use %{name}
Requires: %{name}%{?_isa} = %{version}-%{release} Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel %description devel %{common_description}
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 This package contains the libraries and header files needed for developing
Standard Template Library where it makes sense. %{name} applications.
This package contains the libraries and header files needed for
developing %{name} applications.
%package doc %package doc
Summary: Developer's documentation for the cairomm library Summary: Developers documentation for the cairomm library
BuildArch: noarch BuildArch: noarch
Requires: %{name} = %{version}-%{release} Requires: %{name} = %{version}-%{release}
Requires: libsigc++20-doc Requires: libsigc++20-doc
@ -72,7 +73,7 @@ make %{?_smp_mflags}
%install %install
%make_install %make_install
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';' find %{buildroot} -type f -name '*.la' -exec rm -f {} ';'
%ldconfig_scriptlets %ldconfig_scriptlets