- Resync with JPP
- Use the upstream tar ball as JPP does since they clean it off jars anyway - Use JPackage exception compliant naming scheme
This commit is contained in:
parent
cf71b2a03b
commit
8392c5256f
@ -1 +1 @@
|
|||||||
jakarta-regexp-1.4-RHCLEAN.tar.gz
|
jakarta-regexp-1.4.tar.gz
|
||||||
|
25
regexp.spec
25
regexp.spec
@ -32,19 +32,22 @@
|
|||||||
|
|
||||||
%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 full_name jakarta-%{name}
|
%define full_name jakarta-%{name}
|
||||||
%define section free
|
%define section free
|
||||||
|
|
||||||
Name: regexp
|
Name: regexp
|
||||||
Version: 1.4
|
Version: 1.4
|
||||||
Release: 2jpp.2
|
Release: 3jpp.1%{dist}
|
||||||
Epoch: 0
|
Epoch: 0
|
||||||
Summary: Simple regular expressions API
|
Summary: Simple regular expressions API
|
||||||
License: Apache Software License
|
License: Apache Software License
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
Url: http://jakarta.apache.org/%{name}/
|
Url: http://jakarta.apache.org/%{name}/
|
||||||
Source0: jakarta-regexp-%{version}-RHCLEAN.tar.gz
|
Source0: http://www.apache.org/dist/jakarta/regexp/jakarta-regexp-%{version}.tar.gz
|
||||||
BuildRequires: jpackage-utils >= 0:1.6
|
BuildRequires: jpackage-utils >= 0:1.6
|
||||||
|
Requires(pre): jpackage-utils >= 0:1.6
|
||||||
|
Requires(postun): jpackage-utils >= 0:1.6
|
||||||
|
|
||||||
BuildRequires: ant >= 1.6
|
BuildRequires: ant >= 1.6
|
||||||
%if ! %{gcj_support}
|
%if ! %{gcj_support}
|
||||||
Buildarch: noarch
|
Buildarch: noarch
|
||||||
@ -52,9 +55,9 @@ Buildarch: noarch
|
|||||||
Buildroot: %{_tmppath}/%{name}-%{version}-buildroot
|
Buildroot: %{_tmppath}/%{name}-%{version}-buildroot
|
||||||
|
|
||||||
%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
|
||||||
@ -76,7 +79,6 @@ Requires(post): /bin/ln
|
|||||||
Javadoc for %{name}.
|
Javadoc for %{name}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
%setup -q -n %{full_name}-%{version}
|
%setup -q -n %{full_name}-%{version}
|
||||||
# remove all binary libs
|
# remove all binary libs
|
||||||
find . -name "*.jar" -exec rm -f {} \;
|
find . -name "*.jar" -exec rm -f {} \;
|
||||||
@ -87,6 +89,8 @@ ant -Djakarta-site2.dir=. jar javadocs
|
|||||||
|
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
# jars
|
# jars
|
||||||
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
|
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
|
||||||
install -m 644 build/*.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
|
install -m 644 build/*.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
|
||||||
@ -142,6 +146,11 @@ fi
|
|||||||
%{_javadocdir}/%{name}-%{version}
|
%{_javadocdir}/%{name}-%{version}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Feb 8 2007 Vivek Lakshmanan <vivekl at redhat.com> 0:1.4-3jpp.1.fc7
|
||||||
|
- Resync with JPP
|
||||||
|
- Use the upstream tar ball as JPP does since they clean it off jars anyway
|
||||||
|
- Use JPackage exception compliant naming scheme
|
||||||
|
|
||||||
* Fri Aug 4 2006 Vivek Lakshmanan <vivekl@redhat.com> 0:1.4-2jpp.2
|
* Fri Aug 4 2006 Vivek Lakshmanan <vivekl@redhat.com> 0:1.4-2jpp.2
|
||||||
- Rebuild.
|
- Rebuild.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user