Summary: talk2neighbor - C++ IPC library Name: libt2n Version: @VERSION@ Release: 1 Copyright: LGPL Group: Intranator Vendor: Intra2net AG Source: %{name}-%{version}.tar.gz Buildroot: /tmp/%{name}-%{version}-root Prefix: /usr Requires: boost >= 1.33 BuildPrereq: libtool Obsoletes: libmcop %description C++ IPC library %package devel Summary: talk2neighbor - C++ IPC library Group: Intranator/Development Requires: libt2n = %{version} libgettext BuildPrereq: boost-devel %description devel C++ IPC library devel files %prep %setup -q %build cp -f /usr/share/libtool/ltmain.sh . autoreconf --force ./configure $RPM_BUILD_WITH_OPTIMIZE --prefix=%{prefix} --includedir=%{prefix}/include/%{name} dmake dmake check %install make DESTDIR=$RPM_BUILD_ROOT install %clean rm -fr $RPM_BUILD_ROOT %post /sbin/ldconfig %files %defattr(-,root,root) %doc LICENSE %{prefix}/lib/libt2n.so* %files devel %defattr(-,root,root) %{prefix}/lib/*.*a* %{prefix}/lib/pkgconfig/*.pc %{prefix}/include/