1 Summary: OpenSLP implementation of Service Location Protocol V2
6 Group: Networking/Daemons
7 Group(de): Netzwerkwesen/Server
8 Group(pl): Sieciowe/Serwery
9 Source0: http://prdownloads.sourceforge.net/openslp/%{name}-%{version}.tar.gz
11 Patch0: %{name}-ac25x.patch
12 URL: http://www.openslp.org/
13 BuildRequires: autoconf
14 BuildRequires: automake
15 BuildRequires: libtool
17 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
19 %define _sysconfdir /etc/openslp
22 Service Location Protocol is an IETF standards track protocol that
23 provides a framework to allow networking applications to discover the
24 existence, location, and configuration of networked services in
27 OpenSLP is an open source implementation of the SLPv2 protocol as
28 defined by RFC 2608 and RFC 2614. This package include the daemon,
29 libraries, header files and documentation
32 Summary: OpenSLP develpment files
33 Group: Development/Libraries
34 Group(de): Entwicklung/Libraries
35 Group(es): Desarrollo/Bibliotecas
36 Group(fr): Development/Librairies
37 Group(pl): Programowanie/Biblioteki
38 Group(pt_BR): Desenvolvimento/Bibliotecas
39 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
40 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
41 Requires: %{name} = %{version}
44 OpenSLP develpment files.
47 Summary: OpenSLP staic libraries
48 Group: Development/Libraries
49 Group(de): Entwicklung/Libraries
50 Group(es): Desarrollo/Bibliotecas
51 Group(fr): Development/Librairies
52 Group(pl): Programowanie/Biblioteki
53 Group(pt_BR): Desenvolvimento/Bibliotecas
54 Group(ru): òÁÚÒÁÂÏÔËÁ/âÉÂÌÉÏÔÅËÉ
55 Group(uk): òÏÚÒÏÂËÁ/â¦Â̦ÏÔÅËÉ
56 Requires: %{name}-devel = %{version}
59 OpenSLP staic libraries.
67 libtoolize --copy --force
73 --enable-slpv2-security \
79 rm -rf $RPM_BUILD_ROOT
80 install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig}
83 DESTDIR=$RPM_BUILD_ROOT
85 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/slpd
87 gzip -9nf AUTHORS NEWS README doc/rfc/*txt
91 /sbin/chkconfig --add slpd
93 if [ -r /var/lock/subsys/slpd ]; then
94 /etc/rc.d/init.d/slpd restart >&2
96 echo "Run \"/etc/rc.d/init.d/slpd start\" to start OpenSLP server."
101 if [ "$1" = "0" ]; then
102 if [ -f /var/lock/subsys/slpd ]; then
103 /etc/rc.d/init.d/slpd stop
105 /sbin/chkconfig --del slpd
108 %postun -p /sbin/ldconfig
111 rm -rf $RPM_BUILD_ROOT
114 %defattr(644,root,root,755)
116 %config %{_sysconfdir}/slp.conf
117 %config %{_sysconfdir}/slp.reg
118 %config %{_sysconfdir}/slp.spi
119 %attr(754,root,root) /etc/rc.d/init.d/slpd
120 %attr(755,root,root) %{_sbindir}/slpd
121 %attr(755,root,root) %{_bindir}/*
122 %attr(755,root,root) %{_libdir}/lib*.so.*.*
125 %defattr(644,root,root,755)
128 %attr(755,root,root) %{_libdir}/lib*.so
129 %attr(755,root,root) %{_libdir}/lib*.la
132 %defattr(644,root,root,755)