Name: libt2n
Version: @VERSION@
Release: 1
-Copyright: LGPL
+License: GPL version 2 + linking exception
Group: Intranator
Vendor: Intra2net AG
-Source: %{name}-%{version}.tar.gz
+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
-Obsoletes: libmcop libdbus2cpp
+URL: http://www.intra2net.com/en/developer/libt2n
%description
C++ IPC library
%package devel
Summary: talk2neighbor - C++ IPC library
Group: Intranator/Development
-Requires: libt2n = %{version} libgettext gccxml libxml++
+Requires: libt2n = %{version} libgettext gccxml libxml++ boost-devel
BuildPrereq: boost-devel
%description devel
%setup -q
%build
-cp -f /usr/share/libtool/ltmain.sh .
autoreconf --force --install
./configure $RPM_BUILD_WITH_OPTIMIZE --prefix=%{prefix}
-make
+%__make %{?_smp_mflags}
+export BOOST_TEST_LOG_LEVEL=test_suite
make check
%install
%files
%defattr(-,root,root)
-%doc AUTHORS README COPYING.LIB COPYING
+%doc AUTHORS README LICENSE COPYING.GPL
%{prefix}/lib/libt2n.so*
%files devel
%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/