Group :: Desenvolvimento/C
RPM: lib2geom
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Name: lib2geom
Version: 20081103
Release: alt1
Summary: A robust computational geometry framework for Inkscape
License: LGPL
Group: Development/C
Url: http://lib2geom.sourceforge.net/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://inkscape.modevia.com/2geom/src/%name%version.tar.bz2
# Automatically added by buildreq on Mon Mar 31 2008
BuildRequires: boost-devel ccmake gcc-c++ libgsl-devel libgtk+2-devel
%description
lib2geom (2Geom in private life) was initially a library developed for
Inkscape but will provide a robust computational geometry framework for
any application. It is not a rendering library, instead concentrating
on high level algorithms such as computing arc length.
%package devel
Summary: Development files for %name
Group: Development/C
%description devel
This package contains development files required
in development of the %name-based applications.
%prep
%setup -q -n %name
# fix target lib dir
%__subst "s| lib| %_lib|g" src/2geom/CMakeLists.txt
%build
cmake \
-D 2GEOM_BUILD_SHARED=ON \
-D CMAKE_INSTALL_PREFIX=%_prefix \
-D MAKE_SKIP_RPATH:BOOL=OFF \
.
%make_build
%install
%makeinstall_std
%files
%doc HACKING.txt TODO
%_libdir/lib2geom.so.3.0
%files devel
%_includedir/2geom-0.3/
%_pkgconfigdir/*
%_libdir/lib2geom.so
%changelog
…
Todas as alterações você pod ver aqui
Version: 20081103
Release: alt1
Summary: A robust computational geometry framework for Inkscape
License: LGPL
Group: Development/C
Url: http://lib2geom.sourceforge.net/
Packager: Vitaly Lipatov <lav at altlinux.ru>
Source: http://inkscape.modevia.com/2geom/src/%name%version.tar.bz2
# Automatically added by buildreq on Mon Mar 31 2008
BuildRequires: boost-devel ccmake gcc-c++ libgsl-devel libgtk+2-devel
%description
lib2geom (2Geom in private life) was initially a library developed for
Inkscape but will provide a robust computational geometry framework for
any application. It is not a rendering library, instead concentrating
on high level algorithms such as computing arc length.
%package devel
Summary: Development files for %name
Group: Development/C
%description devel
This package contains development files required
in development of the %name-based applications.
%prep
%setup -q -n %name
# fix target lib dir
%__subst "s| lib| %_lib|g" src/2geom/CMakeLists.txt
%build
cmake \
-D 2GEOM_BUILD_SHARED=ON \
-D CMAKE_INSTALL_PREFIX=%_prefix \
-D MAKE_SKIP_RPATH:BOOL=OFF \
.
%make_build
%install
%makeinstall_std
%files
%doc HACKING.txt TODO
%_libdir/lib2geom.so.3.0
%files devel
%_includedir/2geom-0.3/
%_pkgconfigdir/*
%_libdir/lib2geom.so
%changelog
…
Todas as alterações você pod ver aqui