b1006d
%define major_version 1.1
5e0e38
%define minor_version 12
b1006d
b1006d
%define shortname 389-admin
b1006d
%define pkgname dirsrv
b1006d
b1006d
Name: 389-admin-console
b1006d
Version: %{major_version}.%{minor_version}
204a3b
Release: 5%{?dist}
b1006d
Summary: 389 Admin Server Management Console
b1006d
b1006d
Group: Applications/System
5e0e38
License: GPLv3
5e0e38
URL: http://www.port389.org
b1006d
b1006d
BuildArch: noarch
5e0e38
Source: http://www.port389.org/binaries/%{name}-%{version}.tar.bz2
b1006d
Requires: 389-admin
b1006d
BuildRequires: ant >= 1.6.2
b1006d
BuildRequires: ldapjdk
b1006d
BuildRequires: idm-console-framework
b1006d
BuildRequires: java-devel >= 1:1.6.0
b1006d
Provides: fedora-ds-admin-console = %{version}-%{release}
b1006d
Obsoletes: fedora-ds-admin-console < 1.1.4-1
29b39f
%if 0%{?rhel} < 6
29b39f
ExcludeArch: ppc
29b39f
%endif
29b39f
b1006d
b1006d
%description
b1006d
A Java based remote management console used for Managing 389
b1006d
Admin Server.  Requires the 389 Console to load and run the
b1006d
jar files.
b1006d
b1006d
%package          doc
b1006d
Summary:          Web docs for 389 Admin Server Management Console
b1006d
Group:            Documentation
b1006d
Requires:         %{name} = %{version}-%{release}
b1006d
b1006d
%description      doc
b1006d
Web docs for 389 Admin Server Management Console
b1006d
b1006d
%prep
b1006d
%setup -q
b1006d
                                                                                
b1006d
%build
b1006d
%{ant} \
b1006d
    -Dconsole.location=%{_javadir} \
b1006d
    -Dbuilt.dir=`pwd`/built
b1006d
b1006d
%install
b1006d
rm -rf $RPM_BUILD_ROOT
b1006d
install -d $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/html/java
b1006d
install -m644 built/package/%{shortname}* $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/html/java
b1006d
install -d $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/manual/en/admin/help
b1006d
install -m644 help/en/*.html $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/manual/en/admin
b1006d
install -m644 help/en/tokens.map $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/manual/en/admin
b1006d
install -m644 help/en/help/*.html $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/manual/en/admin/help
b1006d
b1006d
# create symlinks
b1006d
pushd $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/html/java
b1006d
ln -s %{shortname}-%{version}.jar %{shortname}-%{major_version}.jar
b1006d
ln -s %{shortname}-%{version}.jar %{shortname}.jar
b1006d
ln -s %{shortname}-%{version}_en.jar %{shortname}-%{major_version}_en.jar
b1006d
ln -s %{shortname}-%{version}_en.jar %{shortname}_en.jar
b1006d
popd
b1006d
b1006d
%files
b1006d
%doc LICENSE
b1006d
%{_datadir}/%{pkgname}/html/java/%{shortname}-%{version}.jar
b1006d
%{_datadir}/%{pkgname}/html/java/%{shortname}-%{major_version}.jar
b1006d
%{_datadir}/%{pkgname}/html/java/%{shortname}.jar
b1006d
%{_datadir}/%{pkgname}/html/java/%{shortname}-%{version}_en.jar
b1006d
%{_datadir}/%{pkgname}/html/java/%{shortname}-%{major_version}_en.jar
b1006d
%{_datadir}/%{pkgname}/html/java/%{shortname}_en.jar
b1006d
b1006d
%files doc
b1006d
%dir %{_datadir}/%{pkgname}/manual/en/admin
b1006d
%doc %{_datadir}/%{pkgname}/manual/en/admin/tokens.map
b1006d
%doc %{_datadir}/%{pkgname}/manual/en/admin/*.html
b1006d
%doc %{_datadir}/%{pkgname}/manual/en/admin/help/*.html
b1006d
b1006d
%changelog
204a3b
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.12-5
204a3b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
204a3b
143445
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.12-4
143445
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
143445
ba520d
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.12-3
ba520d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
ba520d
751c96
* Fri Feb 10 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.12-2
751c96
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
751c96
5e0e38
* Wed Oct 12 2016 Mark Reynolds <mreynolds@redhat.com> - 1.1.12-1
5e0e38
- bump version to 1.1.12
5e0e38
- Ticket 48823 - admin-console - Add IPv6 support
5e0e38
- Ticket 48809 - Admin conosle displays the wrong log names
5e0e38
- bump version to 1.1.11
5e0e38
- Bug 1234441 - Security info from Help should be removed
5e0e38
f74997
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.10-3
f74997
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
f74997
0c5276
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.10-2
0c5276
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
0c5276
Noriko Hosoi e1b883
* Wed Feb 11 2015 Noriko Hosoi <nhosoi@redhat.com> - 1.1.10-1
Noriko Hosoi e1b883
- bump version to 1.1.10
Noriko Hosoi e1b883
- Bug 1022104 - Remove versioned jarfiles from _javadir (idm-console-framework)
Noriko Hosoi e1b883
Noriko Hosoi e378bd
* Wed Feb 04 2015 Noriko Hosoi <nhosoi@redhat.com> - 1.1.9-1
Noriko Hosoi e378bd
- bump version to 1.1.9
Noriko Hosoi e378bd
- Bug 886407 - Cannot restart SSL-admin server from console (#47477)
Noriko Hosoi e378bd
- Bug 966958 - Improve online help for Add CRL dialog (#47467)
Noriko Hosoi e378bd
- Bug 844764 - Directory Console generates insufficient key strength (#362)
Noriko Hosoi e378bd
fe09d4
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.8-7
fe09d4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
fe09d4
fe6ae5
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.8-6
fe6ae5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
fe6ae5
2b98ac
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.8-5
2b98ac
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
2b98ac
778ed4
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.8-4
778ed4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
778ed4
56029e
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.8-3
56029e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
56029e
4ed434
* Wed Dec 14 2011 Rich Megginson <rmeggins@redhat.com> - 1.1.8-2
4ed434
- Resolves: Bug 766011 - Selecting "Administration Server" in Server Group causes stack trace
4ed434
- bump rel for java rebuild
4ed434
8c9da0
* Tue Aug  9 2011 Rich Megginson <rmeggins@redhat.com> - 1.1.8-1
8c9da0
- Bug 723126 - Configure Admin Server -> Connection Restriction --> Add Screen is flicking consistently.
8c9da0
4f23e3
* Wed Mar 30 2011 Rich Megginson <rmeggins@redhat.com> - 1.1.7-1
4f23e3
- the 1.1.7 release - git tag 389-admin-console-1.1.7
4f23e3
- Bug 476925 - Admin Server: Do not allow 8-bit passwords for
4f23e3
-     the admin user
4f23e3
- Bug 211296 - Clean up all HTML pages (Admin Express, Repl Monitor, etc)
4f23e3
72c7de
* Wed Feb 23 2011 Rich Megginson <rmeggins@redhat.com> - 1.1.6-1
72c7de
- the 1.1.6 release - git tag 389-admin-console-1.1.6
72c7de
- Bug 668950 - Add posix group support to Console
72c7de
- Bug 151705 - Need to update Console Cipher Preferences with new ciphers
72c7de
 
3be557
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.5-2
3be557
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
3be557
88993f
* Wed Jun  2 2010 Rich Megginson <rmeggins@redhat.com> - 1.1.5-1
88993f
- the 1.1.5 release
88993f
29b39f
* Fri Dec 18 2009 Rich Megginson <rmeggins@redhat.com> - 1.1.4-3
29b39f
- Excluding PPC for EPEL builds as there is not openjdk there
29b39f
acb930
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.4-2
acb930
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
acb930
b1006d
* Tue Jul 14 2009 Rich Megginson <rmeggins@redhat.com> 1.1.4-1
b1006d
- relicense source files under GPLv2
b1006d
- create doc sub package
b1006d
b1006d
* Fri May 15 2009 Rich Megginson <rmeggins@redhat.com> 1.1.3-2
b1006d
- rename to 389
b1006d
b1006d
* Tue Mar 31 2009 Rich Megginson <rmeggins@redhat.com> 1.1.3-1
b1006d
- this is the 1.1.3 release
b1006d
b1006d
* Thu Jul  3 2008 Rich Megginson <rmeggins@redhat.com> 1.1.2-1
b1006d
- disable SSLv2 settings
b1006d
b1006d
* Wed Jan 16 2008 Rich Megginson <rmeggins@redhat.com> 1.1.1-2
b1006d
- rename package to fedora-ds-admin-console
b1006d
b1006d
* Thu Jan 10 2008 Rich Megginson <rmeggins@redhat.com> 1.1.1-1
b1006d
- changes for fedora package review
b1006d
- added requires for icedtea java
b1006d
- added LICENSE
b1006d
b1006d
* Wed Dec 19 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-4
b1006d
- This is for the Fedora DS 1.1 release
b1006d
b1006d
* Thu Oct 25 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-3
b1006d
- updated sources - use dirsrv as package name
b1006d
b1006d
* Wed Aug  8 2007 Nathan Kinder <nkinder@redhat.com> 1.1.0-2
b1006d
- Added online help files into package.
b1006d
b1006d
* Thu Aug  2 2007 Nathan Kinder <nkinder@redhat.com> 1.1.0-1
b1006d
- Initial creation