]> git.pld-linux.org Git - packages/apache-mod_cfg_ldap.git/commitdiff
- added
authoraredridel <aredridel@pld-linux.org>
Wed, 28 Jul 2004 14:53:18 +0000 (14:53 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-mod_cfg_ldap.spec -> 1.1

apache-mod_cfg_ldap.spec [new file with mode: 0644]

diff --git a/apache-mod_cfg_ldap.spec b/apache-mod_cfg_ldap.spec
new file mode 100644 (file)
index 0000000..25a4f16
--- /dev/null
@@ -0,0 +1,46 @@
+%define        apxs            /usr/sbin/apxs
+Summary:       Module to keep Apache VirtualHost configuration in an LDAP directory.
+%define tarname mod_cfg_ldap
+Name:          apache-%{tarname}
+Version:       1.1
+Release:       1
+Group:         Networking/Daemons
+URL:           http://modcfgldap.sourceforge.net/
+Source0:       http://dl.sourceforge.net/modcfgldap/%{tarname}-%{version}.tar.gz
+# Source0-md5: 42f4018277a2d3673d765d1bfd884c89
+License:       BSD
+BuildRequires: %{apxs}
+BuildRequires: apache-devel
+BuildRequires: db-devel >= 4.2.52
+Requires(post,preun):  %{apxs}
+Requires:      apache
+BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+mod_cfg_ldap allows you to keep your virtual host configuration in a
+LDAP directory and update it in nearly realtime.
+
+%prep
+%setup -q -n %{tarname}-%{version}
+
+%build
+%{__make} all
+
+%install
+rm -rf $RPM_BUILD_ROOT
+[ "$RPM_BUILD_ROOT" != "/" ] && rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_libdir}/httpd/modules
+install -m755 .libs/%{tarname}.so $RPM_BUILD_ROOT%{_libdir}/httpd/modules
+
+# Install the config file
+install -d $RPM_BUILD_ROOT%{_sysconfdir}/httpd/httpd.conf
+install cfg_ldap.conf $RPM_BUILD_ROOT%{_sysconfdir}/httpd/httpd.conf/85_mod_cfg_ldap.conf
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog INSTALL README TODO
+%{_libdir}/httpd/modules/*.so
+%config(noreplace) %{_sysconfdir}/httpd/httpd.conf/*.conf
This page took 0.118901 seconds and 4 git commands to generate.