Summary: OpenSLP implementation of Service Location Protocol V2 Summary(de): Open source Implementierung des Service Location Protocols V2 Summary(es): Implementación open source del Service Location Protocol V2 Summary(fr): Implémentation Open Source du Service Location Protocol V2 Summary(it): Implementazione open source del Service Location Protocol V2 Summary(pl): Otwarta implementacja Service Location Protocol V2 Summary(pt): Implementação 'open source' do protocolo Service Location Protocol V2 Name: openslp Version: 1.2.0 Release: 1 License: LGPL Group: Networking/Daemons Source0: http://dl.sourceforge.net/openslp/%{name}-%{version}.tar.gz # Source0-md5: b101a73c11d759c6d7a48483f887fae7 Source1: %{name}.init Patch0: %{name}-opt.patch Patch1: %{name}-fix.patch URL: http://www.openslp.org/ BuildRequires: autoconf BuildRequires: automake BuildRequires: libtool BuildRequires: openssl-devel >= 0.9.7d BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) Obsoletes: libopenslp1 %define _sysconfdir /etc/openslp %description Service Location Protocol is an IETF standards track protocol that provides a framework to allow networking applications to discover the existence, location, and configuration of networked services in enterprise networks. OpenSLP is an open source implementation of the SLPv2 protocol as defined by RFC 2608 and RFC 2614. This package includes libraries. %description -l de Das Service Location Protocol ist ein IETF standard Protokoll welches ein Gerüst bereitstellt um es Netzwerk-fähigen Anwendungen zu ermöglichen die Existenz, den Ort und die Konfiguration von Netzwerkdiensten in Unternehmensnetzwerken zu entdecken. %description -l es El Protocolo de Localización de Servicios es un protocolo de seguimiento acorde al estándar IETF que proporciona un entorno para permitir a las aplicaciones de red descubrir la existencia, localización y configuración de servicios de red en redes empresariales. %description -l fr Service Location Protocol est un protocole de suivi des normes IETF qui fournit un cadre permettant à des applications réseau de découvrir l'existence, l'emplacement et la configuration de services de réseau dans les réseaux d'entreprise. %description -l it Il Service Location Protocol (protocollo di localizzazione di servizi) è un protocollo standard IETF che fornisce un'infrastruttura per permettere alle applicazioni di rete di scoprire l'esistenza, la localizzazione e la configurazione dei servizi nelle reti delle aziende. %description -l pl Service Location Protocol jest zgodnym ze standardem IETF protoko³em pozwalaj±cym aplikacjom sieciowym na badanie istnienia, po³o¿enia i konfiguracji us³ug sieciowych. OpenSLP jest otwart± implementacj± protoko³u SLPv2 zdefiniowanego w RFC 2608 i RFC 2614. Ten pakiet zawiera biblioteki. %description -l pt O Service Location Protocol é um protocolo normalizado pelo IETF que oferece uma plataforma para permitir às aplicações de rede que descubram a existência, localização e a configuração dos serviços de rede nas redes duma empresa. %package server Summary: OpenSLP server working as SA and DA Summary(pl): Serwer OpenSLP dzia³aj±cy jako SA i DA Group: Networking/Daemons PreReq: rc-scripts Requires(post,preun): /sbin/chkconfig Requires: %{name} = %{version}-%{release} %description server Service Location Protocol is an IETF standards track protocol that provides a framework to allow networking applications to discover the existence, location, and configuration of networked services in enterprise networks. OpenSLP is an open source implementation of the SLPv2 protocol as defined by RFC 2608 and RFC 2614. This package includes the daemon. %description server -l pl Service Location Protocol jest zgodnym ze standardem IETF protoko³em pozwalaj±cym aplikacjom sieciowym na badanie istnienia, po³o¿enia i konfiguracji us³ug sieciowych. OpenSLP jest otwart± implementacj± protoko³u SLPv2 zdefiniowanego w RFC 2608 i RFC 2614. Ten pakiet zawiera demona. %package devel Summary: OpenSLP development files Summary(pl): Czê¶æ OpenSLP dla programistów Group: Development/Libraries Requires: %{name} = %{version}-%{release} Requires: openssl-devel >= 0.9.7c Obsoletes: libopenslp1-devel %description devel OpenSLP development files. %description devel -l pl Pliki nag³ówkowe OpenSLP. %package static Summary: OpenSLP static libraries Summary(pl): Biblioteki statyczne OpenSLP Group: Development/Libraries Requires: %{name}-devel = %{version}-%{release} %description static OpenSLP static libraries. %description static -l pl Biblioteki statyczne OpenSLP. %prep %setup -q %patch0 -p1 %patch1 -p1 %build %{__libtoolize} %{__aclocal} %{__autoconf} %{__automake} %configure \ --enable-slpv1 \ --enable-slpv2-security \ --disable-predicates %{__make} %install rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig} %{__make} install \ DESTDIR=$RPM_BUILD_ROOT install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/slpd %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %post server /sbin/chkconfig --add slpd if [ -r /var/lock/subsys/slpd ]; then /etc/rc.d/init.d/slpd restart >&2 else echo "Run \"/etc/rc.d/init.d/slpd start\" to start OpenSLP server." fi %preun server if [ "$1" = "0" ]; then if [ -f /var/lock/subsys/slpd ]; then /etc/rc.d/init.d/slpd stop fi /sbin/chkconfig --del slpd fi %files %defattr(644,root,root,755) %doc AUTHORS NEWS README %dir %{_sysconfdir} %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/slp.conf %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/slp.reg %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/slp.spi %attr(755,root,root) %{_bindir}/* %attr(755,root,root) %{_libdir}/lib*.so.*.* %files server %defattr(644,root,root,755) %attr(754,root,root) /etc/rc.d/init.d/slpd %attr(755,root,root) %{_sbindir}/slpd %files devel %defattr(644,root,root,755) %doc doc/* %{_includedir}/* %attr(755,root,root) %{_libdir}/lib*.so %{_libdir}/lib*.la %files static %defattr(644,root,root,755) %{_libdir}/lib*.a