Author: hobbes1069
Update of /cvs/nonfree/rpms/smesh/F-17
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv4126
Modified Files:
smesh.spec
Log Message:
* Mon Oct 22 2012 Richard Shaw <hobbes1069(a)gmail.com> - 5.1.2.2-5.svn54
- Remove build requirement for fortran (f2c).
- Initial packaging for EPEL 6.
Index: smesh.spec
===================================================================
RCS file: /cvs/nonfree/rpms/smesh/F-17/smesh.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- smesh.spec 7 Mar 2012 23:13:52 -0000 1.2
+++ smesh.spec 22 Oct 2012 20:34:51 -0000 1.3
@@ -1,6 +1,11 @@
+# Use a newer version of cmake on EL.
+%if 0%{?rhel}
+%global cmake %cmake28
+%endif
+
Name: smesh
Version: 5.1.2.2
-Release: 3.svn54%{?dist}
+Release: 5.svn54%{?dist}
Summary: OpenCascade based MESH framework
# This library is LGPLv2+ but links against the non-free library OCE.
@@ -15,18 +20,28 @@
# on 12/21/11.
Patch0: smesh.patch
Patch1: smesh-cmake_fixes.patch
+Patch2: smesh-5.1.2.2-rm_f2c.patch
-BuildRequires: cmake doxygen
+%if 0%{?rhel}
+BuildRequires: cmake28
+%else
+BuildRequires: cmake
+%endif
+BuildRequires: doxygen graphviz
BuildRequires: OCE-devel
BuildRequires: boost-devel
BuildRequires: gcc-gfortran
-BuildRequires: f2c
+# Do we need this?
+#BuildRequires: f2c f2c-devel
BuildRequires: dos2unix
%description
A complete OpenCascade based MESH framework.
+NOTE: Fortran support (f2c) has been disabled. If it is needed please open a
+bug against the smesh component at:
http://bugzilla.rpmfusion.org
+
%package doc
Summary: Development documentation for %{name}
@@ -49,6 +64,7 @@
%setup -q -c %{name}-%{version}
%patch0 -p1
%patch1 -p1 -b .cmakefix
+%patch2 -p1 -b .f2c
dos2unix -k LICENCE.lgpl.txt
@@ -92,6 +108,13 @@
%changelog
+* Mon Oct 22 2012 Richard Shaw <hobbes1069(a)gmail.com> - 5.1.2.2-5.svn54
+- Remove build requirement for fortran (f2c).
+- Initial packaging for EPEL 6.
+
+* Wed Sep 26 2012 Richard Shaw <hobbes1069(a)gmail.com> - 5.1.2.2-4.svn54
+- Rebuild due to package not being signed in F-18 repo.
+
* Thu Mar 08 2012 Nicolas Chauvet <kwizart(a)gmail.com> - 5.1.2.2-3.svn54
- Rebuilt for c++ ABI breakage