Group :: Sistema/Bibliotecas
RPM: libcairomm
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
%define oname cairomm
Name: libcairomm
Version: 1.2.4
Release: alt1
Summary: This library provides a C++ interface to cairo
License: LGPL
Group: System/Libraries
Url: http://cairographics.org/cairomm
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://cairographics.org/releases/%oname-%version.tar.bz2
# Automatically added by buildreq on Sun Mar 05 2006
BuildRequires: fontconfig freetype2 gcc-c++ libX11-devel libcairo-devel libglitz-devel libstdc++-devel pkg-config xorg-x11-proto-devel
# for doc
BuildRequires: doxygen graphviz
%description
This library provides a C++ interface to cairo.
%package -n %name-devel
Summary: Headers and development files of %name library
Group: Development/GNOME and GTK+
Requires: %name = %version-%release
%description -n %name-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 -n %name-doc
Summary: %name documentation (html)
Group: Publishing
Requires: %name = %version-%release
%description -n %name-doc
%name documentation (html)
%prep
%setup -q -n %oname-%version
# fix bug
#%__subst 's|surface))|surface)|g' cairomm/surface.cc
%build
%configure --disable-static
%make
%install
%makeinstall
%post
%post_ldconfig
%postun
%post_ldconfig
%files
%doc AUTHORS README NEWS ChangeLog
%_libdir/*.so.*
%files -n %name-devel
%_includedir/%oname-1.0/
%_libdir/*.so
%_pkgconfigdir/*.pc
%files -n %name-doc
%_docdir/%name-1.0/
%changelog
…
Todas as alterações você pod ver aqui
Name: libcairomm
Version: 1.2.4
Release: alt1
Summary: This library provides a C++ interface to cairo
License: LGPL
Group: System/Libraries
Url: http://cairographics.org/cairomm
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://cairographics.org/releases/%oname-%version.tar.bz2
# Automatically added by buildreq on Sun Mar 05 2006
BuildRequires: fontconfig freetype2 gcc-c++ libX11-devel libcairo-devel libglitz-devel libstdc++-devel pkg-config xorg-x11-proto-devel
# for doc
BuildRequires: doxygen graphviz
%description
This library provides a C++ interface to cairo.
%package -n %name-devel
Summary: Headers and development files of %name library
Group: Development/GNOME and GTK+
Requires: %name = %version-%release
%description -n %name-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 -n %name-doc
Summary: %name documentation (html)
Group: Publishing
Requires: %name = %version-%release
%description -n %name-doc
%name documentation (html)
%prep
%setup -q -n %oname-%version
# fix bug
#%__subst 's|surface))|surface)|g' cairomm/surface.cc
%build
%configure --disable-static
%make
%install
%makeinstall
%post
%post_ldconfig
%postun
%post_ldconfig
%files
%doc AUTHORS README NEWS ChangeLog
%_libdir/*.so.*
%files -n %name-devel
%_includedir/%oname-1.0/
%_libdir/*.so
%_pkgconfigdir/*.pc
%files -n %name-doc
%_docdir/%name-1.0/
%changelog
…
Todas as alterações você pod ver aqui