SPECS: jakarta-commons-io.spec (NEW) - initial revision

baggins baggins at pld-linux.org
Wed Apr 11 17:41:19 CEST 2007


Author: baggins                      Date: Wed Apr 11 15:41:19 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- initial revision

---- Files affected:
SPECS:
   jakarta-commons-io.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/jakarta-commons-io.spec
diff -u /dev/null SPECS/jakarta-commons-io.spec:1.1
--- /dev/null	Wed Apr 11 17:41:19 2007
+++ SPECS/jakarta-commons-io.spec	Wed Apr 11 17:41:14 2007
@@ -0,0 +1,72 @@
+# $Revision$, $Date$
+Summary:	Jakarta Commons IO component for Java servlets
+Summary(pl.UTF-8):	Komponent Jakarta Commons IO dla serwletów Javy
+Name:		jakarta-commons-io
+Version:	1.3.1
+Release:	1
+License:	Apache
+Group:		Development/Languages/Java
+Source0:	http://www.apache.org/dist/jakarta/commons/io/source/commons-io-%{version}-src.tar.gz
+# Source0-md5:	d003445638bc272512112ace08d63bbb
+URL:		http://jakarta.apache.org/commons/io/
+BuildRequires:	ant-junit >= 1.5
+BuildRequires:	jakarta-servletapi >= 2.3
+BuildRequires:	jpackage-utils
+BuildRequires:	junit >= 3.8.1
+Requires:	jre
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Commons IO is a library of utilities to assist with developing
+IO functionality.
+
+%package doc
+Summary:	Jakarta Commons IO documentation
+Summary(pl.UTF-8):	Dokumentacja do Jakarta Commons IO
+Group:		Development/Languages/Java
+
+%description doc
+Jakarta Commons IO documentation.
+
+%description doc -l pl.UTF-8
+Dokumentacja do Jakarta Commons IO.
+
+%prep
+%setup -q -n commons-io-%{version}
+
+%build
+export JAVA_HOME="%{java_home}"
+# for tests
+export CLASSPATH="`build-classpath servlet junit`"
+ant dist \
+	-Dnoget=1
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_javadir}
+
+install dist/*.jar $RPM_BUILD_ROOT%{_javadir}
+ln -sf commons-io-1.3.1-SNAPSHOT.jar $RPM_BUILD_ROOT%{_javadir}/commons-io.jar
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc dist/*.txt
+%{_javadir}/*.jar
+
+%files doc
+%defattr(644,root,root,755)
+%doc dist/docs
+
+%define	date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1  2007/04/11 15:41:14  baggins
+- initial revision
+
================================================================


More information about the pld-cvs-commit mailing list