SPECS: jakarta-commons-cli.spec (NEW) - init PLD release, nfy
megabajt
megabajt at pld-linux.org
Tue Nov 22 21:29:43 CET 2005
Author: megabajt Date: Tue Nov 22 20:29:42 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- init PLD release, nfy
---- Files affected:
SPECS:
jakarta-commons-cli.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/jakarta-commons-cli.spec
diff -u /dev/null SPECS/jakarta-commons-cli.spec:1.1
--- /dev/null Tue Nov 22 21:29:42 2005
+++ SPECS/jakarta-commons-cli.spec Tue Nov 22 21:29:21 2005
@@ -0,0 +1,74 @@
+# $Revision$, $Date$
+Summary: Jakarta Commons CLI - API for working with command line
+Summary(pl): Jakarta Commons CLI - API do pracy z linią poleceń
+Name: jakarta-commons-cli
+Version: 1.0
+Release: 0.1
+License: Apache v1.1
+Group: Development/Languages/Java
+Source0: http://www.apache.org/dist/jakarta/commons/cli/source/cli-%{version}-src.tar.gz
+# Source0-md5: ba34d585046b1f17dacbb13b377f4255
+URL: http://jakarta.apache.org/commons/cli/
+BuildRequires: jakarta-ant
+BuildRequires: jakarta-commons-lang
+BuildRequires: jakarta-commons-logging
+BuildRequires: jdk >= 1.4
+Requires: jre >= 1.4
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Jakarta Commons CLI provides a simple API for working with the command
+line arguments and options.
+
+%description -l pl
+Jakarta Commons CLI dostarcza prostego API do pracy z argumentami i
+opcjami linii poleceń.
+
+%package doc
+Summary: Jakarta Commons CLI documentation
+Summary(pl): Dokumentacja do Jakarta Commons CLI
+Group: Development/Languages/Java
+
+%description doc
+Jakarta Commons CLI documantation.
+
+%description doc -l pl
+Dokumentacja do Jakarta Commons CLI.
+
+%prep
+%setup -q -n commons-cli-%{version}
+
+%build
+mkdir lib/
+ant dist \
+ -Dnoget="true"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_javadir}
+
+install dist/*.jar $RPM_BUILD_ROOT%{_javadir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc LICENSE.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 2005/11/22 20:29:21 megabajt
+- init PLD release, nfy
+
+
================================================================
More information about the pld-cvs-commit
mailing list