Sisyphus repositório
Última atualização: 20 setembro 2019 | SRPMs: 17474 | Visitas: 15133124
en ru br
ALT Linux repositórios
S:1.12.2-alt1
5.0: 1.6.0-alt1
4.1: 1.6.0-alt1
4.0: 1.2.4-alt1

Group :: Sistema/Bibliotecas
RPM: libcairomm

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%def_disable snapshot

%define _name cairomm

%def_disable docs
%def_enable check

Name: lib%_name
Version: 1.12.2
Release: alt1

Summary: This library provides a C++ interface to cairo
License: LGPL
Group: System/Libraries
Url: https://cairographics.org/cairomm
Packager: GNOME Maintainers Team <gnome at packages.altlinux.org>

%if_disabled snapshot
Source: https://www.cairographics.org/releases/%_name-%version.tar.gz
%else
#VCS: git://git.cairographics.org/git/cairomm
Source: %_name-%version.tar
%endif

%define cairo_ver 1.10.0
%define sigc_ver 2.6.0

BuildRequires: gcc-c++ mm-common
BuildRequires: libcairo-devel >= %cairo_ver libsigc++2.0-devel >= %sigc_ver
%{?_enable_docs:BuildRequires: doxygen graphviz xsltproc}

%description
This library provides a C++ interface to cairo.

%package devel
Summary: Headers and development files of %name library
Group: Development/GNOME and GTK+
Requires: %name = %version-%release

%description devel
This package contains the headers and various development files needed
for compiling or development of applications that wants C++ interface
of %name library.

%package devel-doc
Summary: Development documentation for %name
Group: Development/Documentation
BuildArch: noarch
Conflicts: %name < %version

%description devel-doc
This package contains documentation needed for developing %_name applications.

%prep
%setup -n %_name-%version

%build
%{?_enable_snapshot:mm-common-prepare --force --copy}
%autoreconf
%configure \
--disable-static \
%{?_disable_docs:--disable-documentation} \
%{?_enable_snapshot:--enable-maintainer-mode}
%make_build

%install
%makeinstall_std

%check
%make check

%files
%doc AUTHORS NEWS
%_libdir/*.so.*

%files devel
%_includedir/cairomm-1.0
%_libdir/cairomm-1.0
%_libdir/*.so
%_pkgconfigdir/*.pc

%if_enabled docs
%files devel-doc
%_datadir/devhelp/books/%_name-%api_ver/
%_datadir/doc/%_name-%api_ver/
%endif

%changelog

Todas as alterações você pod ver aqui

 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009