diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index e69de29..0000000 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..dc6267e --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +adminutil-1.1.5.tar.bz2 +adminutil-1.1.6.tar.bz2 +adminutil-1.1.7.tar.bz2 diff --git a/Makefile b/Makefile deleted file mode 100644 index c2c5803..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: adminutil -# $Id$ -NAME := adminutil -SPECFILE = $(firstword $(wildcard *.spec)) - -define find-makefile-common -for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done -endef - -MAKEFILE_COMMON := $(shell $(find-makefile-common)) - -ifeq ($(MAKEFILE_COMMON),) -# attept a checkout -define checkout-makefile-common -test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2 -endef - -MAKEFILE_COMMON := $(shell $(checkout-makefile-common)) -endif - -include $(MAKEFILE_COMMON) diff --git a/adminutil.spec b/adminutil.spec new file mode 100644 index 0000000..53fee4a --- /dev/null +++ b/adminutil.spec @@ -0,0 +1,128 @@ +%define nspr_version 4.6 +%define nss_version 3.11 +%define svrcore_version 4.0 +%define mozldap_version 6.0 +%define icu_version 3.4 + +Summary: Utility library for directory server administration +Name: adminutil +Version: 1.1.7 +Release: 1%{?dist} +License: LGPLv2 +URL: http://directory.fedoraproject.org/wiki/AdminUtil +Group: Development/Libraries +BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) +BuildRequires: nspr-devel >= %{nspr_version} +BuildRequires: nss-devel >= %{nss_version} +BuildRequires: svrcore-devel >= %{svrcore_version} +BuildRequires: mozldap-devel >= %{mozldap_version} +BuildRequires: libicu-devel >= %{icu_version} +BuildRequires: icu >= %{icu_version} + +Source0: http://directory.fedoraproject.org/sources/%{name}-%{version}.tar.bz2 + +%description +%{name} is libraries of functions used to administer directory +servers, usually in conjunction with the admin server. %{name} is +broken into two libraries - libadminutil contains the basic +functionality, and libadmsslutil contains SSL versions and wrappers +around the basic functions. The PSET functions allow applications to +store their preferences and configuration parameters in LDAP, without +having to know anything about LDAP. The configuration is cached in a +local file, allowing applications to function even if the LDAP server +is down. The other code is typically used by CGI programs used for +directory server management, containing GET/POST processing code as +well as resource handling (ICU ures API). + +%package devel +Summary: Development and header files for %{name} +Group: Development/Libraries +Requires: %{name} = %{version}-%{release} +Requires: pkgconfig +Requires: nspr-devel >= %{nspr_version} +Requires: nss-devel >= %{nss_version} +Requires: svrcore-devel >= %{svrcore_version} +Requires: mozldap-devel >= %{mozldap_version} +Requires: libicu-devel >= %{icu_version} + +%description devel +Development files and header files necessary to build applications +that use %{name}. + +%prep +%setup -q + +%build + +%configure --disable-tests +%{__make} %{?_smp_mflags} + +%install +%{__rm} -rf $RPM_BUILD_ROOT + +%{__make} install DESTDIR=$RPM_BUILD_ROOT INSTALL="%{__install} -p" +%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/lib*.a +%{__rm} -f $RPM_BUILD_ROOT%{_libdir}/lib*.la + +%clean +%{__rm} -rf $RPM_BUILD_ROOT + +%post -p /sbin/ldconfig +%postun -p /sbin/ldconfig + +%files +%defattr(-,root,root,-) +%doc LICENSE README NEWS +%{_libdir}/*.so.* +%{_datadir}/%{name} + +%files devel +%defattr(-,root,root,-) +%{_libdir}/pkgconfig/%{name}.pc +%{_libdir}/*.so +%{_includedir}/libadminutil +%{_includedir}/libadmsslutil + +%changelog +* Wed Aug 27 2008 Rich Megginson - 1.1.7-1 +- Resolves bug 454060 - ViewLog CGI crash with new adminutil +- Resolves bug 413531 - Web browser accepted languages configuration causes dsgw CGI binaries to segfault + +* Mon Mar 3 2008 Rich Megginson - 1.1.6-1 +- Resolves bug 245248 - dsgw doesn't escape filename in error message +- The new dsgw hasn't been released yet, and the old one doesn't use +- this code. + +* Thu Oct 18 2007 Rich Megginson - 1.1.5-1 +- bump version to 1.1.5 +- fix icu linking issue +- disable libtool rpath by default - added --enable-rpath option to configure + +* Wed Aug 1 2007 Rich Megginson - 1.1.4-1 +- updated to version 1.1.4 +- fixes bugzilla 250526 + +* Tue Jul 24 2007 Rich Megginson - 1.1.3-1 +- updated to version 1.1.3 +- fixes bugzillas 246124 and 247192 + +* Fri Jun 22 2007 Rich Megginson - 1.1.2-1 +- Updated version to 1.1.2 +- This version fixes some memory leaks and invalid memory use +- issues + +* Wed May 23 2007 Rich Megginson - 1.1.1-3 +- more fedora review stuff - use macros consistently +- make sure install preserves timestamps +- use lgpl instead of gpl for acclanglist.c +- fix undefined weak symbols in libadmsslutil + +* Fri May 18 2007 Rich Megginson - 1.1.1-2 +- pkgconfig is a requires not a build requires + +* Thu May 17 2007 Rich Megginson - 1.1.1-1 +- Many bug fixes - bumped version to 1.1.1 +- fixed concerns from Fedora package review + +* Wed Mar 28 2007 Rich Megginson - 1.1.0-1 +- Initial version - based largely on svrcore.spec diff --git a/sources b/sources index e69de29..3fc6892 100644 --- a/sources +++ b/sources @@ -0,0 +1,3 @@ +1ce95159db07040d7095b805e9b3b533 adminutil-1.1.5.tar.bz2 +b01d441f81d3d260ba84e4f0d5311721 adminutil-1.1.6.tar.bz2 +e7d03be4651b36d1213b4f5cc15dfc5c adminutil-1.1.7.tar.bz2