Compare commits

...
This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.

6 commits

Author SHA1 Message Date
Fedora Release Engineering
1a8db82f94 dist-git conversion 2010-07-28 08:43:48 +00:00
Richard Allen Megginson
b08714b306 the 1.1.5 release 2010-06-02 15:11:52 +00:00
Richard Allen Megginson
c7068061c2 exclude platforms that do not support openjdk 2009-12-18 16:47:50 +00:00
Bill Nottingham
ce0c9b9ec9 Fix typo that causes a failure to update the common directory. (releng
#2781)
2009-11-25 23:49:51 +00:00
Richard Allen Megginson
b0f46bfdb4 initial commit for all branches 2009-07-17 17:23:50 +00:00
Jason ティビツ
6005330f46 Initialize branch F-11 for 389-admin-console 2009-07-17 15:37:22 +00:00
5 changed files with 129 additions and 21 deletions

View file

1
.gitignore vendored Normal file
View file

@ -0,0 +1 @@
389-admin-console-1.1.5.tar.bz2

127
389-admin-console.spec Normal file
View file

@ -0,0 +1,127 @@
%define major_version 1.1
%define minor_version 5
%define shortname 389-admin
%define pkgname dirsrv
Name: 389-admin-console
Version: %{major_version}.%{minor_version}
Release: 1%{?dist}
Summary: 389 Admin Server Management Console
Group: Applications/System
License: GPLv2
URL: http://port389.org
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch: noarch
Source: http://port389.org/sources/%{name}-%{version}.tar.bz2
Requires: 389-admin
BuildRequires: ant >= 1.6.2
BuildRequires: ldapjdk
BuildRequires: idm-console-framework
BuildRequires: java-devel >= 1:1.6.0
Provides: fedora-ds-admin-console = %{version}-%{release}
Obsoletes: fedora-ds-admin-console < 1.1.4-1
%if 0%{?rhel} < 6
ExcludeArch: ppc
%endif
%description
A Java based remote management console used for Managing 389
Admin Server. Requires the 389 Console to load and run the
jar files.
%package doc
Summary: Web docs for 389 Admin Server Management Console
Group: Documentation
Requires: %{name} = %{version}-%{release}
%description doc
Web docs for 389 Admin Server Management Console
%prep
%setup -q
%build
%{ant} \
-Dconsole.location=%{_javadir} \
-Dbuilt.dir=`pwd`/built
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/html/java
install -m644 built/package/%{shortname}* $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/html/java
install -d $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/manual/en/admin/help
install -m644 help/en/*.html $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/manual/en/admin
install -m644 help/en/tokens.map $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/manual/en/admin
install -m644 help/en/help/*.html $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/manual/en/admin/help
# create symlinks
pushd $RPM_BUILD_ROOT%{_datadir}/%{pkgname}/html/java
ln -s %{shortname}-%{version}.jar %{shortname}-%{major_version}.jar
ln -s %{shortname}-%{version}.jar %{shortname}.jar
ln -s %{shortname}-%{version}_en.jar %{shortname}-%{major_version}_en.jar
ln -s %{shortname}-%{version}_en.jar %{shortname}_en.jar
popd
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(-,root,root,-)
%doc LICENSE
%{_datadir}/%{pkgname}/html/java/%{shortname}-%{version}.jar
%{_datadir}/%{pkgname}/html/java/%{shortname}-%{major_version}.jar
%{_datadir}/%{pkgname}/html/java/%{shortname}.jar
%{_datadir}/%{pkgname}/html/java/%{shortname}-%{version}_en.jar
%{_datadir}/%{pkgname}/html/java/%{shortname}-%{major_version}_en.jar
%{_datadir}/%{pkgname}/html/java/%{shortname}_en.jar
%files doc
%defattr(-,root,root,-)
%dir %{_datadir}/%{pkgname}/manual/en/admin
%doc %{_datadir}/%{pkgname}/manual/en/admin/tokens.map
%doc %{_datadir}/%{pkgname}/manual/en/admin/*.html
%doc %{_datadir}/%{pkgname}/manual/en/admin/help/*.html
%changelog
* Wed Jun 2 2010 Rich Megginson <rmeggins@redhat.com> - 1.1.5-1
- the 1.1.5 release
* Fri Dec 18 2009 Rich Megginson <rmeggins@redhat.com> - 1.1.4-2
- Excluding PPC for EPEL builds as there is not openjdk there
* Tue Jul 14 2009 Rich Megginson <rmeggins@redhat.com> 1.1.4-1
- relicense source files under GPLv2
- create doc sub package
* Fri May 15 2009 Rich Megginson <rmeggins@redhat.com> 1.1.3-2
- rename to 389
* Tue Mar 31 2009 Rich Megginson <rmeggins@redhat.com> 1.1.3-1
- this is the 1.1.3 release
* Thu Jul 3 2008 Rich Megginson <rmeggins@redhat.com> 1.1.2-1
- disable SSLv2 settings
* Wed Jan 16 2008 Rich Megginson <rmeggins@redhat.com> 1.1.1-2
- rename package to fedora-ds-admin-console
* Thu Jan 10 2008 Rich Megginson <rmeggins@redhat.com> 1.1.1-1
- changes for fedora package review
- added requires for icedtea java
- added LICENSE
* Wed Dec 19 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-4
- This is for the Fedora DS 1.1 release
* Thu Oct 25 2007 Rich Megginson <rmeggins@redhat.com> - 1.1.0-3
- updated sources - use dirsrv as package name
* Wed Aug 8 2007 Nathan Kinder <nkinder@redhat.com> 1.1.0-2
- Added online help files into package.
* Thu Aug 2 2007 Nathan Kinder <nkinder@redhat.com> 1.1.0-1
- Initial creation

View file

@ -1,21 +0,0 @@
# Makefile for source rpm: 389-admin-console
# $Id$
NAME := 389-admin-console
SPECFILE = $(firstword $(wildcard *.spec))
define find-makefile-common
for d in common ../common ../../common ; do if [ -f $$d/Makefile.common ] ; then if [ -f $$d/CVS/Root -a -w $$/Makefile.common ] ; then cd $$d ; cvs -Q update ; fi ; echo "$$d/Makefile.common" ; break ; fi ; done
endef
MAKEFILE_COMMON := $(shell $(find-makefile-common))
ifeq ($(MAKEFILE_COMMON),)
# attept a checkout
define checkout-makefile-common
test -f CVS/Root && { cvs -Q -d $$(cat CVS/Root) checkout common && echo "common/Makefile.common" ; } || { echo "ERROR: I can't figure out how to checkout the 'common' module." ; exit -1 ; } >&2
endef
MAKEFILE_COMMON := $(shell $(checkout-makefile-common))
endif
include $(MAKEFILE_COMMON)

View file

@ -0,0 +1 @@
14bc2716b57bc4e79128548234850179 389-admin-console-1.1.5.tar.bz2