Wed Mar 07 2007 Permaine Cheung <dbhole@redhat.com> 0:2.3.0-11jpp.2

- Update spec file as per Fedora guidelines.
This commit is contained in:
Permaine Cheung 2007-03-13 17:22:14 +00:00
parent 23272984ba
commit 713217bff5
3 changed files with 24 additions and 25 deletions

View File

@ -1,4 +1 @@
bsf-src-2.3.0-RHCLEAN.tar.bz2 bsf-src-2.3.0.tar.gz
bsf-2.3.0
noarch
*.src.rpm

View File

@ -32,36 +32,35 @@
%define gcj_support %{?_with_gcj_support:1}%{!?_with_gcj_support:%{?_without_gcj_support:0}%{!?_without_gcj_support:%{?_gcj_support:%{_gcj_support}}%{!?_gcj_support:0}}} %define gcj_support %{?_with_gcj_support:1}%{!?_with_gcj_support:%{?_without_gcj_support:0}%{!?_without_gcj_support:%{?_gcj_support:%{_gcj_support}}%{!?_gcj_support:0}}}
%define section free Name: bsf
Version: 2.3.0
Name: bsf Release: 11jpp.2%{?dist}
Version: 2.3.0 Epoch: 0
Release: 11jpp.1
Epoch: 0
Summary: Bean Scripting Framework Summary: Bean Scripting Framework
License: Apache License License: Apache License
Url: http://jakarta.apache.org/bsf/ Url: http://jakarta.apache.org/bsf/
Group: Development/Libraries/Java Group: Development/Libraries/Java
#http://jakarta.apache.org/builds/jakarta-%{name}/dev/v%{version}/src/%{name}-src-%{version}.tar.gz #http://jakarta.apache.org/builds/jakarta-%{name}/dev/v%{version}/src/%{name}-src-%{version}.tar.gz
Source0: %{name}-src-%{version}-RHCLEAN.tar.bz2 #Source0: %{name}-src-%{version}-RHCLEAN.tar.bz2
Patch1: %{name}-javac.patch Source0: %{name}-src-%{version}.tar.gz
BuildRequires: jpackage-utils >= 1.6 Patch1: %{name}-javac.patch
BuildRequires: jpackage-utils >= 1.6
BuildRequires: ant BuildRequires: ant
BuildRequires: servlet BuildRequires: servlet
BuildRequires: tomcat5-jsp-2.0-api BuildRequires: tomcat5-jsp-2.0-api
BuildRequires: xalan-j2 BuildRequires: xalan-j2
Requires: servletapi5 Requires: servletapi5
Requires: xalan-j2 Requires: xalan-j2
Requires: tomcat5-jsp-2.0-api Requires: tomcat5-jsp-2.0-api
%if ! %{gcj_support} %if ! %{gcj_support}
BuildArch: noarch BuildArch: noarch
%endif %endif
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%if %{gcj_support} %if %{gcj_support}
BuildRequires: java-gcj-compat-devel BuildRequires: java-gcj-compat-devel
Requires(post): java-gcj-compat Requires(post): java-gcj-compat
Requires(postun): java-gcj-compat Requires(postun): java-gcj-compat
%endif %endif
%description %description
@ -91,8 +90,8 @@ engines:
* JudoScript * JudoScript
%package javadoc %package javadoc
Summary: Javadoc for %{name} Summary: Javadoc for %{name}
Group: Development/Documentation Group: Development/Documentation
Requires(post): /bin/rm,/bin/ln Requires(post): /bin/rm,/bin/ln
Requires(postun): /bin/rm Requires(postun): /bin/rm
@ -100,7 +99,6 @@ Requires(postun): /bin/rm
Javadoc for %{name}. Javadoc for %{name}.
%prep %prep
%{__rm} -fr %{buildroot}
%setup -q %setup -q
# remove all binary libs # remove all binary libs
find . -name "*.jar" -exec %{__rm} -f {} \; find . -name "*.jar" -exec %{__rm} -f {} \;
@ -118,6 +116,7 @@ ant compile
ant javadocs ant javadocs
%install %install
%{__rm} -fr %{buildroot}
# jar # jar
%{__install} -d -m 755 %{buildroot}%{_javadir} %{__install} -d -m 755 %{buildroot}%{_javadir}
%{__install} -m 644 src/build/lib/%{name}.jar \ %{__install} -m 644 src/build/lib/%{name}.jar \
@ -177,6 +176,9 @@ fi
%ghost %{_javadocdir}/%{name} %ghost %{_javadocdir}/%{name}
%changelog %changelog
* Wed Mar 07 2007 Permaine Cheung <dbhole@redhat.com> 0:2.3.0-11jpp.2
- Update spec file as per Fedora guidelines.
* Thu Aug 03 2006 Deepak Bhole <dbhole@redhat.com> 0:2.3.0-11jpp.1 * Thu Aug 03 2006 Deepak Bhole <dbhole@redhat.com> 0:2.3.0-11jpp.1
- Added missing requirements. - Added missing requirements.

View File

@ -1 +1 @@
2a752da431f76047aae887e587f62946 bsf-src-2.3.0-RHCLEAN.tar.bz2 78bae3747ca5734bb7554eed6868b7da bsf-src-2.3.0.tar.gz