SPECS: java-DbConnectionBroker.spec - srcname macro overdoze
glen
glen at pld-linux.org
Sat Apr 11 18:42:30 CEST 2009
Author: glen Date: Sat Apr 11 16:42:30 2009 GMT
Module: SPECS Tag: HEAD
---- Log message:
- srcname macro overdoze
---- Files affected:
SPECS:
java-DbConnectionBroker.spec (1.11 -> 1.12)
---- Diffs:
================================================================
Index: SPECS/java-DbConnectionBroker.spec
diff -u SPECS/java-DbConnectionBroker.spec:1.11 SPECS/java-DbConnectionBroker.spec:1.12
--- SPECS/java-DbConnectionBroker.spec:1.11 Sat Apr 11 18:39:15 2009
+++ SPECS/java-DbConnectionBroker.spec Sat Apr 11 18:42:25 2009
@@ -1,8 +1,8 @@
# $Revision$, $Date$
%include /usr/lib/rpm/macros.java
-%define srcname DbConnectionBroker
-Summary: DbConnectionBroker - database connection pool management
-Summary(pl.UTF-8): DbConnectionBroker - zarządzanie pulą połączeń bazodanowych
+%define srcname %{srcname}
+Summary: %{srcname} - database connection pool management
+Summary(pl.UTF-8): %{srcname} - zarządzanie pulą połączeń bazodanowych
Name: java-%{srcname}
Version: 1.0.13
Release: 5
@@ -41,16 +41,16 @@
działającego w tle wątku porządkującego.
%package javadoc
-Summary: Online manual for DbConnectionBroker
-Summary(pl.UTF-8): Dokumentacja online do DbConnectionBroker
+Summary: Online manual for %{srcname}
+Summary(pl.UTF-8): Dokumentacja online do %{srcname}
Group: Documentation
Requires: jpackage-utils
%description javadoc
-Documentation for DbConnectionBroker.
+Documentation for %{srcname}.
%description javadoc -l pl.UTF-8
-Dokumentacja do DbConnectionBroker.
+Dokumentacja do %{srcname}.
%package demo
Summary: Demo for %{srcname}
@@ -66,19 +66,19 @@
%prep
%setup -qc
-cp %{SOURCE1} com/javaexchange/dbConnectionBroker
-rm -f com/javaexchange/dbConnectionBroker/DbConnectionBroker.class
+cp %{SOURCE1} com/javaexchange/%{srcname}
+rm -f com/javaexchange/%{srcname}/%{srcname}.class
%build
-%javac com/javaexchange/dbConnectionBroker/DbConnectionBroker.java
-%jar cvf DbConnectionBroker.jar com/javaexchange/dbConnectionBroker/DbConnectionBroker.class
+%javac com/javaexchange/%{srcname}/%{srcname}.java
+%jar cvf %{srcname}.jar com/javaexchange/%{srcname}/%{srcname}.class
%install
rm -rf $RPM_BUILD_ROOT
install -d $RPM_BUILD_ROOT%{_javadir}
-cp -a DbConnectionBroker.jar $RPM_BUILD_ROOT%{_javadir}/DbConnectionBroker-%{version}.jar
-ln -s DbConnectionBroker-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/DbConnectionBroker.jar
+cp -a %{srcname}.jar $RPM_BUILD_ROOT%{_javadir}/%{srcname}-%{version}.jar
+ln -s %{srcname}-%{version}.jar $RPM_BUILD_ROOT%{_javadir}/%{srcname}.jar
# javadoc
install -d $RPM_BUILD_ROOT%{_javadocdir}/%{srcname}-%{version}
@@ -113,6 +113,9 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.12 2009/04/11 16:42:25 glen
+- srcname macro overdoze
+
Revision 1.11 2009/04/11 16:39:15 glen
- renamed from DbConnectionBroker.spec
================================================================
---- CVS-web:
http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/java-DbConnectionBroker.spec?r1=1.11&r2=1.12&f=u
More information about the pld-cvs-commit
mailing list