diff --git a/.cvsignore b/.cvsignore deleted file mode 100644 index 6b9dab1..0000000 --- a/.cvsignore +++ /dev/null @@ -1 +0,0 @@ -389-console-1.1.3.tar.bz2 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..757c625 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +389-console-1.1.4.tar.bz2 +/389-console-1.1.7.tar.bz2 diff --git a/389-console.spec b/389-console.spec index 0ead59e..3851532 100644 --- a/389-console.spec +++ b/389-console.spec @@ -1,9 +1,12 @@ %define major_version 1.1 -%define minor_version 3 +%define minor_version 7 + +# only have localization for en right now +%global consolelang en Name: 389-console Version: %{major_version}.%{minor_version} -Release: 5%{?dist} +Release: 3%{?dist} Summary: 389 Management Console Group: Applications/System @@ -15,14 +18,18 @@ BuildArch: noarch Source: http://port389.org/sources/%{name}-%{version}.tar.bz2 Requires: idm-console-framework Requires: java >= 1:1.6.0 -Requires: which +Requires: jpackage-utils BuildRequires: ant BuildRequires: ldapjdk BuildRequires: jss BuildRequires: idm-console-framework BuildRequires: java-devel >= 1:1.6.0 +BuildRequires: jpackage-utils Provides: fedora-idm-console = %{version}-%{release} Obsoletes: fedora-idm-console < 1.1.3-2 +%if 0%{?rhel} < 6 +ExcludeArch: ppc +%endif %description A Java based remote management console used for managing 389 @@ -33,7 +40,8 @@ Administration Server and 389 Directory Server. %build %{ant} \ - -Dbuilt.dir=`pwd`/built + -Dbuilt.dir=`pwd`/built \ + buildnoscript # add -Dlib.dir and -Dneed_libdir on those platforms where # jss is installed in a non-standard location @@ -43,27 +51,60 @@ Administration Server and 389 Directory Server. rm -rf $RPM_BUILD_ROOT install -d $RPM_BUILD_ROOT%{_javadir} install -m644 built/*.jar $RPM_BUILD_ROOT%{_javadir} -install -d $RPM_BUILD_ROOT%{_bindir} -install -m755 built/%{name} $RPM_BUILD_ROOT/%{_bindir} # create symlinks pushd $RPM_BUILD_ROOT%{_javadir} -ln -s %{name}-%{version}_en.jar %{name}-%{major_version}_en.jar -ln -s %{name}-%{version}_en.jar %{name}_en.jar +ln -s %{name}-%{version}_%{consolelang}.jar %{name}-%{major_version}_%{consolelang}.jar +ln -s %{name}-%{version}_%{consolelang}.jar %{name}_%{consolelang}.jar popd +install -d $RPM_BUILD_ROOT%{_sysconfdir}/java +cat > $RPM_BUILD_ROOT%{_sysconfdir}/java/%{name}.conf < - 1.1.7-3 +- had to move some stuff around to make jpackage_script happy - it's magic + +* Fri Oct 7 2011 Rich Megginson - 1.1.7-2 +- script was not being created as executable + +* Tue Jun 14 2011 Rich Megginson - 1.1.7-1 +- use jpackage_script instead of packaging our own shell script +- support "skins" package for other brands/versions + +* Thu Apr 15 2010 Rich Megginson - 1.1.4-1 +- 1.1.4 release + +* Fri Nov 06 2009 Michael Stahnke - 1.1.3-6 +- ExcludeArch ppc due to no openjdk, thus no idm-console-framework + * Wed Sep 30 2009 Rich Megginson 1.1.3-5 - bug 521523 - add the "which" package to the Requires diff --git a/Makefile b/Makefile deleted file mode 100644 index ed03d47..0000000 --- a/Makefile +++ /dev/null @@ -1,21 +0,0 @@ -# Makefile for source rpm: 389-console -# $Id$ -NAME := 389-console -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/import.log b/import.log deleted file mode 100644 index ecefa78..0000000 --- a/import.log +++ /dev/null @@ -1 +0,0 @@ -89-console-1_1_3-2:HEAD:389-console-1.1.3-2.src.rpm:1245357596 diff --git a/sources b/sources index 7d12a79..49c37fc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -65cc927851ae61d0763ea61fd92f18f9 389-console-1.1.3.tar.bz2 +e2c92a908c633fffe79de8add27906c6 389-console-1.1.7.tar.bz2