e95a78f
%define major_version 1.2
2bbad6a
%define minor_version 16
e95a78f
e95a78f
%define shortname 389-ds
e95a78f
%define pkgname   dirsrv
e95a78f
e95a78f
Name: 389-ds-console
e95a78f
Version: %{major_version}.%{minor_version}
e9bd5a5
Release: 1%{?dist}
e95a78f
Summary: 389 Directory Server Management Console
e95a78f
e95a78f
Group: Applications/System
e9bd5a5
License: GPLv3
e9bd5a5
URL: http://www.port389.org
e95a78f
e95a78f
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
e95a78f
BuildArch: noarch
e9bd5a5
Source: http://www.port389.org/binaries/%{name}-%{version}.tar.bz2
e95a78f
Requires: 389-admin
e95a78f
BuildRequires: ant >= 1.6.2
e95a78f
BuildRequires: ldapjdk
e95a78f
BuildRequires: idm-console-framework >= 1.1
e95a78f
BuildRequires: java-devel >= 1:1.6.0
fada692
%if 0%{?rhel} < 6
fada692
ExcludeArch: ppc
fada692
%endif
fada692
e95a78f
e95a78f
%description
e95a78f
A Java based remote management console used for managing 389
e95a78f
Directory Server.  The 389 Console is required to load and
e95a78f
run these jar files.
e95a78f
e95a78f
%package          doc
e95a78f
Summary:          Web docs for 389 Directory Server Management Console
e95a78f
Group:            Documentation
e95a78f
Requires:         %{name} = %{version}-%{release}
e95a78f
e95a78f
%description      doc
e95a78f
Web docs for 389 Directory Server Management Console
e95a78f
e95a78f
%prep
e95a78f
%setup -q
e95a78f
                                                                                
e95a78f
%build
e95a78f
%{ant} \
e95a78f
    -Dconsole.location=%{_javadir} \
e95a78f
    -Dbuilt.dir=`pwd`/built
e95a78f
e95a78f
%install
e95a78f
rm -rf $RPM_BUILD_ROOT
e95a78f
install -d $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/html/java
e95a78f
install -m644 built/package/%{shortname}* $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/html/java
e95a78f
install -d $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/manual/en/slapd/help
e95a78f
install -m644 help/en/*.html $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/manual/en/slapd
e95a78f
install -m644 help/en/tokens.map $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/manual/en/slapd
e95a78f
install -m644 help/en/help/*.html $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/manual/en/slapd/help
e95a78f
e95a78f
# create symlinks
e95a78f
pushd $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/html/java
e95a78f
ln -s %{shortname}-%{version}.jar %{shortname}-%{major_version}.jar
e95a78f
ln -s %{shortname}-%{version}.jar %{shortname}.jar
e95a78f
ln -s %{shortname}-%{version}_en.jar %{shortname}-%{major_version}_en.jar
e95a78f
ln -s %{shortname}-%{version}_en.jar %{shortname}_en.jar
e95a78f
popd
e95a78f
e95a78f
%clean
e95a78f
rm -rf $RPM_BUILD_ROOT
e95a78f
e95a78f
%files
e95a78f
%defattr(-,root,root,-)
e95a78f
%doc LICENSE
e95a78f
%{_datadir}/%{pkgname}/html/java/%{shortname}-%{version}.jar
e95a78f
%{_datadir}/%{pkgname}/html/java/%{shortname}-%{major_version}.jar
e95a78f
%{_datadir}/%{pkgname}/html/java/%{shortname}.jar
e95a78f
%{_datadir}/%{pkgname}/html/java/%{shortname}-%{version}_en.jar
e95a78f
%{_datadir}/%{pkgname}/html/java/%{shortname}-%{major_version}_en.jar
e95a78f
%{_datadir}/%{pkgname}/html/java/%{shortname}_en.jar
e95a78f
e95a78f
%files doc
e95a78f
%defattr(-,root,root,-)
e95a78f
%dir %{_datadir}/%{pkgname}/manual/en/slapd
e95a78f
%doc %{_datadir}/%{pkgname}/manual/en/slapd/tokens.map
e95a78f
%doc %{_datadir}/%{pkgname}/manual/en/slapd/*.html
e95a78f
%doc %{_datadir}/%{pkgname}/manual/en/slapd/help/*.html
e95a78f
                                                                                
e95a78f
%changelog
2bbad6a
* Wed Oct 19 2016 Mark Reynolds <mreynolds@redhat.com> - 1.2.16-1
2bbad6a
- Bump version to 1.2.16
2bbad6a
- Ticket 48743 - ds-console enables obsolete SSL ciphers by default
2bbad6a
e9bd5a5
* Wed Oct 12 2016 Mark Reynolds <mreynolds@redhat.com> - 1.2.15-1
e9bd5a5
- Bumped version to 1.2.15
e9bd5a5
- Ticket 49003 - Managed role error dialog empty
e9bd5a5
- Ticket 49003 - Add the host and port to the ldapurl in the role form
e9bd5a5
- Ticket 48926 - Fixed reset & save button behavior in the password/account lockout panels
e9bd5a5
- Bumped version to 1.2.14
e9bd5a5
- Ticket 48926 - fix "expiresin" entry definition
e9bd5a5
- Bumped version to 1.2.13
e9bd5a5
- Ticket #48933 - drop support for legacy replication - need to clean code
e9bd5a5
- Ticket 48926 - Inactive "save" button in "Password policy" dialog
e9bd5a5
- Ticket 47469 - Cannot enter time in Replication schedule in console
e9bd5a5
- Ticket 48823 - ds-console - add IPv6 support
e9bd5a5
- Ticket #48417 - ds-console: lower password history minimum to 1
e9bd5a5
ff2287d
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 1.2.12-3
ff2287d
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
ff2287d
f6e4abb
* Tue Jun 16 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.12-2
f6e4abb
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
f6e4abb
83b6d79
* Wed Jun 10 2015 Noriko Hosoi <nhosoi@redhat.com> - 1.2.12-1
83b6d79
- Release 1.2.12
83b6d79
- Ticket 48139 - drop support for legacy replication
83b6d79
83b6d79
* Wed Mar 18 2015 Noriko Hosoi <nhosoi@redhat.com> - 1.2.11-1
83b6d79
- Release 1.2.11
83b6d79
- Ticket 48130 - Add "+all" and "-TLS_RSA_WITH_AES_128_GCM_SHA256" to Console Cipher Preference for TLS
83b6d79
6e37096
* Wed Feb 11 2015 Noriko Hosoi <nhosoi@redhat.com> - 1.2.10-1
6e37096
- Bumped version to 1.2.10
6e37096
- Bug 1022104 - Remove versioned jarfiles from _javadir (idm-console-framework)
6e37096
fb030ad
* Wed Feb 04 2015 Noriko Hosoi <nhosoi@redhat.com> - 1.2.9-1
fb030ad
- Bumped version to 1.2.9
fb030ad
- Bug 1184175 - DS Console always sets nsSSL3 to "on" when a securty setting is adjusted (DS 47994)
fb030ad
- Bug 916045  - RFE: Winsync loses connection with AD objects when they move from the console. (#47380)
fb030ad
- Bug 1173281 - DS console - right clicking an object does not select that object (#135)
fb030ad
- Bug 1134688 - DS Console does not correctly disable SSL (#47887)
fb030ad
- Bug 963254  - DS instance cannot be restored from remote console (#47485)
fb030ad
- Ticket 47886 - DS Console - mouse wheel speed very slow
fb030ad
- Bug 758983  - DS Console should timeout when mismatched port and protocol combination is chosen (#176)
fb030ad
- Bug 1173283 - DS Console - java exception when refreshing  schema (#47883)
fb030ad
- Bug 1173284 - Window too large for Manage password policy (#96)
fb030ad
33d5df9
* Fri Jun 06 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.7-4
33d5df9
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
33d5df9
a2555e4
* Fri Aug 02 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.7-3
a2555e4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
a2555e4
4e85684
* Wed Feb 13 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.7-2
4e85684
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
4e85684
edf7c90
* Fri Sep 21 2012 Mark Reynolds <mareynol@redhat.com> 1.2.7-1
edf7c90
- git tag 389-ds-console-1.2.7
edf7c90
- Bug 806566 - Opening merge qualifier CoS entry using RHDS console changes the entr
edf7c90
- Bug 757773 - SSL Port issue in Console
edf7c90
2e78fe0
* Wed Jul 18 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.6-3
2e78fe0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild
2e78fe0
646f7fe
* Thu Jan 12 2012 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.6-2
646f7fe
- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild
646f7fe
476c2f5
* Fri Jun 17 2011 Rich Megginson <rmeggins@redhat.com> 1.2.6-1
476c2f5
- git tag 389-ds-console-1.2.6
476c2f5
- added skins support
476c2f5
- Bug 700908 - Validate matching rules when creating a new attribute
476c2f5
- Bug 705753 - Refresh problem in Console directory browser
476c2f5
872ee2e
* Wed Mar 30 2011 Rich Megginson <rmeggins@redhat.com> 1.2.5-1
872ee2e
- the 1.2.5 release - git tag 389-ds-console-1.2.5
872ee2e
- Bug 616707 - Add attribute matching rule UI to Console
872ee2e
- Bug 533505 - Warn about CA cert trust when enabling SSL in Console
872ee2e
- Bug 158262 - Windows Sync UI is inconistent
872ee2e
- Bug 504803 - Allow nsslapd-*-logmaxdiskspace to be set to -1 in UI
872ee2e
- Bug 474113 - Allow access log level to be configured from Console
872ee2e
- Bug 229693 - Update naming attribute when objectclass is removed
872ee2e
- Bug 211296 - Clean up all HTML pages (Admin Express, Repl Monitor, etc)
872ee2e
e0b9f12
* Wed Feb 23 2011 Rich Megginson <rmeggins@redhat.com> 1.2.4-1
e0b9f12
- the 1.2.4 release - git tag 389-ds-console-1.2.4
e0b9f12
- Bug 450016 - RFE- Console display values in KB/MB/GB
e0b9f12
- Bug 387981 - plain files can be chosen on the Restore Directory dialog
e0b9f12
- Bug 661116 - 389-console Configuration tab admin permissions (nsslapd-referral ?) and folder not expending immediatly
e0b9f12
- Bug 151705 - Need to update Console Cipher Preferences with new ciphers
e0b9f12
- Bug 553066 - Directory Console: do not display "subtree" index type
e0b9f12
- Bug 599732 - Root node in directory browser shows DN syntax error
e0b9f12
cc0a50f
* Mon Feb 07 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.3-2
cc0a50f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
cc0a50f
18c5fc3
* Thu May 13 2010 Rich Megginson <rmeggins@redhat.com> 1.2.3-1
18c5fc3
- the 1.2.3 release
18c5fc3
932c951
* Fri Apr 30 2010 Rich Megginson <rmeggins@redhat.com> 1.2.2-1
932c951
- the 1.2.2 release
932c951
79afb3b
* Thu Apr 15 2010 Rich Megginson <rmeggins@redhat.com> 1.2.1-1
79afb3b
- the 1.2.1 release
79afb3b
fada692
* Fri Dec 18 2009 Rich Megginson <rmeggins@redhat.com> - 1.2.0-6
fada692
- Excluding PPC for EPEL builds as there is not openjdk there
fada692
cc5b346
* Wed Aug 12 2009 Rich Megginson <rmeggins@redhat.com> 1.2.0-5
cc5b346
- final rebuild for 1.2.0 release
cc5b346
04ee2cf
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.0-4
04ee2cf
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
04ee2cf
e95a78f
* Tue Jul 14 2009 Rich Megginson <rmeggins@redhat.com> 1.2.0-3
e95a78f
- added doc subpackage
e95a78f
e95a78f
* Fri May 15 2009 Rich Megginson <rmeggins@redhat.com> 1.2.0-2
e95a78f
- rename to 389
e95a78f
e95a78f
* Tue Mar 31 2009 Rich Megginson <rmeggins@redhat.com> 1.2.0-1
e95a78f
- this is the 1.2.0 release
e95a78f
e95a78f
* Tue Mar 31 2009 Rich Megginson <rmeggins@redhat.com> 1.1.3-1
e95a78f
- this is the 1.1.3 release
e95a78f
e95a78f
* Thu Sep  4 2008 Rich Megginson <rmeggins@redhat.com> 1.1.2-2
e95a78f
- fixed incorrect source
e95a78f
e95a78f
* Thu Jul  3 2008 Rich Megginson <rmeggins@redhat.com> 1.1.2-1
e95a78f
- fix threading issues with create new ds instance dialog
e95a78f
e95a78f
* Wed Apr 16 2008 Rich Megginson <rmeggins@redhat.com> 1.1.1-3
e95a78f
- use java-devel > 1.5.0 for build requires
e95a78f
e95a78f
* Tue Jan 22 2008 Rich Megginson <rmeggins@redhat.com> 1.1.1-2
e95a78f
- resolves bug 429421
e95a78f
- had incorrect source - new source has been uploaded
e95a78f
e95a78f
* Thu Jan 10 2008 Rich Megginson <rmeggins@redhat.com> 1.1.1-1
e95a78f
- changes for fedora package review
e95a78f
- added requires for icedtea java
e95a78f
- added LICENSE
e95a78f
e95a78f
* Wed Dec 19 2007 Rich Megginson <rmeggins@redhat.com> 1.1.0-5
e95a78f
- This is for the Fedora DS 1.1 release
e95a78f
e95a78f
* Mon Aug 13 2007 Nathan Kinder <nkinder@redhat.com> 1.1.0-4
e95a78f
- Added online help files to package. Use pkgname for filesystem
e95a78f
  path naming instead of shortname.
e95a78f
e95a78f
* Wed Aug  1 2007 Nathan Kinder <nkinder@redhat.com> 1.1.0-3
e95a78f
- Updated build requirement for new console framework package.
e95a78f
Updated install location and Admin Server dependency. Also did
e95a78f
some specfile cleanup.
e95a78f
e95a78f
* Mon Jul 30 2007 Nathan Kinder <nkinder@redhat.com> 1.1.0-2
e95a78f
- Updated requirements.
e95a78f
e95a78f
* Mon Nov 14 2005 Nathan Kinder <nkinder@redhat.com> 1.1.0-1
e95a78f
- Initial creation