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