|
|
e95a78f |
%define major_version 1.2
|
|
|
e95a78f |
%define minor_version 0
|
|
|
e95a78f |
|
|
|
e95a78f |
%define shortname 389-ds
|
|
|
e95a78f |
%define pkgname dirsrv
|
|
|
e95a78f |
|
|
|
e95a78f |
Name: 389-ds-console
|
|
|
e95a78f |
Version: %{major_version}.%{minor_version}
|
|
|
cc5b346 |
Release: 5%{?dist}
|
|
|
e95a78f |
Summary: 389 Directory Server Management Console
|
|
|
e95a78f |
|
|
|
e95a78f |
Group: Applications/System
|
|
|
e95a78f |
License: GPLv2
|
|
|
e95a78f |
URL: http://port389.org
|
|
|
e95a78f |
|
|
|
e95a78f |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
|
|
e95a78f |
BuildArch: noarch
|
|
|
e95a78f |
Source: http://port389.org/sources/%{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
|
|
|
e95a78f |
Provides: fedora-ds-console = %{version}-%{release}
|
|
|
e95a78f |
Obsoletes: fedora-ds-console < 1.2.0-3
|
|
|
34469a4 |
%if 0%{?rhel} < 6
|
|
|
34469a4 |
ExcludeArch: ppc
|
|
|
34469a4 |
%endif
|
|
|
34469a4 |
|
|
|
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
|
|
|
34469a4 |
* Fri Nov 06 2009 Michael Stahnke <stahnma@fedoraproject.org> - 1.1.3-6
|
|
|
34469a4 |
- exclude PPC (no openjdk on ppc, thus no admin console stuff)
|
|
|
34469a4 |
|
|
|
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
|