1 | Summary: Open implementation of Service Location Protocol V2 |
---|
2 | Summary(ja): SLP (Service Location Protocol) V2 のオープンな実装 |
---|
3 | Name: openslp |
---|
4 | Version: 1.2.1 |
---|
5 | Release: 2%{_dist_release} |
---|
6 | |
---|
7 | Group: System Environment/Libraries |
---|
8 | License: BSD |
---|
9 | URL: http://sourceforge.net/projects/openslp/ |
---|
10 | Source: http://dl.sourceforge.net/sourceforge/openslp/openslp-1.2.1.tar.gz |
---|
11 | BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) |
---|
12 | |
---|
13 | Source1: slpd.init |
---|
14 | Patch1: openslp-1.2.1-optflags.patch |
---|
15 | |
---|
16 | BuildRequires: automake |
---|
17 | BuildRequires: libtool |
---|
18 | BuildRequires: bison |
---|
19 | BuildRequires: flex |
---|
20 | BuildRequires: openssl-devel |
---|
21 | |
---|
22 | %description |
---|
23 | Service Location Protocol is an IETF standards track protocol that |
---|
24 | provides a framework to allow networking applications to discover the |
---|
25 | existence, location, and configuration of networked services in |
---|
26 | enterprise networks. |
---|
27 | |
---|
28 | OpenSLP is an open source implementation of the SLPv2 protocol as defined |
---|
29 | by RFC 2608 and RFC 2614. |
---|
30 | |
---|
31 | %description -l ja |
---|
32 | SLP (Service Location Protocol) は IETF ドキュメントによって標準化された、 |
---|
33 | ネットワーク上の各種サービス発見のためのプロトコルです。 |
---|
34 | |
---|
35 | この OpenSLP は、RFC 2608 および RFC 2614 で規定された SLP バージョン 2 |
---|
36 | のオープンソース版実装です。 |
---|
37 | |
---|
38 | |
---|
39 | %package devel |
---|
40 | Summary: OpenSLP headers and libraries |
---|
41 | Summary(ja): OpenSLP ヘッダファイルとライブラリ |
---|
42 | Group: Development/Libraries |
---|
43 | Requires: %{name} = %{version}-%{release} |
---|
44 | |
---|
45 | %description devel |
---|
46 | OpenSLP header files and libraries. |
---|
47 | |
---|
48 | %description devel -l ja |
---|
49 | OpenSLP のヘッダファイルとライブラリファイルが収録されています。 |
---|
50 | |
---|
51 | |
---|
52 | %package server |
---|
53 | Summary: OpenSLP server daemon |
---|
54 | Summary(ja): OpenSLP サーバデーモン |
---|
55 | Group: System Environment/Daemons |
---|
56 | Requires: %{name} = %{version}-%{release} |
---|
57 | Requires(preun): chkconfig, /sbin/service |
---|
58 | Requires(post): chkconfig |
---|
59 | Requires(postun): /sbin/service |
---|
60 | |
---|
61 | %description server |
---|
62 | OpenSLP server daemon to dynamically register services. |
---|
63 | |
---|
64 | %description server -l ja |
---|
65 | OpenSLP サーバデーモンが収録されています。 |
---|
66 | |
---|
67 | |
---|
68 | %prep |
---|
69 | %setup -q |
---|
70 | |
---|
71 | %patch1 -p1 -b .optflags |
---|
72 | |
---|
73 | # tarball goof (?), it wants to re-automake anyway, so let's do it right. |
---|
74 | libtoolize --force |
---|
75 | aclocal |
---|
76 | autoconf |
---|
77 | automake --add-missing |
---|
78 | |
---|
79 | # remove CVS leftovers... |
---|
80 | find . -name "CVS" | xargs rm -rf |
---|
81 | |
---|
82 | |
---|
83 | %build |
---|
84 | |
---|
85 | # for x86_64 |
---|
86 | export CFLAGS="-fPIC $RPM_OPT_FLAGS" |
---|
87 | # for slpd |
---|
88 | export LDFLAGS="-pie" |
---|
89 | |
---|
90 | %configure \ |
---|
91 | --disable-dependency-tracking \ |
---|
92 | --disable-static \ |
---|
93 | --enable-slpv2-security |
---|
94 | # --enable-async-api |
---|
95 | |
---|
96 | make %{?_smp_mflags} |
---|
97 | |
---|
98 | |
---|
99 | %install |
---|
100 | rm -rf $RPM_BUILD_ROOT |
---|
101 | |
---|
102 | make install DESTDIR=$RPM_BUILD_ROOT |
---|
103 | |
---|
104 | install -p -D -m755 %{SOURCE1} $RPM_BUILD_ROOT%{_initrddir}/slpd |
---|
105 | |
---|
106 | # nuke unpackaged/unwanted files |
---|
107 | rm -rf $RPM_BUILD_ROOT/usr/doc |
---|
108 | rm -f $RPM_BUILD_ROOT%{_libdir}/lib*.la |
---|
109 | |
---|
110 | |
---|
111 | %clean |
---|
112 | rm -rf $RPM_BUILD_ROOT |
---|
113 | |
---|
114 | |
---|
115 | %post -p /sbin/ldconfig |
---|
116 | |
---|
117 | %postun -p /sbin/ldconfig |
---|
118 | |
---|
119 | %post server |
---|
120 | /sbin/chkconfig --add slpd |
---|
121 | |
---|
122 | %preun server |
---|
123 | # on remove |
---|
124 | if [ $1 -eq 0 ]; then |
---|
125 | /sbin/service slpd stop >/dev/null 2>&1 ||: |
---|
126 | /sbin/chkconfig --del slpd |
---|
127 | fi |
---|
128 | |
---|
129 | %postun server |
---|
130 | # on upgrade |
---|
131 | if [ $1 -gt 0 ]; then |
---|
132 | /sbin/service slpd condrestart >/dev/null 2>&1 ||: |
---|
133 | fi |
---|
134 | |
---|
135 | |
---|
136 | %files |
---|
137 | %defattr(-,root,root) |
---|
138 | %doc AUTHORS COPYING FAQ NEWS README THANKS |
---|
139 | %config(noreplace) %{_sysconfdir}/slp.conf |
---|
140 | %{_bindir}/* |
---|
141 | %{_libdir}/lib*.so.* |
---|
142 | |
---|
143 | %files server |
---|
144 | %defattr(-,root,root) |
---|
145 | %doc doc/html/IntroductionToSLP |
---|
146 | %doc doc/html/UsersGuide |
---|
147 | %doc doc/html/faq* |
---|
148 | %{_sbindir}/* |
---|
149 | %config(noreplace) %{_sysconfdir}/slp.reg |
---|
150 | %config(noreplace) %{_sysconfdir}/slp.spi |
---|
151 | %config(noreplace) %{_initrddir}/slpd |
---|
152 | |
---|
153 | %files devel |
---|
154 | %defattr(-,root,root) |
---|
155 | %doc doc/html/ProgrammersGuide |
---|
156 | %doc doc/rfc |
---|
157 | %{_includedir}/* |
---|
158 | %{_libdir}/lib*.so |
---|
159 | |
---|
160 | |
---|
161 | %changelog |
---|
162 | * Fri Feb 13 2009 Shu KONNO <owa@bg.wakwak.com> 1.2.1-2 |
---|
163 | - spec in utf-8 |
---|
164 | |
---|
165 | * Tue Apr 15 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2.1-1 |
---|
166 | - initial build for Vine Linux (based on FC8 1.2.1-7) |
---|
167 | - add Japanese summary and description |
---|
168 | |
---|
169 | * Tue Aug 21 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.2.1-7 |
---|
170 | - respin (buildID) |
---|
171 | |
---|
172 | * Tue Aug 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.2.1-6 |
---|
173 | - fc6 respin |
---|
174 | |
---|
175 | * Wed Aug 09 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.2.1-5 |
---|
176 | - fc6 respin |
---|
177 | |
---|
178 | * Wed Mar 1 2006 Rex Dieter <rexdieter[AT]users.sf.net> |
---|
179 | - fc5: gcc/glibc respin |
---|
180 | |
---|
181 | * Mon Dec 19 2005 Rex Dieter <rexdieter[AT]users.sf.net> 1.2.1-4 |
---|
182 | - make %%postun safer |
---|
183 | |
---|
184 | * Wed Nov 16 2005 Rex Dieter <rexdieter[AT]users.sf.net> 1.2.1-3 |
---|
185 | - rebuild (for new openssl) |
---|
186 | - make %%postun safer |
---|
187 | |
---|
188 | * Fri Oct 21 2005 Rex Dieter <rexdieter[AT]users.sf.net> 1.2.1-2 |
---|
189 | - -fPIC (for x86_64) |
---|
190 | |
---|
191 | * Fri Oct 21 2005 Rex Dieter <rexdieter[AT]users.sf.net> 1.2.1-1 |
---|
192 | - 1.2.1 |
---|
193 | - move most docs to -server |
---|
194 | - --enable-slpv2-security |
---|
195 | - --disable-dependency-tracking |
---|
196 | |
---|
197 | * Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 1.2.0 |
---|
198 | - rebuild on all arches |
---|
199 | |
---|
200 | * Fri Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> |
---|
201 | - rebuilt |
---|
202 | |
---|
203 | * Mon Jul 19 2004 Rex Dieter <rexdieter at sf.net> 0:1.2.0-0.fdr.4 |
---|
204 | - BR: flex |
---|
205 | |
---|
206 | * Fri Jul 16 2004 Rex Dieter <rexdieter at sf.net> 0:1.2.0-0.fdr.3 |
---|
207 | - BR: bison |
---|
208 | |
---|
209 | * Thu Jul 15 2004 Rex Dieter <rexdieter at sf.net> 0:1.2.0-0.fdr.2 |
---|
210 | - fix/add condrestart to init script |
---|
211 | |
---|
212 | * Thu Jul 15 2004 Rex Dieter <rexdieter at sf.net> 0:1.2.0-0.fdr.1 |
---|
213 | - 1.2.0 |
---|
214 | - use -pie |
---|
215 | - don't use Requires(post,postun) |
---|
216 | |
---|
217 | * Fri Oct 24 2003 Rex Dieter <rexdieter af sf.net> 0:1.0.11-0.fdr.7 |
---|
218 | - fix for Fedora Core |
---|
219 | - fix description (main package does *not* include daemon and header files). |
---|
220 | |
---|
221 | * Fri May 30 2003 Rex Dieter <rexdieter at sf.net> 0:1.0.11-0.fdr.6 |
---|
222 | - -server: Requires(preun,postun): /sbin/service |
---|
223 | - add a few more %%doc files to base pkg. |
---|
224 | - initscript: add (real) 'reload' action. |
---|
225 | - initscript: use $prog instead of hardcoded slpd. |
---|
226 | |
---|
227 | * Fri May 16 2003 Rex Dieter <rexdieter at sf.net> 0:1.0.11-0.fdr.5 |
---|
228 | - -server: fix %postun on uninstall |
---|
229 | |
---|
230 | * Thu May 2 2003 Rex Dieter <rexdieter at sf.net> 0:1.0.11-0.fdr.4 |
---|
231 | - *really* do %%config(noreplace) slp.conf |
---|
232 | |
---|
233 | * Thu May 1 2003 Rex Dieter <rexdieter at sf.net> 0:1.0.11-0.fdr.3 |
---|
234 | - capitalize Summary's. |
---|
235 | - %%config(noreplace) slp.conf |
---|
236 | |
---|
237 | * Thu May 1 2003 Rex Dieter <rexdieter at sf.net> 0:1.0.11-0.fdr.2 |
---|
238 | - docs: remove CVS files, include rfc, move ProgrammersGuide to -devel. |
---|
239 | - improve sub-pkg descriptions. |
---|
240 | - improve server %%preun,%%postun scripts: condrestart on upgrade, |
---|
241 | suppress output of server shutdown,restarts. |
---|
242 | |
---|
243 | * Thu May 1 2003 Rex Dieter <rexdieter at sf.net> 0:1.0.11-0.fdr.1 |
---|
244 | - specfile cleanups for fedora packaging. |
---|
245 | |
---|
246 | * Tue Apr 29 2003 Rex Dieter <rexdieter at sf.net> 0:1.0.11-0.fdr.0 |
---|
247 | - 1.0.11 release. |
---|
248 | - fedorize things |
---|
249 | |
---|
250 | * Mon Feb 03 2003 Rex Dieter <rexdieter at sf.net> 0:1.0.10-1.0 |
---|
251 | - sanitize specfile |
---|
252 | - -devel,-server subpkgs. |
---|