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