source:
server/fedora/specs/nss-ldapd.spec.patch
@
1114
Last change on this file since 1114 was 950, checked in by quentin, 16 years ago | |
---|---|
File size: 2.0 KB |
-
nss-ldapd.spec
old new 11 11 # norootforbuild 12 12 13 13 Name: nss-ldapd 14 BuildRequires: db-devel krb5-devel openldap2-devel 14 BuildRequires: db4-devel krb5-devel openldap-devel autoconf automake libtool 15 Conflicts: nss_ldap 15 16 License: LGPL v2.1 or later 16 17 Group: Productivity/Networking/LDAP/Clients 17 18 Autoreqprov: on 18 19 Version: 0.6.4 19 Release: 2.420 Release: 3.1.scripts.%{scriptsversion} 20 21 Summary: NSS LDAP Daemon and Module 21 22 URL: http://ch.tudelft.nl/~arthur/nss-ldapd/ 22 23 Source: nss-ldapd-%{version}.tar.bz2 23 Source1: rc.nslcd 24 Patch1000: rc.nslcd.patch 24 25 BuildRoot: %{_tmppath}/%{name}-%{version}-build 25 26 26 27 %description … … 34 35 West Consulting <info@west.nl> 35 36 Arthur de Jong <arthur@ch.tudelft.nl> 36 37 37 %debug_package38 39 38 %prep 40 39 %setup -q 41 cp -v %{S:1} . 40 %patch1000 -p0 -b .rc 42 41 43 42 %build 44 43 %{?suse_update_config:%{suse_update_config -f}} … … 58 57 mkdir -p $RPM_BUILD_ROOT/etc/init.d/ 59 58 mkdir -p $RPM_BUILD_ROOT/usr/sbin/ 60 59 install -m 755 rc.nslcd $RPM_BUILD_ROOT/etc/init.d/nslcd 61 ln -sf ../../etc/init.d/nslcd $RPM_BUILD_ROOT/usr/sbin/rcnslcd62 60 make DESTDIR=$RPM_BUILD_ROOT install 63 61 mkdir -p $RPM_BUILD_ROOT/var/run/nslcd 64 62 install -m 644 man/nss-ldapd.conf.5 $RPM_BUILD_ROOT/usr/share/man/man5 … … 70 68 %post 71 69 /sbin/ldconfig 72 70 73 %preun74 %stop_on_removal nslcd75 76 71 %postun 77 72 /sbin/ldconfig 78 %restart_on_update nslcd79 %insserv_cleanup80 73 81 74 %files 82 75 %defattr(-,root,root) … … 86 79 %doc %{_mandir}/man8/* 87 80 %config(noreplace) /etc/nss-ldapd.conf 88 81 %config /etc/init.d/nslcd 89 /usr/sbin/rcnslcd90 82 %dir /var/run/nslcd 91 83 /usr/sbin/nslcd 92 84 93 85 %changelog 86 * Wed Dec 31 2008 <quentin@mit.edu> - 0.6.4-3.0 87 - add init script for Fedora 88 * Wed Dec 31 2008 <quentin@mit.edu> - 0.6.4-2.4 89 - port from openSUSE to Fedora 94 90 * Wed Aug 6 2008 rhafer@suse.de 95 91 - rename init script to nslcd to match the name of the daemon 96 92 binary
Note: See TracBrowser
for help on using the repository browser.