b1006d7
%define major_version 1.1
8c9da08
%define minor_version 8
b1006d7
b1006d7
%define shortname 389-admin
b1006d7
%define pkgname dirsrv
b1006d7
b1006d7
Name: 389-admin-console
b1006d7
Version: %{major_version}.%{minor_version}
fe6ae5b
Release: 6%{?dist}
b1006d7
Summary: 389 Admin Server Management Console
b1006d7
b1006d7
Group: Applications/System
b1006d7
License: GPLv2
b1006d7
URL: http://port389.org
b1006d7
b1006d7
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
b1006d7
BuildArch: noarch
b1006d7
Source: http://port389.org/sources/%{name}-%{version}.tar.bz2
b1006d7
Requires: 389-admin
b1006d7
BuildRequires: ant >= 1.6.2
b1006d7
BuildRequires: ldapjdk
b1006d7
BuildRequires: idm-console-framework
b1006d7
BuildRequires: java-devel >= 1:1.6.0
b1006d7
Provides: fedora-ds-admin-console = %{version}-%{release}
b1006d7
Obsoletes: fedora-ds-admin-console < 1.1.4-1
29b39f0
%if 0%{?rhel} < 6
29b39f0
ExcludeArch: ppc
29b39f0
%endif
29b39f0
b1006d7
b1006d7
%description
b1006d7
A Java based remote management console used for Managing 389
b1006d7
Admin Server.  Requires the 389 Console to load and run the
b1006d7
jar files.
b1006d7
b1006d7
%package          doc
b1006d7
Summary:          Web docs for 389 Admin Server Management Console
b1006d7
Group:            Documentation
b1006d7
Requires:         %{name} = %{version}-%{release}
b1006d7
b1006d7
%description      doc
b1006d7
Web docs for 389 Admin Server Management Console
b1006d7
b1006d7
%prep
b1006d7
%setup -q
b1006d7
                                                                                
b1006d7
%build
b1006d7
%{ant} \
b1006d7
    -Dconsole.location=%{_javadir} \
b1006d7
    -Dbuilt.dir=`pwd`/built
b1006d7
b1006d7
%install
b1006d7
rm -rf $RPM_BUILD_ROOT
b1006d7
install -d $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/html/java
b1006d7
install -m644 built/package/%{shortname}* $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/html/java
b1006d7
install -d $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/manual/en/admin/help
b1006d7
install -m644 help/en/*.html $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/manual/en/admin
b1006d7
install -m644 help/en/tokens.map $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/manual/en/admin
b1006d7
install -m644 help/en/help/*.html $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/manual/en/admin/help
b1006d7
b1006d7
# create symlinks
b1006d7
pushd $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/html/java
b1006d7
ln -s %{shortname}-%{version}.jar %{shortname}-%{major_version}.jar
b1006d7
ln -s %{shortname}-%{version}.jar %{shortname}.jar
b1006d7
ln -s %{shortname}-%{version}_en.jar %{shortname}-%{major_version}_en.jar
b1006d7
ln -s %{shortname}-%{version}_en.jar %{shortname}_en.jar
b1006d7
popd
b1006d7
b1006d7
%clean
b1006d7
rm -rf $RPM_BUILD_ROOT
b1006d7
b1006d7
%files
b1006d7
%defattr(-,root,root,-)
b1006d7
%doc LICENSE
b1006d7
%{_datadir}/%{pkgname}/html/java/%{shortname}-%{version}.jar
b1006d7
%{_datadir}/%{pkgname}/html/java/%{shortname}-%{major_version}.jar
b1006d7
%{_datadir}/%{pkgname}/html/java/%{shortname}.jar
b1006d7
%{_datadir}/%{pkgname}/html/java/%{shortname}-%{version}_en.jar
b1006d7
%{_datadir}/%{pkgname}/html/java/%{shortname}-%{major_version}_en.jar
b1006d7
%{_datadir}/%{pkgname}/html/java/%{shortname}_en.jar
b1006d7
b1006d7
%files doc
b1006d7
%defattr(-,root,root,-)
b1006d7
%dir %{_datadir}/%{pkgname}/manual/en/admin
b1006d7
%doc %{_datadir}/%{pkgname}/manual/en/admin/tokens.map
b1006d7
%doc %{_datadir}/%{pkgname}/manual/en/admin/*.html
b1006d7
%doc %{_datadir}/%{pkgname}/manual/en/admin/help/*.html
b1006d7
b1006d7
%changelog
fe6ae5b
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.8-6
fe6ae5b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
fe6ae5b
2b98aca
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.8-5
2b98aca
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2b98aca
778ed4e
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.8-4
778ed4e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
778ed4e
56029ef
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.8-3
56029ef
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
56029ef
4ed4346
* Wed Dec 14 2011 Rich Megginson <rmeggins@redhat.com> - 1.1.8-2
4ed4346
- Resolves: Bug 766011 - Selecting "Administration Server" in Server Group causes stack trace
4ed4346
- bump rel for java rebuild
4ed4346
8c9da08
* Tue Aug  9 2011 Rich Megginson <rmeggins@redhat.com> - 1.1.8-1
8c9da08
- Bug 723126 - Configure Admin Server -> Connection Restriction --> Add Screen is flicking consistently.
8c9da08
4f23e3c
* Wed Mar 30 2011 Rich Megginson <rmeggins@redhat.com> - 1.1.7-1
4f23e3c
- the 1.1.7 release - git tag 389-admin-console-1.1.7
4f23e3c
- Bug 476925 - Admin Server: Do not allow 8-bit passwords for
4f23e3c
-     the admin user
4f23e3c
- Bug 211296 - Clean up all HTML pages (Admin Express, Repl Monitor, etc)
4f23e3c
72c7de7
* Wed Feb 23 2011 Rich Megginson <rmeggins@redhat.com> - 1.1.6-1
72c7de7
- the 1.1.6 release - git tag 389-admin-console-1.1.6
72c7de7
- Bug 668950 - Add posix group support to Console
72c7de7
- Bug 151705 - Need to update Console Cipher Preferences with new ciphers
72c7de7
 
3be5579
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.5-2
3be5579
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
3be5579
88993fa
* Wed Jun  2 2010 Rich Megginson <rmeggins@redhat.com> - 1.1.5-1
88993fa
- the 1.1.5 release
88993fa
29b39f0
* Fri Dec 18 2009 Rich Megginson <rmeggins@redhat.com> - 1.1.4-3
29b39f0
- Excluding PPC for EPEL builds as there is not openjdk there
29b39f0
acb9302
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.4-2
acb9302
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
acb9302
b1006d7
* Tue Jul 14 2009 Rich Megginson <rmeggins@redhat.com> 1.1.4-1
b1006d7
- relicense source files under GPLv2
b1006d7
- create doc sub package
b1006d7
b1006d7
* Fri May 15 2009 Rich Megginson <rmeggins@redhat.com> 1.1.3-2
b1006d7
- rename to 389
b1006d7
b1006d7
* Tue Mar 31 2009 Rich Megginson <rmeggins@redhat.com> 1.1.3-1
b1006d7
- this is the 1.1.3 release
b1006d7
b1006d7
* Thu Jul  3 2008 Rich Megginson <rmeggins@redhat.com> 1.1.2-1
b1006d7
- disable SSLv2 settings
b1006d7
b1006d7
* Wed Jan 16 2008 Rich Megginson <rmeggins@redhat.com> 1.1.1-2
b1006d7
- rename package to fedora-ds-admin-console
b1006d7
b1006d7
* Thu Jan 10 2008 Rich Megginson <rmeggins@redhat.com> 1.1.1-1
b1006d7
- changes for fedora package review
b1006d7
- added requires for icedtea java
b1006d7
- added LICENSE
b1006d7
b1006d7
* Wed Dec 19 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-4
b1006d7
- This is for the Fedora DS 1.1 release
b1006d7
b1006d7
* Thu Oct 25 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-3
b1006d7
- updated sources - use dirsrv as package name
b1006d7
b1006d7
* Wed Aug  8 2007 Nathan Kinder <nkinder@redhat.com> 1.1.0-2
b1006d7
- Added online help files into package.
b1006d7
b1006d7
* Thu Aug  2 2007 Nathan Kinder <nkinder@redhat.com> 1.1.0-1
b1006d7
- Initial creation