[Jpackage-commits] dist/jdbm/JPP-5 jdbm-1.0.pom, NONE, 1.1 jdbm.spec, 1.1, 1.2

jpackage jpackage at ryu.zarb.org
Fri Feb 6 19:36:02 CET 2009


Update of /home/projects/jpackage/cvs/dist/jdbm/JPP-5
In directory ryu.zarb.org:/tmp/cvs-serv1658

Modified Files:
	jdbm.spec 
Added Files:
	jdbm-1.0.pom 
Log Message:
1.0-2.jpp5

Index: jdbm.spec
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/jdbm/JPP-5/jdbm.spec,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** jdbm.spec	28 May 2008 18:55:55 -0000	1.1
--- jdbm.spec	6 Feb 2009 18:36:00 -0000	1.2
***************
*** 1,3 ****
! # Copyright (c) 2000-2007, JPackage Project
  # All rights reserved.
  #
--- 1,3 ----
! # Copyright (c) 2000-2009, JPackage Project
  # All rights reserved.
  #
***************
*** 29,44 ****
  #
  
- %define name		jdbm
- %define version		1.0
- %define release		1jpp
- 
  %define	section		free
  
  
! Name:		%{name}
  Summary:	JDBM transactional persistence engine
  Url:		http://jdbm.sourceforge.net/
! Version:	%{version}
! Release:	%{release}
  Epoch:		0
  License:	BSD
--- 29,40 ----
  #
  
  %define	section		free
  
  
! Name:		jdbm
  Summary:	JDBM transactional persistence engine
  Url:		http://jdbm.sourceforge.net/
! Version:	1.0
! Release:	2%{dist}
  Epoch:		0
  License:	BSD
***************
*** 47,50 ****
--- 43,58 ----
  Source0:	jdbm-1.0-src.zip
  # http://sourceforge.net/project/downloading.php?groupname=jdbm&filename=jdbm-1.0-src.zip
+ Source1:	http://repo1.maven.org/maven2/jdbm/jdbm/1.0/jdbm-1.0.pom
+ 
+ BuildRequires:  jpackage-utils >= 0:1.7.5
+ BuildRequires:  java-devel >= 0:1.5.0
+ BuildRequires:  ant >= 0:1.6.5
+ BuildRequires:  ant-junit
+ BuildRequires:  junit
+ 
+ Requires:  java >= 0:1.5.0
+ 
+ Requires(post):   jpackage-utils >= 0:1.7.5
+ Requires(postun): jpackage-utils >= 0:1.7.5
  
  BuildRoot:	%{_tmppath}/%{name}-%{version}-buildroot
***************
*** 61,65 ****
  
  %description javadoc
! Javadoc for %{name}.
  
  %prep
--- 69,73 ----
  
  %description javadoc
! %{summary}.
  
  %prep
***************
*** 82,85 ****
--- 90,97 ----
  (cd $RPM_BUILD_ROOT%{_javadir} && for jar in *-%{version}*; do ln -sf ${jar} `echo $jar| sed  "s|-%{version}||g"`; done)
  
+ install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/maven2/poms
+ install -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/maven2/poms/JPP-%{name}.pom
+ %add_to_maven_depmap %{name} %{name} %{version} JPP %{name}
+ 
  # examples
  install -d -m 755 $RPM_BUILD_ROOT%{_datadir}/%{name}
***************
*** 96,102 ****
  rm -rf $RPM_BUILD_ROOT
  
! %post javadoc
! rm -f %{_javadocdir}/%{name}
! ln -s %{name}-%{version} %{_javadocdir}/%{name}
  
  %files
--- 108,116 ----
  rm -rf $RPM_BUILD_ROOT
  
! %post
! %update_maven_depmap
! 
! %postun
! %update_maven_depmap
  
  %files
***************
*** 106,116 ****
  %{_javadir}/*
  %{_datadir}/%{name}
  
  %files javadoc
  %defattr(-,root,root)
! %{_javadocdir}/%{name}-%{version}
! %ghost %doc %{_javadocdir}/%{name}
  
  %changelog
  * Wed Apr 04 2007 Fernando Nasser <fnasser at redhat.com> 0:1.0-1jpp
  - Upgrade to 1.0
--- 120,135 ----
  %{_javadir}/*
  %{_datadir}/%{name}
+ %{_datadir}/maven2/poms/*
+ %{_mavendepmapfragdir}/*
  
  %files javadoc
  %defattr(-,root,root)
! %doc %{_javadocdir}/%{name}-%{version}
! %doc %{_javadocdir}/%{name}
  
  %changelog
+ * Fri Feb 06 2009 Ralph Apel <r.apel at r-apel.de> 0:1.0-2.jpp5
+ - Rebuild for JPP-5 according to current best practices
+ 
  * Wed Apr 04 2007 Fernando Nasser <fnasser at redhat.com> 0:1.0-1jpp
  - Upgrade to 1.0

--- NEW FILE: jdbm-1.0.pom ---
<project>
  <modelVersion>4.0.0</modelVersion>
  <groupId>jdbm</groupId>
  <artifactId>jdbm</artifactId>
  <version>1.0</version>
</project>



More information about the JPackage-commits mailing list