[521] | 1 | Summary: Open implementation of Service Location Protocol V2 |
---|
| 2 | Summary(ja): SLP (Service Location Protocol) V2 のオープンな実装 |
---|
| 3 | Name: openslp |
---|
[9256] | 4 | Version: 2.0.0 |
---|
| 5 | Release: 1%{_dist_release} |
---|
[521] | 6 | |
---|
| 7 | Group: System Environment/Libraries |
---|
| 8 | License: BSD |
---|
[9256] | 9 | URL: http://sourceforge.net/projects/%{name}/ |
---|
| 10 | Source: http://dl.sourceforge.net/sourceforge/%{name}/%{name}-%{version}.tar.gz |
---|
[521] | 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 | |
---|
[9256] | 71 | #%patch1 -p1 -b .optflags |
---|
[521] | 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 |
---|
[9256] | 162 | * Mon Jan 12 2015 Yoji TOYODA <bsyamato@sea.plala.or.jp> 2.0.0-1 |
---|
| 163 | - update to 2.0.0 |
---|
| 164 | |
---|
[2494] | 165 | * Thu Jan 13 2011 Shu KONNO <owa@bg.wakwak.com> 1.2.1-3 |
---|
| 166 | - rebuilt with openssl-1.0.0c |
---|
| 167 | |
---|
[521] | 168 | * Fri Feb 13 2009 Shu KONNO <owa@bg.wakwak.com> 1.2.1-2 |
---|
| 169 | - spec in utf-8 |
---|
| 170 | |
---|
| 171 | * Tue Apr 15 2008 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 1.2.1-1 |
---|
| 172 | - initial build for Vine Linux (based on FC8 1.2.1-7) |
---|
| 173 | - add Japanese summary and description |
---|
| 174 | |
---|
| 175 | * Tue Aug 21 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 1.2.1-7 |
---|
| 176 | - respin (buildID) |
---|
| 177 | |
---|
| 178 | * Tue Aug 29 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.2.1-6 |
---|
| 179 | - fc6 respin |
---|
| 180 | |
---|
| 181 | * Wed Aug 09 2006 Rex Dieter <rexdieter[AT]users.sf.net> 1.2.1-5 |
---|
| 182 | - fc6 respin |
---|
| 183 | |
---|
| 184 | * Wed Mar 1 2006 Rex Dieter <rexdieter[AT]users.sf.net> |
---|
| 185 | - fc5: gcc/glibc respin |
---|
| 186 | |
---|
| 187 | * Mon Dec 19 2005 Rex Dieter <rexdieter[AT]users.sf.net> 1.2.1-4 |
---|
| 188 | - make %%postun safer |
---|
| 189 | |
---|
| 190 | * Wed Nov 16 2005 Rex Dieter <rexdieter[AT]users.sf.net> 1.2.1-3 |
---|
| 191 | - rebuild (for new openssl) |
---|
| 192 | - make %%postun safer |
---|
| 193 | |
---|
| 194 | * Fri Oct 21 2005 Rex Dieter <rexdieter[AT]users.sf.net> 1.2.1-2 |
---|
| 195 | - -fPIC (for x86_64) |
---|
| 196 | |
---|
| 197 | * Fri Oct 21 2005 Rex Dieter <rexdieter[AT]users.sf.net> 1.2.1-1 |
---|
| 198 | - 1.2.1 |
---|
| 199 | - move most docs to -server |
---|
| 200 | - --enable-slpv2-security |
---|
| 201 | - --disable-dependency-tracking |
---|
| 202 | |
---|
| 203 | * Sun May 22 2005 Jeremy Katz <katzj@redhat.com> - 1.2.0 |
---|
| 204 | - rebuild on all arches |
---|
| 205 | |
---|
[9256] | 206 | * Thu Apr 7 2005 Michael Schwendt <mschwendt[AT]users.sf.net> |
---|
[521] | 207 | - rebuilt |
---|
| 208 | |
---|
| 209 | * Mon Jul 19 2004 Rex Dieter <rexdieter at sf.net> 0:1.2.0-0.fdr.4 |
---|
| 210 | - BR: flex |
---|
| 211 | |
---|
| 212 | * Fri Jul 16 2004 Rex Dieter <rexdieter at sf.net> 0:1.2.0-0.fdr.3 |
---|
| 213 | - BR: bison |
---|
| 214 | |
---|
| 215 | * Thu Jul 15 2004 Rex Dieter <rexdieter at sf.net> 0:1.2.0-0.fdr.2 |
---|
| 216 | - fix/add condrestart to init script |
---|
| 217 | |
---|
| 218 | * Thu Jul 15 2004 Rex Dieter <rexdieter at sf.net> 0:1.2.0-0.fdr.1 |
---|
| 219 | - 1.2.0 |
---|
| 220 | - use -pie |
---|
| 221 | - don't use Requires(post,postun) |
---|
| 222 | |
---|
| 223 | * Fri Oct 24 2003 Rex Dieter <rexdieter af sf.net> 0:1.0.11-0.fdr.7 |
---|
| 224 | - fix for Fedora Core |
---|
| 225 | - fix description (main package does *not* include daemon and header files). |
---|
| 226 | |
---|
| 227 | * Fri May 30 2003 Rex Dieter <rexdieter at sf.net> 0:1.0.11-0.fdr.6 |
---|
| 228 | - -server: Requires(preun,postun): /sbin/service |
---|
| 229 | - add a few more %%doc files to base pkg. |
---|
| 230 | - initscript: add (real) 'reload' action. |
---|
| 231 | - initscript: use $prog instead of hardcoded slpd. |
---|
| 232 | |
---|
| 233 | * Fri May 16 2003 Rex Dieter <rexdieter at sf.net> 0:1.0.11-0.fdr.5 |
---|
| 234 | - -server: fix %postun on uninstall |
---|
| 235 | |
---|
[9256] | 236 | * Fri May 2 2003 Rex Dieter <rexdieter at sf.net> 0:1.0.11-0.fdr.4 |
---|
[521] | 237 | - *really* do %%config(noreplace) slp.conf |
---|
| 238 | |
---|
| 239 | * Thu May 1 2003 Rex Dieter <rexdieter at sf.net> 0:1.0.11-0.fdr.3 |
---|
| 240 | - capitalize Summary's. |
---|
| 241 | - %%config(noreplace) slp.conf |
---|
| 242 | |
---|
| 243 | * Thu May 1 2003 Rex Dieter <rexdieter at sf.net> 0:1.0.11-0.fdr.2 |
---|
| 244 | - docs: remove CVS files, include rfc, move ProgrammersGuide to -devel. |
---|
| 245 | - improve sub-pkg descriptions. |
---|
| 246 | - improve server %%preun,%%postun scripts: condrestart on upgrade, |
---|
| 247 | suppress output of server shutdown,restarts. |
---|
| 248 | |
---|
| 249 | * Thu May 1 2003 Rex Dieter <rexdieter at sf.net> 0:1.0.11-0.fdr.1 |
---|
| 250 | - specfile cleanups for fedora packaging. |
---|
| 251 | |
---|
| 252 | * Tue Apr 29 2003 Rex Dieter <rexdieter at sf.net> 0:1.0.11-0.fdr.0 |
---|
| 253 | - 1.0.11 release. |
---|
| 254 | - fedorize things |
---|
| 255 | |
---|
| 256 | * Mon Feb 03 2003 Rex Dieter <rexdieter at sf.net> 0:1.0.10-1.0 |
---|
| 257 | - sanitize specfile |
---|
| 258 | - -devel,-server subpkgs. |
---|