]> git.pld-linux.org Git - packages/openslp.git/blob - openslp.spec
2a2877755f60162fa37ffe5e37d851c668464bbf
[packages/openslp.git] / openslp.spec
1 Summary:        OpenSLP implementation of Service Location Protocol V2
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
8 Name:           openslp
9 Version:        2.0.0
10 Release:        6
11 License:        BSD
12 Group:          Libraries
13 Source0:        http://downloads.sourceforge.net/openslp/%{name}-%{version}.tar.gz
14 # Source0-md5:  18cf7940bcc444e32592cf34e84f833f
15 Source1:        %{name}.init
16 Patch0:         %{name}-opt.patch
17 Patch1:         %{name}-build.patch
18 Patch2:         %{name}-symbol-clashes.patch
19 Patch3:         openssl.patch
20 URL:            http://www.openslp.org/
21 BuildRequires:  autoconf >= 2.59
22 BuildRequires:  automake
23 BuildRequires:  libtool
24 BuildRequires:  openssl-devel >= 0.9.7d
25 BuildRequires:  rpmbuild(macros) >= 1.268
26 BuildRequires:  zlib-devel
27 Obsoletes:      libopenslp1
28 BuildRoot:      %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
29
30 %define         _sysconfdir             /etc/openslp
31
32 %description
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
38 OpenSLP is an open source implementation of the SLPv2 protocol as
39 defined by RFC 2608 and RFC 2614. This package includes libraries.
40
41 %description -l de.UTF-8
42 Das Service Location Protocol ist ein IETF standard Protokoll welches
43 ein Gerüst bereitstellt um es Netzwerk-fähigen Anwendungen zu
44 ermöglichen die Existenz, den Ort und die Konfiguration von
45 Netzwerkdiensten in Unternehmensnetzwerken zu entdecken.
46
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
50 permitir a las aplicaciones de red descubrir la existencia,
51 localización y configuración de servicios de red en redes
52 empresariales.
53
54 %description -l fr.UTF-8
55 Service Location Protocol est un protocole de suivi des normes IETF
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.
59
60 %description -l it.UTF-8
61 Il Service Location Protocol (protocollo di localizzazione di servizi)
62 è un protocollo standard IETF che fornisce un'infrastruttura per
63 permettere alle applicazioni di rete di scoprire l'esistenza, la
64 localizzazione e la configurazione dei servizi nelle reti delle
65 aziende.
66
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.
71
72 OpenSLP jest otwartą implementacją protokołu SLPv2 zdefiniowanego w
73 RFC 2608 i RFC 2614. Ten pakiet zawiera biblioteki.
74
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
79 rede nas redes duma empresa.
80
81 %package server
82 Summary:        OpenSLP server working as SA and DA
83 Summary(pl.UTF-8):      Serwer OpenSLP działający jako SA i DA
84 Group:          Networking/Daemons
85 Requires(post,preun):   /sbin/chkconfig
86 Requires:       %{name} = %{version}-%{release}
87 Requires:       rc-scripts
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
96 defined by RFC 2608 and RFC 2614. This package includes the daemon.
97
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.
102
103 OpenSLP jest otwartą implementacją protokołu SLPv2 zdefiniowanego w
104 RFC 2608 i RFC 2614. Ten pakiet zawiera demona.
105
106 %package devel
107 Summary:        OpenSLP development files
108 Summary(pl.UTF-8):      Część OpenSLP dla programistów
109 Group:          Development/Libraries
110 Requires:       %{name} = %{version}-%{release}
111 Requires:       openssl-devel >= 0.9.7c
112 Requires:       zlib-devel
113 Obsoletes:      libopenslp1-devel
114
115 %description devel
116 OpenSLP development files.
117
118 %description devel -l pl.UTF-8
119 Pliki nagłówkowe OpenSLP.
120
121 %package static
122 Summary:        OpenSLP static libraries
123 Summary(pl.UTF-8):      Biblioteki statyczne OpenSLP
124 Group:          Development/Libraries
125 Requires:       %{name}-devel = %{version}-%{release}
126
127 %description static
128 OpenSLP static libraries.
129
130 %description static -l pl.UTF-8
131 Biblioteki statyczne OpenSLP.
132
133 %prep
134 %setup -q
135 %patch0 -p1
136 %patch1 -p1
137 %patch2 -p1
138 %patch3 -p1
139
140 %build
141 %{__libtoolize}
142 %{__aclocal} -I m4
143 %{__autoconf}
144 %{__autoheader}
145 %{__automake}
146 %configure \
147         --enable-slpv1 \
148         --enable-slpv2-security \
149         --enable-async-api
150
151 %{__make}
152
153 %install
154 rm -rf $RPM_BUILD_ROOT
155 install -d $RPM_BUILD_ROOT{/etc/{rc.d/init.d,sysconfig},/%{_lib}}
156
157 %{__make} install \
158         DESTDIR=$RPM_BUILD_ROOT
159
160 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/slpd
161
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
167 %clean
168 rm -rf $RPM_BUILD_ROOT
169
170 %post   -p /sbin/ldconfig
171 %postun -p /sbin/ldconfig
172
173 %post server
174 /sbin/chkconfig --add slpd
175 %service slpd restart "OpenSLP server"
176
177 %preun server
178 if [ "$1" = "0" ]; then
179         %service slpd stop
180         /sbin/chkconfig --del slpd
181 fi
182
183 %files
184 %defattr(644,root,root,755)
185 %doc AUTHORS NEWS README
186 %dir %{_sysconfdir}
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
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
193
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
199 %files devel
200 %defattr(644,root,root,755)
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
205
206 %files static
207 %defattr(644,root,root,755)
208 %{_libdir}/libslp.a
This page took 0.05769 seconds and 2 git commands to generate.