]> git.pld-linux.org Git - packages/openslp.git/blob - openslp.spec
- use %service, adapterized
[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 # note: 1.3.0 is "development" release _equal_ to 1.2.0
10 Version:        1.2.1
11 Release:        1
12 License:        LGPL
13 Group:          Networking/Daemons
14 Source0:        http://dl.sourceforge.net/openslp/%{name}-%{version}.tar.gz
15 # Source0-md5:  ff9999d1b44017281dd00ed2c4d32330
16 Source1:        %{name}.init
17 Patch0:         %{name}-opt.patch
18 URL:            http://www.openslp.org/
19 BuildRequires:  autoconf >= 2.50
20 BuildRequires:  automake
21 BuildRequires:  libtool
22 BuildRequires:  openssl-devel >= 0.9.7d
23 BuildRequires:  rpmbuild(macros) >= 1.268
24 Obsoletes:      libopenslp1
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 includes 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 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 server
79 Summary:        OpenSLP server working as SA and DA
80 Summary(pl):    Serwer OpenSLP dzia³aj±cy jako SA i DA
81 Group:          Networking/Daemons
82 Requires(post,preun):   /sbin/chkconfig
83 Requires:       %{name} = %{version}-%{release}
84 Requires:       rc-scripts
85
86 %description server
87 Service Location Protocol is an IETF standards track protocol that
88 provides a framework to allow networking applications to discover the
89 existence, location, and configuration of networked services in
90 enterprise networks.
91
92 OpenSLP is an open source implementation of the SLPv2 protocol as
93 defined by RFC 2608 and RFC 2614. This package includes the daemon.
94
95 %description server -l pl
96 Service Location Protocol jest zgodnym ze standardem IETF protoko³em
97 pozwalaj±cym aplikacjom sieciowym na badanie istnienia, po³o¿enia i
98 konfiguracji us³ug sieciowych.
99
100 OpenSLP jest otwart± implementacj± protoko³u SLPv2 zdefiniowanego w
101 RFC 2608 i RFC 2614. Ten pakiet zawiera demona.
102
103 %package devel
104 Summary:        OpenSLP development files
105 Summary(pl):    Czê¶æ OpenSLP dla programistów
106 Group:          Development/Libraries
107 Requires:       %{name} = %{version}-%{release}
108 Requires:       openssl-devel >= 0.9.7c
109 Obsoletes:      libopenslp1-devel
110
111 %description devel
112 OpenSLP development files.
113
114 %description devel -l pl
115 Pliki nag³ówkowe OpenSLP.
116
117 %package static
118 Summary:        OpenSLP static libraries
119 Summary(pl):    Biblioteki statyczne OpenSLP
120 Group:          Development/Libraries
121 Requires:       %{name}-devel = %{version}-%{release}
122
123 %description static
124 OpenSLP static libraries.
125
126 %description static -l pl
127 Biblioteki statyczne OpenSLP.
128
129 %prep
130 %setup -q
131 %patch0 -p1
132
133 %build
134 %{__libtoolize}
135 %{__aclocal}
136 %{__autoconf}
137 %{__automake}
138 %configure \
139         --enable-slpv1 \
140         --enable-slpv2-security \
141         --disable-predicates
142
143 %{__make}
144
145 %install
146 rm -rf $RPM_BUILD_ROOT
147 install -d $RPM_BUILD_ROOT/etc/{rc.d/init.d,sysconfig}
148
149 %{__make} install \
150         DESTDIR=$RPM_BUILD_ROOT
151
152 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/slpd
153
154 %clean
155 rm -rf $RPM_BUILD_ROOT
156
157 %post   -p /sbin/ldconfig
158 %postun -p /sbin/ldconfig
159
160 %post server
161 /sbin/chkconfig --add slpd
162 %service slpd restart "OpenSLP server"
163
164 %preun server
165 if [ "$1" = "0" ]; then
166         %service slpd stop
167         /sbin/chkconfig --del slpd
168 fi
169
170 %files
171 %defattr(644,root,root,755)
172 %doc AUTHORS NEWS README
173 %dir %{_sysconfdir}
174 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/slp.conf
175 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/slp.reg
176 %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/slp.spi
177 %attr(755,root,root) %{_bindir}/*
178 %attr(755,root,root) %{_libdir}/lib*.so.*.*
179
180 %files server
181 %defattr(644,root,root,755)
182 %attr(754,root,root) /etc/rc.d/init.d/slpd
183 %attr(755,root,root) %{_sbindir}/slpd
184
185 %files devel
186 %defattr(644,root,root,755)
187 %doc doc/*
188 %attr(755,root,root) %{_libdir}/lib*.so
189 %{_libdir}/lib*.la
190 %{_includedir}/*
191
192 %files static
193 %defattr(644,root,root,755)
194 %{_libdir}/lib*.a
This page took 0.076141 seconds and 4 git commands to generate.