packages: muParser/muParser-gcc43.patch (NEW), muParser/muParser.spec (NEW)...

blues blues at pld-linux.org
Mon Oct 5 21:36:36 CEST 2009


Author: blues                        Date: Mon Oct  5 19:36:36 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- raw from FC

---- Files affected:
packages/muParser:
   muParser-gcc43.patch (NONE -> 1.1)  (NEW), muParser.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/muParser/muParser-gcc43.patch
diff -u /dev/null packages/muParser/muParser-gcc43.patch:1.1
--- /dev/null	Mon Oct  5 21:36:36 2009
+++ packages/muParser/muParser-gcc43.patch	Mon Oct  5 21:36:30 2009
@@ -0,0 +1,22 @@
+diff -up muparser/include/muParserTest.h.gcc43 muparser/include/muParserTest.h
+--- muparser/include/muParserTest.h.gcc43	2008-04-08 17:54:02.000000000 -0400
++++ muparser/include/muParserTest.h	2008-04-08 17:54:18.000000000 -0400
+@@ -26,6 +26,7 @@
+ #ifndef MU_PARSER_TEST_H
+ #define MU_PARSER_TEST_H
+ 
++#include <cstdlib>
+ #include <string>
+ #include <numeric> // for accumulate
+ #include "muParser.h"
+diff -up muparser/src/muParserTest.cpp.gcc43 muparser/src/muParserTest.cpp
+--- muparser/src/muParserTest.cpp.gcc43	2008-04-08 17:52:56.000000000 -0400
++++ muparser/src/muParserTest.cpp	2008-04-08 17:53:53.000000000 -0400
+@@ -25,6 +25,7 @@
+ 
+ #include "muParserTest.h"
+ 
++#include <cstdlib>
+ #include <cstdio>
+ #include <cmath>
+ #include <iostream>

================================================================
Index: packages/muParser/muParser.spec
diff -u /dev/null packages/muParser/muParser.spec:1.1
--- /dev/null	Mon Oct  5 21:36:36 2009
+++ packages/muParser/muParser.spec	Mon Oct  5 21:36:30 2009
@@ -0,0 +1,91 @@
+Name:		muParser
+Summary:	A fast math parser library
+Version:	1.28
+Release:	4%{?dist}
+BuildRequires:	dos2unix
+URL:		http://muparser.sourceforge.net
+License:	MIT
+Group:          Development/Libraries
+Source:		http://puzzle.dl.sourceforge.net/sourceforge/muparser/muparser_v128.tar.gz		
+#Patch0:		muParser-244309.patch	
+Patch1:		muParser-1.28-gcc43.patch
+Buildroot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+%package devel
+Summary:        Development and doc files for {%name}
+Requires:       %{name} = %{version}-%{release} pkgconfig
+Group:          Development/Libraries
+
+%description
+Many applications require the parsing of mathematical expressions.
+The main objective of this project is to provide a fast and easy way
+of doing this. muParser is an extensible high performance math parser
+library. It is based on transforming an expression into a bytecode
+and precalculating constant parts of it.
+
+%description devel
+Development files and the documentation
+
+%prep
+%setup -q -n muparser
+#%patch0 -p1
+%patch1 -p1
+
+%build
+%configure --enable-shared=yes --enable-debug=no --enable-samples=no
+make CXXFLAGS="$RPM_OPT_FLAGS" %{?_smp_mflags}
+mv docs/html .
+dos2unix *.txt
+dos2unix html/sources/*
+dos2unix html/script/*
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make libdir=$RPM_BUILD_ROOT%{_libdir} prefix=$RPM_BUILD_ROOT/usr install
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%doc Changes.txt
+%doc Credits.txt
+%doc License.txt
+%{_libdir}/libmuparser.so.0
+%{_libdir}/libmuparser.so.0.0.0
+
+%files devel
+%{_includedir}/*
+%doc html
+%{_libdir}/libmuparser.so
+%{_libdir}/pkgconfig/muparser.pc
+
+%changelog
+* Tue Apr 08 2008 Jesse Keating <jkeating at redhat.com> - 1.28-4
+- Fix the gcc4.3 errors.
+
+* Mon Feb 18 2008 Fedora Release Engineering <rel-eng at fedoraproject.org> - 1.28-3
+- Autorebuild for GCC 4.3
+
+* Tue Aug 28 2007 Fedora Release Engineering <rel-eng at fedoraproject dot org> - 1.28-2
+- Rebuild for selinux ppc32 issue.
+
+* Sat Jul 14 2007 Frank Büttner <frank-buettner at gmx.net> - 1.28-1
+ - update to 1.28
+* Fri Jun 15 2007 Frank Büttner <frank-buettner at gmx.net> - 1.27-5%{?dist}
+ - fix bug #244309
+* Fri Jun 08 2007 Frank Büttner <frank-buettner at gmx.net> - 1.27-4%{?dist}
+ - fix depend on pkgconfig
+* Wed Jun 06 2007 Frank Büttner <frank-buettner at gmx.net> - 1.27-3%{?dist}
+ - clean build root before run install part
+ - fix missing pkconfig file
+* Thu May 17 2007 Frank Büttner <frank-buettner at gmx.net> - 1.27-2%{?dist}
+  - fix missing post -p /sbin/ldconfig
+  - fix the double doc files
+  - fix missing compiler flags
+  - fix wrong file encoding of the doc files
+* Wed May 16 2007 Frank Büttner <frank-buettner at gmx.net> - 1.27-1%{?dist}
+  - start
================================================================


More information about the pld-cvs-commit mailing list