]>
Commit | Line | Data |
---|---|---|
ae9fabc4 | 1 | Summary: OpenSLP implementation of Service Location Protocol V2 |
b50f4810 ER |
2 | Summary(de.UTF-8): Open source Implementierung des Service Location Protocols V2 |
3 | Summary(es.UTF-8): Implementación open source del Service Location Protocol V2 | |
4 | Summary(fr.UTF-8): Implémentation Open Source du Service Location Protocol V2 | |
5 | Summary(it.UTF-8): Implementazione open source del Service Location Protocol V2 | |
6 | Summary(pl.UTF-8): Otwarta implementacja Service Location Protocol V2 | |
7 | Summary(pt.UTF-8): Implementação 'open source' do protocolo Service Location Protocol V2 | |
ae9fabc4 | 8 | Name: openslp |
077323c7 | 9 | Version: 2.0.0 |
e94deb48 | 10 | Release: 6 |
18b9dee5 | 11 | License: BSD |
95563d3e | 12 | Group: Libraries |
18b9dee5 | 13 | Source0: http://downloads.sourceforge.net/openslp/%{name}-%{version}.tar.gz |
077323c7 | 14 | # Source0-md5: 18cf7940bcc444e32592cf34e84f833f |
442cee73 | 15 | Source1: %{name}.init |
9b4c2967 | 16 | Patch0: %{name}-opt.patch |
077323c7 | 17 | Patch1: %{name}-build.patch |
855d943d | 18 | Patch2: %{name}-symbol-clashes.patch |
1d6ac5b5 | 19 | Patch3: openssl.patch |
ae9fabc4 | 20 | URL: http://www.openslp.org/ |
18b9dee5 | 21 | BuildRequires: autoconf >= 2.59 |
442cee73 | 22 | BuildRequires: automake |
23 | BuildRequires: libtool | |
da8e3def | 24 | BuildRequires: openssl-devel >= 0.9.7d |
9ab6dfd0 | 25 | BuildRequires: rpmbuild(macros) >= 1.268 |
18b9dee5 | 26 | BuildRequires: zlib-devel |
f574d617 | 27 | Obsoletes: libopenslp1 < 2 |
13923bac | 28 | BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) |
ae9fabc4 | 29 | |
442cee73 | 30 | %define _sysconfdir /etc/openslp |
ae9fabc4 | 31 | |
32 | %description | |
cfe07f32 | 33 | Service Location Protocol is an IETF standards track protocol that |
34 | provides a framework to allow networking applications to discover the | |
35 | existence, location, and configuration of networked services in | |
36 | enterprise networks. | |
37 | ||
ae9fabc4 | 38 | OpenSLP is an open source implementation of the SLPv2 protocol as |
9b4c2967 | 39 | defined by RFC 2608 and RFC 2614. This package includes libraries. |
cfe07f32 | 40 | |
670a0c4c | 41 | %description -l de.UTF-8 |
a767027e | 42 | Das Service Location Protocol ist ein IETF standard Protokoll welches |
670a0c4c JR |
43 | ein Gerüst bereitstellt um es Netzwerk-fähigen Anwendungen zu |
44 | ermöglichen die Existenz, den Ort und die Konfiguration von | |
a767027e | 45 | Netzwerkdiensten in Unternehmensnetzwerken zu entdecken. |
46 | ||
670a0c4c JR |
47 | %description -l es.UTF-8 |
48 | El Protocolo de Localización de Servicios es un protocolo de | |
49 | seguimiento acorde al estándar IETF que proporciona un entorno para | |
a767027e | 50 | permitir a las aplicaciones de red descubrir la existencia, |
670a0c4c | 51 | localización y configuración de servicios de red en redes |
a767027e | 52 | empresariales. |
53 | ||
670a0c4c | 54 | %description -l fr.UTF-8 |
a767027e | 55 | Service Location Protocol est un protocole de suivi des normes IETF |
670a0c4c JR |
56 | qui fournit un cadre permettant à des applications réseau de découvrir |
57 | l'existence, l'emplacement et la configuration de services de réseau | |
58 | dans les réseaux d'entreprise. | |
a767027e | 59 | |
670a0c4c | 60 | %description -l it.UTF-8 |
a767027e | 61 | Il Service Location Protocol (protocollo di localizzazione di servizi) |
670a0c4c | 62 | è un protocollo standard IETF che fornisce un'infrastruttura per |
a767027e | 63 | permettere alle applicazioni di rete di scoprire l'esistenza, la |
64 | localizzazione e la configurazione dei servizi nelle reti delle | |
65 | aziende. | |
66 | ||
670a0c4c JR |
67 | %description -l pl.UTF-8 |
68 | Service Location Protocol jest zgodnym ze standardem IETF protokołem | |
69 | pozwalającym aplikacjom sieciowym na badanie istnienia, położenia i | |
70 | konfiguracji usług sieciowych. | |
bd2b5cfc | 71 | |
670a0c4c | 72 | OpenSLP jest otwartą implementacją protokołu SLPv2 zdefiniowanego w |
9b4c2967 | 73 | RFC 2608 i RFC 2614. Ten pakiet zawiera biblioteki. |
bd2b5cfc | 74 | |
670a0c4c JR |
75 | %description -l pt.UTF-8 |
76 | O Service Location Protocol é um protocolo normalizado pelo IETF que | |
77 | oferece uma plataforma para permitir às aplicações de rede que | |
78 | descubram a existência, localização e a configuração dos serviços de | |
a767027e | 79 | rede nas redes duma empresa. |
80 | ||
b87694bd AF |
81 | %package server |
82 | Summary: OpenSLP server working as SA and DA | |
b50f4810 | 83 | Summary(pl.UTF-8): Serwer OpenSLP działający jako SA i DA |
b87694bd | 84 | Group: Networking/Daemons |
b87694bd | 85 | Requires(post,preun): /sbin/chkconfig |
e5c6f76d | 86 | Requires: %{name} = %{version}-%{release} |
13923bac | 87 | Requires: rc-scripts |
b87694bd AF |
88 | |
89 | %description server | |
90 | Service Location Protocol is an IETF standards track protocol that | |
91 | provides a framework to allow networking applications to discover the | |
92 | existence, location, and configuration of networked services in | |
93 | enterprise networks. | |
94 | ||
95 | OpenSLP is an open source implementation of the SLPv2 protocol as | |
9b4c2967 | 96 | defined by RFC 2608 and RFC 2614. This package includes the daemon. |
b87694bd | 97 | |
670a0c4c JR |
98 | %description server -l pl.UTF-8 |
99 | Service Location Protocol jest zgodnym ze standardem IETF protokołem | |
100 | pozwalającym aplikacjom sieciowym na badanie istnienia, położenia i | |
101 | konfiguracji usług sieciowych. | |
9b4c2967 | 102 | |
670a0c4c | 103 | OpenSLP jest otwartą implementacją protokołu SLPv2 zdefiniowanego w |
9b4c2967 | 104 | RFC 2608 i RFC 2614. Ten pakiet zawiera demona. |
b87694bd | 105 | |
442cee73 | 106 | %package devel |
bd2b5cfc | 107 | Summary: OpenSLP development files |
b50f4810 | 108 | Summary(pl.UTF-8): Część OpenSLP dla programistów |
442cee73 | 109 | Group: Development/Libraries |
e5c6f76d JB |
110 | Requires: %{name} = %{version}-%{release} |
111 | Requires: openssl-devel >= 0.9.7c | |
18b9dee5 | 112 | Requires: zlib-devel |
f574d617 | 113 | Obsoletes: libopenslp1-devel < 2 |
442cee73 | 114 | |
115 | %description devel | |
bd2b5cfc JB |
116 | OpenSLP development files. |
117 | ||
670a0c4c JR |
118 | %description devel -l pl.UTF-8 |
119 | Pliki nagłówkowe OpenSLP. | |
442cee73 | 120 | |
121 | %package static | |
bd2b5cfc | 122 | Summary: OpenSLP static libraries |
b50f4810 | 123 | Summary(pl.UTF-8): Biblioteki statyczne OpenSLP |
71c8f222 | 124 | Group: Development/Libraries |
e5c6f76d | 125 | Requires: %{name}-devel = %{version}-%{release} |
442cee73 | 126 | |
127 | %description static | |
bd2b5cfc JB |
128 | OpenSLP static libraries. |
129 | ||
670a0c4c | 130 | %description static -l pl.UTF-8 |
bd2b5cfc | 131 | Biblioteki statyczne OpenSLP. |
442cee73 | 132 | |
ae9fabc4 | 133 | %prep |
134 | %setup -q | |
e5c6f76d | 135 | %patch0 -p1 |
077323c7 | 136 | %patch1 -p1 |
855d943d | 137 | %patch2 -p1 |
1d6ac5b5 | 138 | %patch3 -p1 |
cfe07f32 | 139 | |
ae9fabc4 | 140 | %build |
f151bc31 | 141 | %{__libtoolize} |
18b9dee5 | 142 | %{__aclocal} -I m4 |
e1d3edab | 143 | %{__autoconf} |
855d943d | 144 | %{__autoheader} |
e1d3edab | 145 | %{__automake} |
442cee73 | 146 | %configure \ |
147 | --enable-slpv1 \ | |
148 | --enable-slpv2-security \ | |
077323c7 | 149 | --enable-async-api |
442cee73 | 150 | |
ae9fabc4 | 151 | %{__make} |
cfe07f32 | 152 | |
ae9fabc4 | 153 | %install |
cfe07f32 | 154 | rm -rf $RPM_BUILD_ROOT |
077323c7 | 155 | install -d $RPM_BUILD_ROOT{/etc/{rc.d/init.d,sysconfig},/%{_lib}} |
ae9fabc4 | 156 | |
157 | %{__make} install \ | |
158 | DESTDIR=$RPM_BUILD_ROOT | |
159 | ||
442cee73 | 160 | install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/slpd |
cfe07f32 | 161 | |
077323c7 JR |
162 | mv -f $RPM_BUILD_ROOT%{_libdir}/libslp.so.* $RPM_BUILD_ROOT/%{_lib} |
163 | %{__rm} $RPM_BUILD_ROOT%{_libdir}/libslp.so | |
164 | ln -sf /%{_lib}/$(cd $RPM_BUILD_ROOT/%{_lib}; echo lib*.so.*.*) \ | |
165 | $RPM_BUILD_ROOT%{_libdir}/libslp.so | |
166 | ||
bd2b5cfc JB |
167 | %clean |
168 | rm -rf $RPM_BUILD_ROOT | |
169 | ||
b87694bd AF |
170 | %post -p /sbin/ldconfig |
171 | %postun -p /sbin/ldconfig | |
172 | ||
173 | %post server | |
39edb9a2 | 174 | /sbin/chkconfig --add slpd |
9ab6dfd0 | 175 | %service slpd restart "OpenSLP server" |
39edb9a2 | 176 | |
b87694bd | 177 | %preun server |
39edb9a2 | 178 | if [ "$1" = "0" ]; then |
9ab6dfd0 | 179 | %service slpd stop |
39edb9a2 | 180 | /sbin/chkconfig --del slpd |
181 | fi | |
cfe07f32 | 182 | |
ae9fabc4 | 183 | %files |
184 | %defattr(644,root,root,755) | |
b87694bd | 185 | %doc AUTHORS NEWS README |
ae9fabc4 | 186 | %dir %{_sysconfdir} |
13923bac JB |
187 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/slp.conf |
188 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/slp.reg | |
189 | %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/slp.spi | |
077323c7 JR |
190 | %attr(755,root,root) %{_bindir}/slptool |
191 | %attr(755,root,root) /%{_lib}/libslp.so.*.*.* | |
192 | %attr(755,root,root) %ghost /%{_lib}/libslp.so.1 | |
442cee73 | 193 | |
b87694bd AF |
194 | %files server |
195 | %defattr(644,root,root,755) | |
196 | %attr(754,root,root) /etc/rc.d/init.d/slpd | |
197 | %attr(755,root,root) %{_sbindir}/slpd | |
198 | ||
442cee73 | 199 | %files devel |
200 | %defattr(644,root,root,755) | |
077323c7 JR |
201 | %doc doc/doc/html/* doc/doc/rfc/* doc/doc/security |
202 | %attr(755,root,root) %{_libdir}/libslp.so | |
203 | %{_libdir}/libslp.la | |
204 | %{_includedir}/slp.h | |
442cee73 | 205 | |
206 | %files static | |
207 | %defattr(644,root,root,755) | |
077323c7 | 208 | %{_libdir}/libslp.a |