whitespace and ordering changes

This commit is contained in:
Benjamin A. Beasley 2021-02-10 18:42:39 -05:00
parent faed64da4a
commit d5cb165fe6

View File

@ -3,20 +3,25 @@
%global cairo_version 1.10.0
%global libsigc_version 2.5.1
Summary: C++ API for the cairo graphics library
Name: cairomm
Summary: C++ API for the cairo graphics library
Version: 1.12.0
Release: 14%{?dist}
URL: http://www.cairographics.org
License: LGPLv2+
Source: http://www.cairographics.org/releases/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++
BuildRequires: make
BuildRequires: pkgconfig
BuildRequires: cairo-devel >= %{cairo_version}
BuildRequires: libsigc++20-devel >= %{libsigc_version}
BuildRequires: perl-interpreter
BuildRequires: perl(Getopt::Long)
BuildRequires: pkgconfig
BuildRequires: make
Requires: cairo%{?_isa} >= %{cairo_version}
Requires: libsigc++20%{?_isa} >= %{libsigc_version}
@ -26,6 +31,7 @@ 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.
%package devel
Summary: Headers for developing programs that will use %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
@ -44,34 +50,40 @@ BuildArch: noarch
Requires: %{name} = %{version}-%{release}
Requires: libsigc++20-doc
%description doc
This package contains developer's documentation for the cairomm
library. Cairomm is the C++ API for the cairo graphics library.
%description doc %{common_description}
The documentation can be viewed either through the devhelp
documentation browser or through a web browser.
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 /usr/share/doc/cairomm-1.0.
If using a web browser the documentation is installed in the gtk-doc
hierarchy and can be found at /usr/share/doc/cairomm-1.0
%prep
%setup -q
%setup -q
%build
%configure --disable-static
make %{?_smp_mflags}
%install
%make_install
find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
%ldconfig_scriptlets
%files
%license COPYING
%doc AUTHORS README NEWS
%{_libdir}/lib*.so.*
%files devel
%doc ChangeLog
%{_includedir}/%{name}-%{apiver}
@ -79,10 +91,12 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
%{_libdir}/pkgconfig/*
%{_libdir}/%{name}-%{apiver}
%files doc
%doc %{_datadir}/doc/%{name}-%{apiver}/
%doc %{_datadir}/devhelp/
%changelog
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.12.0-14
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
@ -256,7 +270,7 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -exec rm -f {} ';'
* Sun Mar 5 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 0.5.0-10
- Removed duplicate Group tag in devel
- Disabled docs till they're fixed upstream
- Disabled docs till they're fixed upstream
* Sun Mar 5 2006 Rick L Vinyard Jr <rvinyard@cs.nmsu.edu> - 0.5.0-9
- Removed requires since BuildRequires is present