Added libt2n-gccxml.sh wrapper script to filter new, unknown gccxml -pthread option
[libt2n] / libt2n.spec.in
index 8ed1ff2..2ee3df0 100644 (file)
@@ -2,14 +2,14 @@ Summary:   talk2neighbor - C++ IPC library
 Name:      libt2n
 Version:   @VERSION@
 Release:   1
-Copyright: GPL version 2 + linking exception
+License:   GPL version 2 + linking exception
 Group:     Intranator
 Vendor:    Intra2net AG
 Source:    http://www.intra2net.com/en/developer/libt2n/download/%{name}-%{version}.tar.gz
 Buildroot: /tmp/%{name}-%{version}-root
 Prefix:    /usr
 Requires:  boost >= 1.33
-BuildPrereq: libtool
+BuildPrereq: libtool cppunit-devel
 URL:       http://www.intra2net.com/en/developer/libt2n
 
 %description 
@@ -28,10 +28,9 @@ C++ IPC library devel files
 %setup -q
 
 %build
-cp -f /usr/share/libtool/ltmain.sh .
 autoreconf --force --install
 ./configure $RPM_BUILD_WITH_OPTIMIZE --prefix=%{prefix}
-make
+%__make %{?_smp_mflags}
 
 make check
 
@@ -53,6 +52,7 @@ rm -fr $RPM_BUILD_ROOT
 %doc ChangeLog doc examples examples-codegen 
 %defattr(-,root,root)
 %{prefix}/bin/libt2n-codegen
+%{prefix}/bin/libt2n-gccxml.sh
 %{prefix}/lib/*.*a*
 %{prefix}/lib/pkgconfig/*.pc
 %{prefix}/include/