Accepting request 238906 from Java:packages
FWD Java:packages fixes OBS-URL: https://build.opensuse.org/request/show/238906 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/oro?expand=0&rev=15
This commit is contained in:
parent
be1568e40d
commit
fbddd597b5
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Jun 27 12:01:25 UTC 2014 - tchvatal@suse.com
|
||||||
|
|
||||||
|
- Cleanup with spec-cleaner
|
||||||
|
- Add support for SLE11 again.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 30 11:34:33 UTC 2010 - mvyskocil@suse.cz
|
Tue Mar 30 11:34:33 UTC 2010 - mvyskocil@suse.cz
|
||||||
|
|
||||||
|
51
oro.spec
51
oro.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package oro (Version 2.0.8)
|
# spec file for package oro
|
||||||
#
|
#
|
||||||
# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -15,27 +15,23 @@
|
|||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
# norootforbuild
|
|
||||||
# icecream 0
|
|
||||||
|
|
||||||
|
|
||||||
Name: oro
|
|
||||||
BuildRequires: ant java2-devel-packages xml-commons-apis
|
|
||||||
%define name oro
|
%define name oro
|
||||||
%define full_name jakarta-%{name}
|
%define full_name jakarta-%{name}
|
||||||
%define version 2.0.8
|
Name: oro
|
||||||
%define release 2jpp
|
|
||||||
%define section free
|
|
||||||
Version: 2.0.8
|
Version: 2.0.8
|
||||||
Release: 271
|
Release: 0
|
||||||
Summary: Full regular expressions API
|
Summary: Full regular expressions API
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: Development/Libraries/Java
|
Group: Development/Libraries/Java
|
||||||
Source0: %{full_name}-%{version}.tar.gz
|
|
||||||
Url: http://jakarta.apache.org/oro/
|
Url: http://jakarta.apache.org/oro/
|
||||||
BuildArch: noarch
|
Source0: %{full_name}-%{version}.tar.gz
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRequires: ant
|
||||||
|
BuildRequires: java2-devel-packages
|
||||||
|
BuildRequires: xml-commons-apis
|
||||||
Provides: %{full_name} = %{version}-%{release}
|
Provides: %{full_name} = %{version}-%{release}
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
BuildArch: noarch
|
||||||
|
|
||||||
%description
|
%description
|
||||||
The Jakarta-ORO Java classes are a set of text-processing Java classes
|
The Jakarta-ORO Java classes are a set of text-processing Java classes
|
||||||
@ -48,13 +44,9 @@ the Jakarta Project by Daniel Savarese (www.savarese.org), the
|
|||||||
copyright holder of the ORO libraries. Daniel will continue to
|
copyright holder of the ORO libraries. Daniel will continue to
|
||||||
participate in their development under the Jakarta Project.
|
participate in their development under the Jakarta Project.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%package javadoc
|
%package javadoc
|
||||||
License: Apache-2.0
|
|
||||||
PreReq: coreutils
|
|
||||||
Group: Development/Libraries/Java
|
|
||||||
Summary: Javadoc for oro
|
Summary: Javadoc for oro
|
||||||
|
Group: Development/Libraries/Java
|
||||||
Provides: %{full_name}-javadoc = %{version}-%{release}
|
Provides: %{full_name}-javadoc = %{version}-%{release}
|
||||||
|
|
||||||
%description javadoc
|
%description javadoc
|
||||||
@ -70,8 +62,6 @@ participate in their development under the Jakarta Project.
|
|||||||
|
|
||||||
This package contains the javadoc documentation for ORO.
|
This package contains the javadoc documentation for ORO.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{full_name}-%{version}
|
%setup -q -n %{full_name}-%{version}
|
||||||
# remove all binary libs
|
# remove all binary libs
|
||||||
@ -81,22 +71,21 @@ for dir in `find . -type d -name CVS`; do rm -rf $dir; done
|
|||||||
for file in `find . -type f -name .cvsignore`; do rm -rf $file; done
|
for file in `find . -type f -name .cvsignore`; do rm -rf $file; done
|
||||||
|
|
||||||
%build
|
%build
|
||||||
ant -Dfinal.name=%{name} jar javadocs
|
ant \
|
||||||
|
-Dant.build.javac.source=1.5 -Dant.build.javac.target=1.5 \
|
||||||
|
-Dfinal.name=%{name} jar javadocs
|
||||||
|
|
||||||
%install
|
%install
|
||||||
#jars
|
#jars
|
||||||
install -d -m 755 $RPM_BUILD_ROOT%{_javadir}
|
install -d -m 755 %{buildroot}%{_javadir}
|
||||||
install -m 644 %{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
|
install -m 644 %{name}.jar %{buildroot}%{_javadir}/%{name}-%{version}.jar
|
||||||
(cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
|
(cd %{buildroot}%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed "s|-%{version}||g"`; done)
|
||||||
(cd $RPM_BUILD_ROOT%{_javadir} && for jar in oro*.jar; do ln -sf ${jar} jakarta-${jar}; done)
|
(cd %{buildroot}%{_javadir} && for jar in oro*.jar; do ln -sf ${jar} jakarta-${jar}; done)
|
||||||
#javadoc
|
#javadoc
|
||||||
install -d -m 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
install -d -m 755 %{buildroot}%{_javadocdir}/%{name}-%{version}
|
||||||
cp -pr docs/api/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
|
cp -pr docs/api/* %{buildroot}%{_javadocdir}/%{name}-%{version}
|
||||||
rm -rf docs/api
|
rm -rf docs/api
|
||||||
|
|
||||||
%clean
|
|
||||||
rm -rf $RPM_BUILD_ROOT
|
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COMPILE ISSUES README TODO CHANGES CONTRIBUTORS LICENSE STYLE
|
%doc COMPILE ISSUES README TODO CHANGES CONTRIBUTORS LICENSE STYLE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user