Sisyphus repositório
Última atualização: 1 fevereiro 2023 | SRPMs: 18157 | Visitas: 26606234
en ru br
ALT Linux repositórios
S:0.6.13-alt2
5.0: 0.6.1-alt1
4.1: 0.6.1-alt1
4.0: 0.6.1-alt1
3.0: 0.6.0-alt1

Group :: Sistema/Bibliotecas
RPM: libcroco

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

%define ver_major 0.6

Name: libcroco
Version: %ver_major.12
Release: alt1

Summary: A CSS2 parsing library
License: LGPL
Group: System/Libraries
Url: ftp://ftp.gnome.org

Source: ftp://ftp.gnome.org/pub/gnome/sources/%name/%ver_major/%name-%version.tar.xz

%define glib_ver 2.0
%define libxml2_ver 2.4.23

%def_with apidocs

Requires: glib2 >= %glib_ver
Requires: libxml2 >= %libxml2_ver

BuildPreReq: glib2-devel >= %glib_ver
BuildPreReq: libxml2-devel >= %libxml2_ver

BuildRequires: zlib-devel
%{?_with_apidocs:BuildRequires: gtk-doc doxygen}

%description
Libcroco is a standalone CSS2 parsing and manipulation library.

%package devel
Summary: Libraries and include files for developing with %name
Group: Development/C
Requires: %name = %version-%release
Requires: pkgconfig >= 0.8
Requires: glib2-devel >= %glib_ver
Requires: libxml2-devel >= %libxml2_ver

%description devel
This package provides the necessary development libraries and include
files to develop with %name.

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

%description devel-doc
This package contains development documentation for %name
%endif

%package -n css-utils
Summary: Command line CSS tools
Group: Text tools
Requires: %name = %version-%release

%description -n css-utils
This package provides csslint - program to parse CSS files. It is useful
for detecting errors both in CSS code and in the CSS parser itself.

%prep
%setup

%build
%configure --disable-static

%make_build
%{?_with_apidocs:%make_build apidoc}

%install
%makeinstall_std

%check
%make check

%files
%_libdir/*.so.*
%doc AUTHORS ChangeLog NEWS README TODO

%files devel
%_bindir/croco-%ver_major-config
%_includedir/*
%_libdir/*.so
%_libdir/pkgconfig/*
%if_with apidocs
%doc docs/{apis/html,examples}
%endif

%if_with apidocs
%files devel-doc
%_datadir/gtk-doc/html/%name/
%endif

%files -n css-utils
%_bindir/csslint-%ver_major

%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