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