[jakarta-commons-io/el5/master] Build old version for EPEL

Rüdiger Landmann rlandmann at fedoraproject.org
Thu Aug 5 23:13:47 UTC 2010


commit da63ceac15cbd0c87aa0e8e986daa362791e01fa
Author: Ruediger Landmann <r.landmann at redhat.com>
Date:   Fri Aug 6 09:10:07 2010 +1000

    Build old version for EPEL

 commons-io-1.2-src.tar.gz |  Bin 0 -> 146580 bytes
 jakarta-commons-io.spec   |  137 +++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 137 insertions(+), 0 deletions(-)
---
diff --git a/commons-io-1.2-src.tar.gz b/commons-io-1.2-src.tar.gz
new file mode 100644
index 0000000..a070dac
Binary files /dev/null and b/commons-io-1.2-src.tar.gz differ
diff --git a/jakarta-commons-io.spec b/jakarta-commons-io.spec
new file mode 100644
index 0000000..753cad5
--- /dev/null
+++ b/jakarta-commons-io.spec
@@ -0,0 +1,137 @@
+# Copyright (c) 2000-2005, JPackage Project
+# All rights reserved.
+#
+# Redistribution and use in source and binary forms, with or without
+# modification, are permitted provided that the following conditions
+# are met:
+#
+# 1. Redistributions of source code must retain the above copyright
+#    notice, this list of conditions and the following disclaimer.
+# 2. Redistributions in binary form must reproduce the above copyright
+#    notice, this list of conditions and the following disclaimer in the
+#    documentation and/or other materials provided with the
+#    distribution.
+# 3. Neither the name of the JPackage Project nor the names of its
+#    contributors may be used to endorse or promote products derived
+#    from this software without specific prior written permission.
+#
+# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+# "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+# LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+# A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+# OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+# LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+# DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+# THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+#
+
+%define base_name commons-io
+
+Name:           jakarta-commons-io
+Version:        1.2
+Release:        3jpp.1%{?dist}
+Epoch:          0
+Summary:        Utilities to assist with developing IO functionality 
+
+Group:          Development/Libraries/Java
+License:        Apache Software License
+URL:            http://jakarta.apache.org/commons/io/
+# svn export http://svn.apache.org/repos/asf/jakarta/commons/proper/io/tags/IO_1_2/ commons-io-1.2-src
+# tar czf commons-io-1.2-src.tar.gz commons-io-1.2-src
+Source0:        commons-io-1.2-src.tar.gz
+
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+
+BuildArch:      noarch
+BuildRequires:  jpackage-utils >= 0:1.6
+BuildRequires:  ant >= 0:1.6
+BuildRequires:  ant-junit >= 0:1.6
+BuildRequires:  junit >= 0:3.8.1
+Requires:       jpackage-utils
+Requires(postun): jpackage-utils
+
+%description
+Commons-IO contains utility classes, stream implementations, 
+file filters, and endian classes. It is a library of utilities 
+to assist with developing IO functionality.
+
+%package        javadoc
+Summary:        Javadoc for %{name}
+Group:          Documentation
+Requires:       jpackage-utils
+Requires(postun): jpackage-utils
+
+%description    javadoc
+Javadoc for %{name}
+
+%prep
+%setup -q -n %{base_name}-%{version}-src
+
+%build
+ant -Dbuild.sysclasspath=only dist
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -Dpm 644 build/%{base_name}-%{version}.jar \
+  $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
+ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
+ln -s %{name}-%{version}.jar \
+  $RPM_BUILD_ROOT%{_javadir}/%{base_name}-%{version}.jar
+ln -s %{base_name}-%{version}.jar \
+  $RPM_BUILD_ROOT%{_javadir}/%{base_name}.jar
+
+install -dm 755 $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
+unzip -q build/dist/%{base_name}-%{version}.zip %{base_name}-%{version}/docs/* \
+    -d $RPM_BUILD_ROOT%{_javadocdir}
+mv $RPM_BUILD_ROOT%{_javadocdir}/%{base_name}-%{version}/docs/* \
+    $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
+rm -r $RPM_BUILD_ROOT%{_javadocdir}/%{base_name}-%{version}
+ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root,-)
+%doc LICENSE.txt NOTICE.txt RELEASE-NOTES.txt
+%{_javadir}/*.jar
+
+%files javadoc
+%defattr(-,root,root,-)
+%doc %{_javadocdir}/%{name}-%{version}
+%doc %{_javadocdir}/%{name}
+
+
+%changelog
+* Tue Feb 13 2007 Deepak Bhole <dbhole at redhat.com> - 0:1.2-3jpp.1.fc7
+- Fix spec per Fedora guidelines.
+
+* Thu Jun 22 2006 Ralph Apel <r.apel at r-apel.de> - 0:1.2-2jpp
+- Thx Olav
+
+* Sun Jun 18 2006 Olav Reinert <oreinert at users.sourceforge.net> - 0:1.2-1jpp
+- Upgrade to 1.2
+
+* Fri Feb 24 2006 Fernando Nasser <fnasser at redhat.com> - 0:1.1-0.20051005.2jpp
+- First JPP 1.7 build
+
+* Wed Oct 05 2005 Ralph Apel <r.apel at r-apel.de> - 0:1.1-0.20051005.1jpp
+- Upgrade to 1.1 dev
+
+* Wed Oct 05 2005 Ralph Apel <r.apel at r-apel.de> - 0:1.0-1jpp
+- Upgrade to 1.0 final
+
+* Sun Aug 23 2004 Randy Watler <rwatler at finali.com> - 0:1.0.cvs20040118-4jpp
+- Rebuild with ant-1.6.2
+
+* Fri Aug 06 2004 Ralph Apel <r.apel at r-apel.de> - 0:1.0.cvs20040118-3jpp
+- Void change
+
+* Tue Jun 01 2004 Randy Watler <rwatler at finali.com> - 0:1.0.cvs20040118-2jpp
+- Upgrade to Ant 1.6.X
+
+* Mon Jan 19 2004 Ralph Apel <r.apel at r-apel.de> - 0:1.0.cvs20040118-1jpp
+- First JPackage release


More information about the scm-commits mailing list