Package openslp: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 | Name: openslp Version: 1.2.1 Release: alt4.qa1 Summary: OpenSLP implementation of Service Location Protocol V2 License: BSD-style Group: Networking/Other URL: http://sourceforge.net/projects/openslp/ # http://download.sourceforge.net/%name/%name-%version.tar.gz Source0: %name-%version.tar Source1: %name.init Patch1: openslp-1.2.1-alt-memcpy-fix.patch Patch2: openslp-1.2.1-rh-nullauth.patch BuildRequires: flex gcc-c++ libssl-devel %description Service Location Protocol is an IETF standards track protocol that provides a framework to allow networking applications to discover the existence, location, and configuration of networked services in enterprise networks. OpenSLP is an open source implementation of the SLPv2 protocol as defined by RFC 2608 and RFC 2614. This package includes the daemon, libraries, header files and documentation. %package daemon Summary: OpenSLP implementation of Service Location Protocol V2 Group: System/Servers %description daemon Service Location Protocol is an IETF standards track protocol that provides a framework to allow networking applications to discover the existence, location, and configuration of networked services in enterprise networks. This package contains the SLP server. Every system, which provide any services which should be used via a SLP client must run this server and register the service. %package doc Summary: openslp project documentation Group: Books/Computer books BuildArch: noarch %description doc The OpenSLP project is an effort to develop an open-source implementation of Service Location Protocol suitable for commercial and non-commercial application. This package contains openslp project documentation. %package -n lib%name Summary: openslp project libraries Group: System/Libraries %description -n lib%name The OpenSLP project is an effort to develop an open-source implementation of Service Location Protocol suitable for commercial and non-commercial application. This package contains openslp project libraries. %package -n lib%name-devel Summary: openslp project development headers Group: Development/C Requires: lib%name = %version-%release %description -n lib%name-devel The OpenSLP project is an effort to develop an open-source implementation of Service Location Protocol suitable for commercial and non-commercial application. This package contains openslp project development headers. %prep %setup -q -n %name-%version %patch1 -p1 %patch2 -p1 sed -i '/OPTFLAGS/ s/-O3/$RPM_OPT_FLAGS/' configure.in %build %autoreconf %configure \ --sharedstatedir=%_datadir \ --localstatedir=/var \ --enable-slpv1 \ --enable-async-api \ --enable-slpv2-security \ --disable-static %make_build %install %define docdir %_docdir/%name-%version %makeinstall_std DOC_DIR=%docdir install -pDm755 %SOURCE1 %buildroot%_initdir/slpd ln -s ../../%_initdir/slpd %buildroot%_sbindir/rcslpd ln -s ../../%_initdir/slpd %buildroot%_sbindir/rcopenslp mkdir -p %buildroot%_sysconfdir/slp.reg.d %post daemon %post_service slpd %preun daemon %preun_service slpd %files %_bindir/* %config(noreplace) %_sysconfdir/slp.conf %config(noreplace) %_sysconfdir/slp.spi %files daemon %attr(755,root,root) %config(noreplace) %_initdir/slpd %config(noreplace) %_sysconfdir/slp.reg %dir %_sysconfdir/slp.reg.d/ %_sbindir/* %files doc %docdir/ %files -n lib%name %_libdir/*.so.* %files -n lib%name-devel %_libdir/*.so %_includedir/* %changelog * Mon Apr 15 2013 Dmitry V. Levin (QA) <qa_ldv@altlinux.org> 1.2.1-alt4.qa1 - NMU: rebuilt for debuginfo. * Fri Oct 01 2010 Dmitry V. Levin <ldv@altlinux.org> 1.2.1-alt4 - Cleaned up the package a bit. - Built with libcrypto.so.10. * Thu Feb 25 2010 Mikhail Efremov <sem@altlinux.org> 1.2.1-alt3 - fix memcpy usage. - minor spec cleanup - remove obsoleted macroses call * Sat Aug 09 2008 ALT QA Team Robot <qa-robot@altlinux.org> 1.2.1-alt2.1.1 - Automated rebuild due to libcrypto.so.6 -> libcrypto.so.7 soname change. * Fri Dec 29 2006 ALT QA Team Robot <qa-robot@altlinux.org> 1.2.1-alt2.1 - Rebuilt due to libcrypto.so.4 -> libcrypto.so.6 soname change. * Thu Sep 22 2005 Albert R. Valiev <darkstar@altlinux.ru> 1.2.1-alt2 - Spec fixes * Wed Aug 31 2005 Albert R. Valiev <darkstar@altlinux.ru> 1.2.1-alt1 - New version * Mon Jun 20 2005 Albert R. Valiev <darkstar@altlinux.ru> 1.1.5-alt4 - Fixed #6753 * Sat Feb 05 2005 Albert R. Valiev <darkstar@altlinux.ru> 1.1.5-alt3 - Added --libdir=%_libdir configure option (#6031) * Mon Sep 13 2004 Albert R. Valiev <darkstar@altlinux.ru> 1.1.5-alt2 - Added daemon init script - Added Suse extensions and authentication patches * Tue Dec 16 2003 Albert R. Valiev <darkstar@altlinux.ru> 1.1.5-alt1 - Initial build |