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