Group :: Sistema/Bibliotecas
RPM: libyaml
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define abiversion 2
%def_with doc
Name: libyaml
Version: 0.2.5
Release: alt1
Summary: A C library for parsing and emitting YAML
License: MIT/X11
Group: System/Libraries
Url: http://pyyaml.org/wiki/LibYAML
Packager: Vitaly Lipatov <lav at altlinux.ru>
# Source-url: http://pyyaml.org/download/libyaml/yaml-%version.tar.gz
Source: %name-%version.tar
# Automatically added by buildreq on Sat Oct 02 2010
%if_with doc
BuildRequires: doxygen
%endif
%description
YAML 1.1 parser and emitter written in C.
%package -n %name%abiversion
Summary: A C library for parsing and emitting YAML
Group: System/Libraries
%description -n %name%abiversion
YAML 1.1 parser and emitter written in C.
%package devel
Summary: Header files for the yaml library
Group: Development/C
Requires: %name%abiversion = %version-%release
%description devel
Header files for the yaml library.
%prep
%setup
%build
%autoreconf
%configure --disable-static
%make_build
%if_with doc
top_srcdir=`pwd` top_builddir=`pwd` doxygen doc/doxygen.cfg
%endif
%install
%makeinstall_std
%files -n %name%abiversion
%doc ReadMe.md
%_libdir/lib*.so.*
%files devel
%if_with doc
%doc doc/html
%endif
%_libdir/lib*.so
%_includedir/*.h
%_pkgconfigdir/*
%changelog
…
Todas as alterações você pod ver aqui
%def_with doc
Name: libyaml
Version: 0.2.5
Release: alt1
Summary: A C library for parsing and emitting YAML
License: MIT/X11
Group: System/Libraries
Url: http://pyyaml.org/wiki/LibYAML
Packager: Vitaly Lipatov <lav at altlinux.ru>
# Source-url: http://pyyaml.org/download/libyaml/yaml-%version.tar.gz
Source: %name-%version.tar
# Automatically added by buildreq on Sat Oct 02 2010
%if_with doc
BuildRequires: doxygen
%endif
%description
YAML 1.1 parser and emitter written in C.
%package -n %name%abiversion
Summary: A C library for parsing and emitting YAML
Group: System/Libraries
%description -n %name%abiversion
YAML 1.1 parser and emitter written in C.
%package devel
Summary: Header files for the yaml library
Group: Development/C
Requires: %name%abiversion = %version-%release
%description devel
Header files for the yaml library.
%prep
%setup
%build
%autoreconf
%configure --disable-static
%make_build
%if_with doc
top_srcdir=`pwd` top_builddir=`pwd` doxygen doc/doxygen.cfg
%endif
%install
%makeinstall_std
%files -n %name%abiversion
%doc ReadMe.md
%_libdir/lib*.so.*
%files devel
%if_with doc
%doc doc/html
%endif
%_libdir/lib*.so
%_includedir/*.h
%_pkgconfigdir/*
%changelog
…
Todas as alterações você pod ver aqui