rpms/jakarta-commons-io/devel jakarta-commons-io.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Permaine Cheung (pcheung) fedora-extras-commits at redhat.com
Tue Mar 6 20:00:44 UTC 2007


Author: pcheung

Update of /cvs/extras/rpms/jakarta-commons-io/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv25214/devel

Modified Files:
	.cvsignore sources 
Added Files:
	jakarta-commons-io.spec 
Log Message:
auto-import jakarta-commons-io-1.2-3jpp.1.fc7 on branch devel from jakarta-commons-io-1.2-3jpp.1.fc7.src.rpm


--- NEW FILE jakarta-commons-io.spec ---
# 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


Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/jakarta-commons-io/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore	6 Mar 2007 01:41:20 -0000	1.1
+++ .cvsignore	6 Mar 2007 20:00:11 -0000	1.2
@@ -0,0 +1 @@
+commons-io-1.2-src.tar.gz


Index: sources
===================================================================
RCS file: /cvs/extras/rpms/jakarta-commons-io/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources	6 Mar 2007 01:41:20 -0000	1.1
+++ sources	6 Mar 2007 20:00:11 -0000	1.2
@@ -0,0 +1 @@
+d56086faed78f41fe5cc536914d4abf2  commons-io-1.2-src.tar.gz




More information about the fedora-extras-commits mailing list