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,18 +32,17 @@
%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 Name: bsf
Version: 2.3.0 Version: 2.3.0
Release: 11jpp.1 Release: 11jpp.2%{?dist}
Epoch: 0 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
Source0: %{name}-src-%{version}.tar.gz
Patch1: %{name}-javac.patch Patch1: %{name}-javac.patch
BuildRequires: jpackage-utils >= 1.6 BuildRequires: jpackage-utils >= 1.6
BuildRequires: ant BuildRequires: ant
@ -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