From aa354b22a639f2f2427061b376b528c606e66c95 Mon Sep 17 00:00:00 2001 From: Richard Allen Megginson Date: Jun 04 2009 15:50:45 +0000 Subject: Initial commit --- diff --git a/.cvsignore b/.cvsignore index e69de29..109f97e 100644 --- a/.cvsignore +++ b/.cvsignore @@ -0,0 +1 @@ +389-dsgw-1.1.3.tar.bz2 diff --git a/389-dsgw.spec b/389-dsgw.spec new file mode 100644 index 0000000..a086fbc --- /dev/null +++ b/389-dsgw.spec @@ -0,0 +1,105 @@ +%define pkgname dirsrv + +Summary: 389 Directory Server Gateway (dsgw) +Name: 389-dsgw +Version: 1.1.3 +Release: 1%{?dist} +License: GPLv2 +URL: http://port389.org/ +Group: System Environment/Daemons +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) + +BuildRequires: nspr-devel +BuildRequires: nss-devel +BuildRequires: svrcore-devel +BuildRequires: mozldap-devel +BuildRequires: cyrus-sasl-devel +BuildRequires: icu +BuildRequires: libicu-devel +BuildRequires: adminutil-devel >= 1.1.8 + +Requires: /etc/dirsrv/admin-serv/httpd.conf +# orgchart uses perldap +Requires: perl-Mozilla-LDAP +Provides: fedora-ds-dsgw = %{version}-%{release} +Obsoletes: fedora-ds-dsgw < 1.1.3-1 + +Source0: http://port389.org/sources/%{name}-%{version}.tar.bz2 + +%description +389 Directory Server Gateway is a collection of 3 web applications +that run on top of the Administration Server used by the Directory +Server. These 3 applications are: +* phonebook - a simple phonebook application geared towards end users, +with simple search screens and simple self-service management +* orgchart - an organization chart viewer +* gateway - a more advanced search interface that allows admins to +create and edit user entries, and allows creation of templates for +different types of user and group entries + +%prep +%setup -q -n %{name}-%{version} + +%build +%configure --disable-rpath + +# Generate symbolic info for debuggers +export XCFLAGS=$RPM_OPT_FLAGS + +%ifarch x86_64 ppc64 ia64 s390x sparc64 +export USE_64=1 +%endif + +make %{?_smp_mflags} + +%install +rm -rf $RPM_BUILD_ROOT + +make DESTDIR="$RPM_BUILD_ROOT" install + +# make cookie db directory +mkdir -p $RPM_BUILD_ROOT%{_localstatedir}/run/%{pkgname}/dsgw/cookies + +%clean +rm -rf $RPM_BUILD_ROOT + +%post +# this has been problematic - if this directory +# does not exist, the server will silently fail to +# start - however, if the user has already created +# it, we don't want to overwrite the permissions +# on it - so we can't list it explicitly in the +# files section +if [ ! -d %{_localstatedir}/run/%{pkgname}/dsgw/cookies ] ; then + mkdir -p %{_localstatedir}/run/%{pkgname}/dsgw/cookies +fi + +%files +%defattr(-,root,root,-) +%doc LICENSE +%dir %{_sysconfdir}/%{pkgname}/dsgw +%config(noreplace)%{_sysconfdir}/%{pkgname}/dsgw/*.conf +%{_datadir}/%{pkgname}/dsgw +%{_datadir}/%{pkgname}/manual/*/dsgw +%{_datadir}/%{pkgname}/properties/dsgw +%{_sbindir}/* +%{_libdir}/%{pkgname}/dsgw-cgi-bin + +%changelog +* Wed Jun 3 2009 Rich Megginson - 1.1.3-1 +- bump version to 1.1.3 for fedora package review + +* Fri May 15 2009 Rich Megginson - 1.1.2-3 +- rename to 389 + +* Tue Apr 21 2009 Orion Poplawski - 1.1.2-2 +- Make adminutil-devel BR >= 1.1.8 + +* Tue Mar 31 2009 Rich Megginson - 1.1.2-1 +- this is the 1.1.2 release + +* Thu Sep 4 2008 Rich Megginson - 1.1.1-1 +- this is the 1.1.1 release + +* Mon Mar 3 2008 Rich Megginson - 1.1.0-1 +- Initial version based on fedora-ds-admin.spec diff --git a/import.log b/import.log new file mode 100644 index 0000000..5d35bb5 --- /dev/null +++ b/import.log @@ -0,0 +1 @@ +89-dsgw-1_1_3-1:HEAD:389-dsgw-1.1.3-1.src.rpm:1244130671 diff --git a/sources b/sources index e69de29..eb675c7 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +cd46daccd82073e859c9531d50057a2c 389-dsgw-1.1.3.tar.bz2