| 1 |
%define major_version 1.1
|
| 2 |
%define minor_version 3
|
| 3 |
|
| 4 |
Name: 389-console
|
| 5 |
Version: %{major_version}.%{minor_version}
|
| 6 |
Release: 5%{?dist}
|
| 7 |
Summary: 389 Management Console
|
| 8 |
|
| 9 |
Group: Applications/System
|
| 10 |
License: LGPLv2
|
| 11 |
URL: http://port389.org
|
| 12 |
|
| 13 |
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
| 14 |
BuildArch: noarch
|
| 15 |
Source: http://port389.org/sources/%{name}-%{version}.tar.bz2
|
| 16 |
Requires: idm-console-framework
|
| 17 |
Requires: java >= 1:1.6.0
|
| 18 |
Requires: which
|
| 19 |
BuildRequires: ant
|
| 20 |
BuildRequires: ldapjdk
|
| 21 |
BuildRequires: jss
|
| 22 |
BuildRequires: idm-console-framework
|
| 23 |
BuildRequires: java-devel >= 1:1.6.0
|
| 24 |
Provides: fedora-idm-console = %{version}-%{release}
|
| 25 |
Obsoletes: fedora-idm-console < 1.1.3-2
|
| 26 |
|
| 27 |
%description
|
| 28 |
A Java based remote management console used for managing 389
|
| 29 |
Administration Server and 389 Directory Server.
|
| 30 |
|
| 31 |
%prep
|
| 32 |
%setup -q
|
| 33 |
|
| 34 |
%build
|
| 35 |
%{ant} \
|
| 36 |
-Dbuilt.dir=`pwd`/built
|
| 37 |
|
| 38 |
# add -Dlib.dir and -Dneed_libdir on those platforms where
|
| 39 |
# jss is installed in a non-standard location
|
| 40 |
# -Dneed_libdir=yes
|
| 41 |
|
| 42 |
%install
|
| 43 |
rm -rf $RPM_BUILD_ROOT
|
| 44 |
install -d $RPM_BUILD_ROOT%{_javadir}
|
| 45 |
install -m644 built/*.jar $RPM_BUILD_ROOT%{_javadir}
|
| 46 |
install -d $RPM_BUILD_ROOT%{_bindir}
|
| 47 |
install -m755 built/%{name} $RPM_BUILD_ROOT/%{_bindir}
|
| 48 |
|
| 49 |
# create symlinks
|
| 50 |
pushd $RPM_BUILD_ROOT%{_javadir}
|
| 51 |
ln -s %{name}-%{version}_en.jar %{name}-%{major_version}_en.jar
|
| 52 |
ln -s %{name}-%{version}_en.jar %{name}_en.jar
|
| 53 |
popd
|
| 54 |
|
| 55 |
%clean
|
| 56 |
rm -rf $RPM_BUILD_ROOT
|
| 57 |
|
| 58 |
%files
|
| 59 |
%defattr(-,root,root,-)
|
| 60 |
%doc LICENSE
|
| 61 |
%{_javadir}/%{name}-%{version}_en.jar
|
| 62 |
%{_javadir}/%{name}-%{major_version}_en.jar
|
| 63 |
%{_javadir}/%{name}_en.jar
|
| 64 |
%{_bindir}/%{name}
|
| 65 |
|
| 66 |
%changelog
|
| 67 |
* Wed Sep 30 2009 Rich Megginson <rmeggins@redhat.com> 1.1.3-5
|
| 68 |
- bug 521523 - add the "which" package to the Requires
|
| 69 |
|
| 70 |
* Wed Aug 12 2009 Rich Megginson <rmeggins@redhat.com> - 1.1.3-4
|
| 71 |
- final rebuild for 1.1.3 release
|
| 72 |
|
| 73 |
* Fri Jul 24 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.1.3-3
|
| 74 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild
|
| 75 |
|
| 76 |
* Wed May 13 2009 Rich Megginson <rmeggins@redhat.com> 1.1.3-2
|
| 77 |
- rename to 389
|
| 78 |
|
| 79 |
* Tue Mar 31 2009 Rich Megginson <rmeggins@redhat.com> 1.1.3-1
|
| 80 |
- the 1.1.3 release
|
| 81 |
|
| 82 |
* Tue Apr 15 2008 Rich Megginson <rmeggins@redhat.com> 1.1.1-2
|
| 83 |
- use java > 1.5.0 for requirements
|
| 84 |
|
| 85 |
* Thu Jan 10 2008 Rich Megginson <rmeggins@redhat.com> 1.1.1-1
|
| 86 |
- this is the fedora package review candidate
|
| 87 |
- added LICENSE file
|
| 88 |
- changed permissions on jar files and shell script
|
| 89 |
|
| 90 |
* Wed Dec 19 2007 Rich Megginson <rmeggins@redhat.com> 1.1.0-5
|
| 91 |
- for the Fedora DS 1.1 release
|
| 92 |
|
| 93 |
* Thu Oct 25 2007 Nathan Kinder <nkinder@redhat.com> 1.1.0-4
|
| 94 |
- Removed noarch to ensure we find the 64-bit library.
|
| 95 |
|
| 96 |
* Wed Aug 1 2007 Nathan Kinder <nkinder@redhat.com> 1.1.0-3
|
| 97 |
- Separated theme package.
|
| 98 |
|
| 99 |
* Fri Jul 27 2007 Nathan Kinder <nkinder@redhat.com> 1.1.0-2
|
| 100 |
- Modified package name to be less generic.
|
| 101 |
|
| 102 |
* Mon Jul 26 2007 Nathan Kinder <nkinder@redhat.com> 1.1.0-1
|
| 103 |
- Initial creation
|