SPECS: DbConnectionBroker.spec - unify java package - adapter, pld...
glen
glen at pld-linux.org
Fri Apr 20 12:39:15 CEST 2007
Author: glen Date: Fri Apr 20 10:39:15 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- unify java package
- adapter, pld header
---- Files affected:
SPECS:
DbConnectionBroker.spec (1.6 -> 1.7)
---- Diffs:
================================================================
Index: SPECS/DbConnectionBroker.spec
diff -u SPECS/DbConnectionBroker.spec:1.6 SPECS/DbConnectionBroker.spec:1.7
--- SPECS/DbConnectionBroker.spec:1.6 Sun Feb 18 18:41:24 2007
+++ SPECS/DbConnectionBroker.spec Fri Apr 20 12:39:07 2007
@@ -1,9 +1,10 @@
# $Revision$, $Date$
+%include /usr/lib/rpm/macros.java
Summary: DbConnectionBroker - database connection pool management
Summary(pl.UTF-8): DbConnectionBroker - zarządzanie pulą połączeń bazodanowych
Name: DbConnectionBroker
Version: 1.0.13
-Release: 0.1
+Release: 3
License: OSS
Group: Development/Languages/Java
Source0: ftp://javaexchange.com/javaexchange/%{name}%{version}.tar
@@ -12,9 +13,11 @@
# Source1-md5: 215ef43a308e40a38fb12d749a601a71
URL: http://www.javaexchange.com/
BuildRequires: jdk
+BuildRequires: rpm-javaprov
BuildRequires: jpackage-utils
BuildRequires: rpmbuild(macros) >= 1.300
Requires: jre
+Provides: java-DbConnectionBroker
Obsoletes: java-DbConnectionBroker
BuildArch: noarch
ExclusiveArch: i586 i686 pentium3 pentium4 athlon %{x8664}
@@ -45,7 +48,7 @@
%description javadoc
Documentation for DbConnectionBroker.
-%description -l pl.UTF-8 javadoc
+%description javadoc -l pl.UTF-8
Dokumentacja do DbConnectionBroker.
%prep
@@ -67,6 +70,7 @@
# javadoc
install -d $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
cp -pr doc/* $RPM_BUILD_ROOT%{_javadocdir}/%{name}-%{version}
+ln -s %{name}-%{version} $RPM_BUILD_ROOT%{_javadocdir}/%{name} # ghost symlink
install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
cp -a Examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
@@ -75,13 +79,7 @@
rm -rf $RPM_BUILD_ROOT
%post javadoc
-rm -f %{_javadocdir}/%{name}
-ln -s %{name}-%{version} %{_javadocdir}/%{name}
-
-%postun javadoc
-if [ "$1" = "0" ]; then
- rm -f %{_javadocdir}/%{name}
-fi
+ln -sf %{name}-%{version} %{_javadocdir}/%{name}
%files
%defattr(644,root,root,755)
@@ -94,10 +92,14 @@
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
-* %{date} RPM Team <rpm at cvs.delfi.ee>
-All persons listed below can be reached at <cvs_login>@cvs.delfi.ee
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.7 2007/04/20 10:39:07 glen
+- unify java package
+- adapter, pld header
+
Revision 1.6 2007/02/18 17:41:24 qboosh
- unified examplesdir
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/DbConnectionBroker.spec?r1=1.6&r2=1.7&f=u
More information about the pld-cvs-commit
mailing list