Name: libt2n
 Description: talk2neighbor - C++ IPC library
 Version: @VERSION@
-Libs: -L${libdir} -lt2n
-Cflags: -I${includedir}
+Libs: -L${libdir} -lt2n @BOOST_LDFLAGS@ @BOOST_SERIALIZATION_LIB@
+Cflags: -I${includedir} @BOOST_CPPFLAGS@
 
 Source:    %{name}-%{version}.tar.gz
 Buildroot: /tmp/%{name}-%{version}-root
 Prefix:    /usr
+Requires:  boost >= 1.33
 BuildPrereq: libtool
 
 %description 
 Summary:   talk2neighbor - C++ IPC library
 Group:     Intranator/Development
 Requires:  libt2n = %{version} libgettext
+BuildPrereq: boost-devel
 
 %description devel
 C++ IPC library devel files
 
 /// a client sending out commands to a server
 class command_client
 {
+    protected:
+        static const long long command_timeout_usec_default=90000000;
+        static const long long hello_timeout_usec_default=30000000;
+
     private:
         client_connection &c;
 
         bool check_hello(const std::string& hellostr);
 
     public:
-        command_client(client_connection& _c, long long _command_timeout_usec=90000000, long long _hello_timeout_usec=30000000);
+        command_client(client_connection& _c,
+            long long _command_timeout_usec=command_timeout_usec_default,
+            long long _hello_timeout_usec=hello_timeout_usec_default);
 
         void send_command(command* cmd, result_container &res);
 };