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