packages: java-bsf/java-bsf.spec - bsf renamed to java-bsf
jajcus
jajcus at pld-linux.org
Sun Apr 18 14:43:04 CEST 2010
Author: jajcus Date: Sun Apr 18 12:43:04 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- bsf renamed to java-bsf
---- Files affected:
packages/java-bsf:
java-bsf.spec (1.24 -> 1.25)
---- Diffs:
================================================================
Index: packages/java-bsf/java-bsf.spec
diff -u packages/java-bsf/java-bsf.spec:1.24 packages/java-bsf/java-bsf.spec:1.25
--- packages/java-bsf/java-bsf.spec:1.24 Sun Dec 9 02:22:52 2007
+++ packages/java-bsf/java-bsf.spec Sun Apr 18 14:42:59 2010
@@ -1,13 +1,16 @@
# $Revision$, $Date$
%include /usr/lib/rpm/macros.java
+#
+%define pkgname bsf
+#
Summary: Bean Scripting Framework
Summary(pl.UTF-8): Bean Scripting Framework - środowisko skryptowe
-Name: bsf
+Name: java-%{pkgname}
Version: 2.3.0
-Release: 5
+Release: 1
License: Apache v1.1
Group: Development/Languages/Java
-Source0: http://cvs.apache.org/dist/jakarta/bsf/v2.3.0rc1/src/%{name}-src-%{version}.tar.gz
+Source0: http://cvs.apache.org/dist/jakarta/bsf/v2.3.0rc1/src/%{pkgname}-src-%{version}.tar.gz
# Source0-md5: 78bae3747ca5734bb7554eed6868b7da
URL: http://jakarta.apache.org/bsf/
BuildRequires: ant
@@ -43,7 +46,7 @@
Dokumentacja do Bean Scripting Framework.
%prep
-%setup -q
+%setup -qn %{pkgname}-%{version}
# hack to disable rhino engine (not ready for new rhino debugger API)
sed -i -e 's/available property="rhino.present/available property="rhino.blah/' \
@@ -62,18 +65,18 @@
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_javadir}
-install src/build/lib/%{name}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
-ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
+install src/build/lib/%{pkgname}.jar $RPM_BUILD_ROOT%{_javadir}/%{pkgname}-%{version}.jar
+ln -s %{pkgname}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{pkgname}.jar
-install -d $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
-cp -a src/build/javadocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
-ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name} # ghost symlink
+install -d $RPM_BUILD_ROOT%{_javadocdir}/%{pkgname}-%{version}
+cp -a src/build/javadocs/* $RPM_BUILD_ROOT%{_javadocdir}/%{pkgname}-%{version}
+ln -s %{pkgname}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{pkgname} # ghost symlink
%clean
rm -rf $RPM_BUILD_ROOT
%post javadoc
-ln -nfs %{name}-%{version} %{_javadocdir}/%{name}
+ln -nfs %{pkgname}-%{version} %{_javadocdir}/%{pkgname}
%files
%defattr(644,root,root,755)
@@ -82,8 +85,8 @@
%files javadoc
%defattr(644,root,root,755)
-%{_javadocdir}/%{name}-%{version}
-%ghost %{_javadocdir}/%{name}
+%{_javadocdir}/%{pkgname}-%{version}
+%ghost %{_javadocdir}/%{pkgname}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -91,6 +94,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.25 2010/04/18 12:42:59 jajcus
+- bsf renamed to java-bsf
+
Revision 1.24 2007/12/09 01:22:52 glen
- R: jpackage-utils for %{_javadir}; cosmetics/cleanups
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/java-bsf/java-bsf.spec?r1=1.24&r2=1.25&f=u
More information about the pld-cvs-commit
mailing list