packages: muparser/muparser.spec - updated to 2.2.0 (note: new soname)

qboosh qboosh at pld-linux.org
Sun Jan 29 16:40:42 CET 2012


Author: qboosh                       Date: Sun Jan 29 15:40:42 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- updated to 2.2.0 (note: new soname)

---- Files affected:
packages/muparser:
   muparser.spec (1.4 -> 1.5) 

---- Diffs:

================================================================
Index: packages/muparser/muparser.spec
diff -u packages/muparser/muparser.spec:1.4 packages/muparser/muparser.spec:1.5
--- packages/muparser/muparser.spec:1.4	Sun Jan 29 13:33:33 2012
+++ packages/muparser/muparser.spec	Sun Jan 29 16:40:37 2012
@@ -2,14 +2,16 @@
 Summary:	A fast math parser library
 Summary(pl.UTF-8):	Biblioteka szybkiego analizatora matematycznego
 Name:		muparser
-Version:	1.30
+Version:	2.2.0
 Release:	1
 License:	MIT
 Group:		Libraries
-Source0:	http://downloads.sourceforge.net/muparser/%{name}_v130.tar.gz
-# Source0-md5:	f6b4d79aa0f762fd4bfeb38f47cf1d15
+Source0:	http://downloads.sourceforge.net/muparser/%{name}_v2_2_0.zip
+# Source0-md5:	27024148b389b98f1821252a7ba87b19
 URL:		http://muparser.sourceforge.net/
 BuildRequires:	dos2unix
+BuildRequires:	libstdc++-devel
+BuildRequires:	unzip
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -31,6 +33,7 @@
 Summary(pl.UTF-8):	Pliki programistyczne i dokumentacja do biblioteki muParser
 Group:		Development/Libraries
 Requires:	%{name} = %{version}-%{release}
+Requires:	libstdc++-devel
 
 %description devel
 Development and doc files for muParser library.
@@ -39,26 +42,23 @@
 Pliki programistyczne i dokumentacja do biblioteki muParser.
 
 %prep
-%setup -q -n muparser
+%setup -q -n muparser_v2_2_0
 
 %build
 %configure \
-	--enable-shared=yes \
-	--enable-debug=no \
-	--enable-samples=no \
+	--disable-debug \
+	--disable-samples \
+	--enable-shared
 
 %{__make} \
-	CXXFLAGS="%{rpmcflags}"
-mv docs/html .
-dos2unix *.txt
-dos2unix html/sources/*
-dos2unix html/script/*
+	CPPFLAGS="%{rpmcppflags}" \
+	CXXFLAGS="%{rpmcxxflags}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
+
 %{__make} install \
-	libdir=$RPM_BUILD_ROOT%{_libdir} \
-	prefix=$RPM_BUILD_ROOT%{_prefix}
+	DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -68,15 +68,15 @@
 
 %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
+%doc Changes.txt License.txt
+%attr(755,root,root) %{_libdir}/libmuparser.so.*.*.*
+%attr(755,root,root) %ghost %{_libdir}/libmuparser.so.2
 
 %files devel
 %defattr(644,root,root,755)
-%doc html
+%doc docs/html/*
 %attr(755,root,root) %{_libdir}/libmuparser.so
-%{_includedir}/*
+%{_includedir}/muParser*.h
 %{_pkgconfigdir}/muparser.pc
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
@@ -85,6 +85,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.5  2012/01/29 15:40:37  qboosh
+- updated to 2.2.0 (note: new soname)
+
 Revision 1.4  2012/01/29 12:33:33  qboosh
 - pl, unified
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/muparser/muparser.spec?r1=1.4&r2=1.5&f=u



More information about the pld-cvs-commit mailing list