diff --git a/.gitignore b/.gitignore index 1c35865..757c625 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +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 a59f2f6..ea4124d 100644 --- a/389-console.spec +++ b/389-console.spec @@ -1,5 +1,8 @@ %define major_version 1.1 -%define minor_version 4 +%define minor_version 7 + +# only have localization for en right now +%global consolelang en Name: 389-console Version: %{major_version}.%{minor_version} @@ -15,12 +18,13 @@ 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 @@ -36,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 @@ -46,13 +51,24 @@ 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} +install -d $RPM_BUILD_ROOT%{_sysconfdir}/java +cat > $RPM_BUILD_ROOT%{_sysconfdir}/java/%{name}.conf < - 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 diff --git a/sources b/sources index 807cb3b..49c37fc 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -eaa1b54b2fcc527c37a25e3b5d194fb4 389-console-1.1.4.tar.bz2 +e2c92a908c633fffe79de8add27906c6 389-console-1.1.7.tar.bz2