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 6c407ee..402dc0e 100644 --- a/389-console.spec +++ b/389-console.spec @@ -1,9 +1,12 @@ %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} -Release: 2%{?dist} +Release: 1%{?dist} Summary: 389 Management Console Group: Applications/System @@ -15,17 +18,16 @@ 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 -Provides: fedora-idm-console = %{version}-%{release} -Obsoletes: fedora-idm-console < 1.1.3-2 -%if 0%{?rhel} < 6 -ExcludeArch: ppc -%endif +BuildRequires: jpackage-utils +%if 0%{?rhel} < 6 +ExcludeArch: ppc +%endif %description A Java based remote management console used for managing 389 @@ -36,7 +38,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 +49,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 + * Mon Feb 07 2011 Fedora Release Engineering - 1.1.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild 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