packages: muParser/muparser.spec (REMOVED), muparser/muparser.spec (NEW) - ...

blues blues at pld-linux.org
Mon Oct 5 22:02:34 CEST 2009


Author: blues                        Date: Mon Oct  5 20:02:34 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- move into proper dir

---- Files affected:
packages/muParser:
   muparser.spec (1.2 -> NONE)  (REMOVED)
packages/muparser:
   muparser.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/muparser/muparser.spec
diff -u /dev/null packages/muparser/muparser.spec:1.1
--- /dev/null	Mon Oct  5 22:02:34 2009
+++ packages/muparser/muparser.spec	Mon Oct  5 22:02:29 2009
@@ -0,0 +1,84 @@
+# $Revision$, $Date$
+Summary:	A fast math parser library
+Name:		muparser
+Version:	1.30
+Release:	1
+License:	MIT
+Group:		Development/Libraries
+Source0:	http://dl.sourceforge.net/muparser/%{name}_v130.tar.gz
+# Source0-md5:	f6b4d79aa0f762fd4bfeb38f47cf1d15
+URL:		http://muparser.sourceforge.net/
+BuildRequires:	dos2unix
+Buildroot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%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.
+
+%package devel
+Summary:	Development and doc files for %{name}
+Group:		Development/Libraries
+Requires:	%{name} = %{version}-%{release}
+Requires:	pkgconfig
+
+%description devel
+Development files and the documentation
+
+%prep
+%setup -q -n muparser
+
+%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} install \
+	libdir=$RPM_BUILD_ROOT%{_libdir} \
+	prefix=$RPM_BUILD_ROOT%{_prefix}
+
+%post -p /sbin/ldconfig
+%postun -p /sbin/ldconfig
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc Changes.txt Credits.txt License.txt
+%attr(755,root,root) %{_libdir}/libmuparser.so.0.0.0
+%attr(755,root,root) %ghost %{_libdir}/libmuparser.so.0
+
+%files devel
+%defattr(644,root,root,755)
+%doc html
+%{_libdir}/libmuparser.so
+%{_pkgconfigdir}/muparser.pc
+%{_includedir}/*
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2009/10/05 20:02:29  blues
+- move into proper dir
+
+Revision 1.2  2009/10/05 20:00:08  blues
+- 1.30
+
+Revision 1.1  2009/10/05 19:47:58  blues
+- rename
+
================================================================


More information about the pld-cvs-commit mailing list