SPECS: java-xmlbeans.spec - renamed from xmlbeans.spec
pawelz
pawelz at pld-linux.org
Fri Jan 30 13:03:52 CET 2009
Author: pawelz Date: Fri Jan 30 12:03:52 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- renamed from xmlbeans.spec
---- Files affected:
SPECS:
java-xmlbeans.spec (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SPECS/java-xmlbeans.spec
diff -u SPECS/java-xmlbeans.spec:1.1 SPECS/java-xmlbeans.spec:1.2
--- SPECS/java-xmlbeans.spec:1.1 Thu Jan 1 20:41:41 2009
+++ SPECS/java-xmlbeans.spec Fri Jan 30 13:03:46 2009
@@ -1,6 +1,8 @@
# $Revision$, $Date$
# TODO:
# - use source package
+#
+%define srcname xmlbeans
%include /usr/lib/rpm/macros.java
Summary: XMLBeans is a technology for accessing XML by binding it to Java types
@@ -9,9 +11,9 @@
Release: 0.1
License: Apache v2.0
Group: Development/Languages/Java
-Source0: http://apache.forall.pl/xmlbeans/binaries/%{name}-%{version}.zip
+Source0: http://apache.forall.pl/xmlbeans/binaries/%{srcname}-%{version}.zip
# Source0-md5: 43b92f83ad47f369035fc7b945e55b12
-Patch0: %{name}-classpath.patch
+Patch0: %{srcname}-classpath.patch
URL: http://xmlbeans.apache.org/
BuildRequires: jpackage-utils
BuildRequires: rpm-javaprov
@@ -32,23 +34,23 @@
- Support for XML DOM.
%package doc
-Summary: Manual for %{name}
-Summary(fr.UTF-8): Documentation pour %{name}
-Summary(it.UTF-8): Documentazione di %{name}
-Summary(pl.UTF-8): Podręcznik dla %{name}
+Summary: Manual for %{srcname}
+Summary(fr.UTF-8): Documentation pour %{srcname}
+Summary(it.UTF-8): Documentazione di %{srcname}
+Summary(pl.UTF-8): Podręcznik dla %{srcname}
Group: Documentation
%description doc
-Documentation for %{name}.
+Documentation for %{srcname}.
%description doc -l fr.UTF-8
-Documentation pour %{name}.
+Documentation pour %{srcname}.
%description doc -l it.UTF-8
-Documentazione di %{name}.
+Documentazione di %{srcname}.
%description doc -l pl.UTF-8
-Dokumentacja do %{name}.
+Dokumentacja do %{srcname}.
%prep
%setup -q
@@ -62,9 +64,9 @@
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT{%{_javadir}/xmlbeans,%{_bindir}}
-cp lib/*.jar $RPM_BUILD_ROOT%{_javadir}/%{name}
-ln -s %{name}/xbean.jar $RPM_BUILD_ROOT%{_javadir}/%{name}-%{version}.jar
-ln -s %{name}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{name}.jar
+cp lib/*.jar $RPM_BUILD_ROOT%{_javadir}/%{srcname}
+ln -s %{srcname}/xbean.jar $RPM_BUILD_ROOT%{_javadir}/%{srcname}-%{version}.jar
+ln -s %{srcname}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{srcname}.jar
install bin/* $RPM_BUILD_ROOT/%{_bindir}
@@ -73,7 +75,7 @@
%files
%defattr(644,root,root,755)
-%{_javadir}/%{name}
+%{_javadir}/%{srcname}
%{_javadir}/*.jar
%attr(755,root,root) %{_bindir}/*
@@ -87,6 +89,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.2 2009/01/30 12:03:46 pawelz
+- renamed from xmlbeans.spec
+
Revision 1.1 2009/01/01 19:41:41 pawelz
- java code generator
- initial PLD release
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/java-xmlbeans.spec?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list