[CGAL] New upstream release CGAL-3.8-beta1
Laurent Rineau
rineau at fedoraproject.org
Tue Mar 15 10:45:10 UTC 2011
commit 3c333187124aef931bfbf469bd246ecf048b01ad
Author: Laurent Rineau <git>
Date: Tue Mar 15 11:43:36 2011 +0100
New upstream release CGAL-3.8-beta1
- This is a beta release. Final release is schedule end of March 2011.
- Use macros to define the alphatag (if any), the soname/soversion (checked
in %files), and the number of the download at gforge.inria.fr
.gitignore | 1 +
CGAL.spec | 40 +++++++++++++++++++++++++---------------
sources | 2 +-
3 files changed, 27 insertions(+), 16 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index b85a3bf..c4ccd40 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
CGAL-3.6.1.tar.xz
+/CGAL-3.8-beta1.tar.xz
diff --git a/CGAL.spec b/CGAL.spec
index 8ec41a5..a600cc6 100644
--- a/CGAL.spec
+++ b/CGAL.spec
@@ -1,15 +1,23 @@
-%define boost_version 1.34
-%define qt_version 4.2
+# Min dependencies
+%global boost_version 1.34
+%global qt_version 4.2
+
+# Various variables that defines the release
+%global soname 7
+%global soversion 7.0.0
+%global alphatag beta1
+%global alphaname -beta1
+%global gforgedlnumber 28374
Name: CGAL
-Version: 3.6.1
-Release: 4%{?dist}
+Version: 3.8
+Release: 0%{?dist}.1.beta1
Summary: Computational Geometry Algorithms Library
Group: System Environment/Libraries
License: QPL and LGPLv2 and LGPLv2+
URL: http://www.cgal.org/
-Source0: https://gforge.inria.fr/frs/download.php/27224/CGAL-3.6.1.tar.xz
+Source0: https://gforge.inria.fr/frs/download.php/%{gforgedlnumber}/%{name}-%{version}%{alphaname}.tar.xz
Source10: CGAL-README.Fedora
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -57,22 +65,19 @@ CGAL algorithms.
%prep
-%setup -q
+%setup -q -n %{name}-%{version}%{alphaname}
# Fix some file permissions
-chmod a-x examples/Boolean_set_operations_2/amer_*.bps
-chmod a-x examples/Boolean_set_operations_2/bezier_traits_adapter2.cpp
-chmod a-x demo/Segment_Delaunay_graph_2/include/CGAL/Constraints_loader.h
+chmod a-x demo/Stream_lines_2/CMakeLists.txt
+chmod a-x demo/Alpha_shapes_2/about_Alpha_shapes_2.html
+chmod a-x demo/Snap_rounding_2/CMakeLists.txt
+chmod a-x demo/Spatial_searching_2/NearestNeighbor.h
# Install README.Fedora here, to include it in %%doc
install -p -m 644 %{SOURCE10} ./README.Fedora
%build
-if [ "%{version}" = "3.6.1" ]; then
- CHANGE_SOVERSION="-DCGAL_SOVERSION:STRING=5.0.1"
-fi
-
mkdir build
pushd build
%cmake -DCGAL_INSTALL_LIB_DIR=%{_lib} ${CHANGE_SOVERSION} ..
@@ -107,8 +112,8 @@ rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc AUTHORS LICENSE LICENSE.FREE_USE LICENSE.LGPL LICENSE.QPL CHANGES README.Fedora
-%{_libdir}/libCGAL*.so.5
-%{_libdir}/libCGAL*.so.5.0.1
+%{_libdir}/libCGAL*.so.%{soname}
+%{_libdir}/libCGAL*.so.%{soversion}
%files devel
@@ -130,6 +135,11 @@ rm -rf %{buildroot}
%exclude %{_datadir}/CGAL/*/*/skip_vcproj_auto_generation
%changelog
+* Tue Mar 15 2011 Laurent Rineau <Laurent.Rineau__fedora at normalesup.org> - 3.8-0.1.beta1
+- New upstream release. This is a beta release. Final release is schedule end of March 2011.
+- Use macros to define the alphatag (if any), the soname/soversion (checked
+ in %%files), and the number of the download at gforge.inria.fr
+
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.6.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
diff --git a/sources b/sources
index de7eec6..6edda70 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-3ed551a5ff6797882e512c16ed24d2f6 CGAL-3.6.1.tar.xz
+a1acb307d08288a3393cc1997446ed3a CGAL-3.8-beta1.tar.xz
More information about the scm-commits
mailing list