[Jpackage-commits] dist/spring2/JPP-6 org-springframework-component-info.xml, NONE, 1.1 spring2.spec, 1.28, 1.29

David Walluck david at ryu.zarb.org
Thu Jul 2 22:35:31 CEST 2009


Update of /home/projects/jpackage/cvs/dist/spring2/JPP-6
In directory ryu.zarb.org:/tmp/cvs-serv27133

Modified Files:
	spring2.spec 
Added Files:
	org-springframework-component-info.xml 
Log Message:
- add repolib


--- NEW FILE: org-springframework-component-info.xml ---
<?xml version="1.0" encoding="UTF-8"?>
<project name="">
  <component id="org/springframework"
             licenseType=""
             version="@VERSION@"
             tag="@TAG@"
             description=""
             
             > 
              
    <artifact id="spring-context-support.jar"/>


    <export>
      <include input="spring-context-support.jar"/>

    </export>
  </component>
</project>

Index: spring2.spec
===================================================================
RCS file: /home/projects/jpackage/cvs/dist/spring2/JPP-6/spring2.spec,v
retrieving revision 1.28
retrieving revision 1.29
diff -C 2 -d -r1.28 -r1.29
*** spring2.spec	2 Jul 2009 17:58:58 -0000	1.28
--- spring2.spec	2 Jul 2009 20:35:29 -0000	1.29
***************
*** 62,67 ****
  
  %bcond_with gcj_support
! %bcond_without nodeps
! %bcond_without zips
  
  %if %with gcj_support
--- 62,72 ----
  
  %bcond_with gcj_support
! %bcond_with nodeps
! %bcond_without repolib
! %bcond_with zips
! 
! %define repodir %{_javadir}/repository.jboss.com/spring/%{upstream_version}-brew
! %define repodirlib %{repodir}/lib
! %define repodirsrc %{repodir}/src
  
  %if %with gcj_support
***************
*** 88,91 ****
--- 93,98 ----
  Source0:        %{name}-%{upstream_version}.tar.bz2
  Source1:        http://static.springframework.org/spring/files/docbook-reference-libs.zip
+ Source2:        spring2-component-info.xml
+ Source3:        org-springframework-component-info.xml
  Patch0:         spring-2.5.1-WorkManagerTaskExecutor.patch
  Patch1:         spring-2.5.5-SqlMapClientFactoryBean.patch
***************
*** 720,723 ****
--- 727,741 ----
  %{summary}.
  
+ %if %with repolib
+ %package repolib
+ Summary:        Artifacts to be uploaded to a repository library
+ Group:          Development/Libraries/Java
+ 
+ %description repolib
+ Artifacts to be uploaded to a repository library.
+ This package is not meant to be installed but so its contents
+ can be extracted through rpm2cpio.
+ %endif
+ 
  %if %with zips
  %package zip
***************
*** 1310,1313 ****
--- 1328,1392 ----
  #cp -pr osgi/bnd/* $RPM_BUILD_ROOT%{_datadir}/%{name}-%{version}/osgi/bnd
  
+ %if %with repolib
+ install -d -m 755 $RPM_BUILD_ROOT%{repodir}
+ install -d -m 755 $RPM_BUILD_ROOT%{repodirlib}
+ install -p -m 644 %{SOURCE2} $RPM_BUILD_ROOT%{repodir}/component-info.xml
+ sed -i 's/@VERSION@/%{upstream_version}-brew/g' $RPM_BUILD_ROOT%{repodir}/component-info.xml
+ tag=`echo %{name}-%{version}-%{release} | sed 's|\.|_|g'`
+ sed -i "s/@TAG@/$tag/g" $RPM_BUILD_ROOT%{repodir}/component-info.xml
+ install -d -m 755 $RPM_BUILD_ROOT%{repodirsrc}
+ install -p -m 644 %{SOURCE0} $RPM_BUILD_ROOT%{repodirsrc}
+ install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{repodirsrc}
+ install -p -m 644 %{PATCH0} $RPM_BUILD_ROOT%{repodirsrc}
+ install -p -m 644 %{PATCH1} $RPM_BUILD_ROOT%{repodirsrc}
+ install -p -m 644 %{PATCH2} $RPM_BUILD_ROOT%{repodirsrc}
+ install -p -m 644 %{PATCH3} $RPM_BUILD_ROOT%{repodirsrc}
+ install -p -m 644 %{PATCH4} $RPM_BUILD_ROOT%{repodirsrc}
+ install -p -m 644 %{PATCH5} $RPM_BUILD_ROOT%{repodirsrc}
+ install -p -m 644 %{PATCH6} $RPM_BUILD_ROOT%{repodirsrc}
+ install -p -m 644 %{PATCH7} $RPM_BUILD_ROOT%{repodirsrc}
+ install -p -m 644 %{PATCH8} $RPM_BUILD_ROOT%{repodirsrc}
+ install -p -m 644 %{PATCH9} $RPM_BUILD_ROOT%{repodirsrc}
+ install -p -m 644 %{PATCH10} $RPM_BUILD_ROOT%{repodirsrc}
+ install -p -m 644 %{PATCH11} $RPM_BUILD_ROOT%{repodirsrc}
+ install -p -m 644 %{PATCH12} $RPM_BUILD_ROOT%{repodirsrc}
+ install -p -m 644 %{PATCH13} $RPM_BUILD_ROOT%{repodirsrc}
+ install -p -m 644 %{PATCH14} $RPM_BUILD_ROOT%{repodirsrc}
+ cp -p $RPM_BUILD_ROOT%{_javadir}/%{name}/aop.jar $RPM_BUILD_ROOT%{repodirlib}/spring-aop.jar
+ cp -p $RPM_BUILD_ROOT%{_javadir}/%{name}/beans.jar $RPM_BUILD_ROOT%{repodirlib}/spring-beans.jar
+ cp -p $RPM_BUILD_ROOT%{_javadir}/%{name}/core.jar $RPM_BUILD_ROOT%{repodirlib}/spring-core.jar
+ cp -p $RPM_BUILD_ROOT%{_javadir}/%{name}/context.jar $RPM_BUILD_ROOT%{repodirlib}/spring-context.jar
+ cp -p $RPM_BUILD_ROOT%{_javadir}/%{name}/web.jar $RPM_BUILD_ROOT%{repodirlib}/spring-web.jar
+ cp -p $RPM_BUILD_ROOT%{_javadir}/%{name}/webmvc.jar $RPM_BUILD_ROOT%{repodirlib}/spring-webmvc.jar
+ %define repodir %{_javadir}/repository.jboss.com/org/springframework/%{upstream_version}-brew
+ %define repodirlib %{repodir}/lib
+ %define repodirsrc %{repodir}/src
+ install -d -m 755 $RPM_BUILD_ROOT%{repodir}
+ install -d -m 755 $RPM_BUILD_ROOT%{repodirlib}
+ install -p -m 644 %{SOURCE3} $RPM_BUILD_ROOT%{repodir}/component-info.xml
+ sed -i 's/@VERSION@/%{upstream_version}-brew/g' $RPM_BUILD_ROOT%{repodir}/component-info.xml
+ tag=`echo %{name}-%{version}-%{release} | sed 's|\.|_|g'`
+ sed -i "s/@TAG@/$tag/g" $RPM_BUILD_ROOT%{repodir}/component-info.xml
+ install -d -m 755 $RPM_BUILD_ROOT%{repodirsrc}
+ install -p -m 644 %{SOURCE0} $RPM_BUILD_ROOT%{repodirsrc}
+ install -p -m 644 %{SOURCE1} $RPM_BUILD_ROOT%{repodirsrc}
+ install -p -m 644 %{PATCH0} $RPM_BUILD_ROOT%{repodirsrc}
+ install -p -m 644 %{PATCH1} $RPM_BUILD_ROOT%{repodirsrc}
+ install -p -m 644 %{PATCH2} $RPM_BUILD_ROOT%{repodirsrc}
+ install -p -m 644 %{PATCH3} $RPM_BUILD_ROOT%{repodirsrc}
+ install -p -m 644 %{PATCH4} $RPM_BUILD_ROOT%{repodirsrc}
+ install -p -m 644 %{PATCH5} $RPM_BUILD_ROOT%{repodirsrc}
+ install -p -m 644 %{PATCH6} $RPM_BUILD_ROOT%{repodirsrc}
+ install -p -m 644 %{PATCH7} $RPM_BUILD_ROOT%{repodirsrc}
+ install -p -m 644 %{PATCH8} $RPM_BUILD_ROOT%{repodirsrc}
+ install -p -m 644 %{PATCH9} $RPM_BUILD_ROOT%{repodirsrc}
+ install -p -m 644 %{PATCH10} $RPM_BUILD_ROOT%{repodirsrc}
+ install -p -m 644 %{PATCH11} $RPM_BUILD_ROOT%{repodirsrc}
+ install -p -m 644 %{PATCH12} $RPM_BUILD_ROOT%{repodirsrc}
+ install -p -m 644 %{PATCH13} $RPM_BUILD_ROOT%{repodirsrc}
+ install -p -m 644 %{PATCH14} $RPM_BUILD_ROOT%{repodirsrc}
+ cp -p $RPM_BUILD_ROOT%{_javadir}/%{name}/context-support.jar $RPM_BUILD_ROOT%{repodirlib}/spring-context-support.jar
+ %endif
+ 
  %if %with zips
  %{__mkdir_p} %{buildroot}%{_javadir}/jbossas-fordev
***************
*** 1510,1513 ****
--- 1589,1598 ----
  %{_javadir}/%{name}-sources/webmvc-struts-sources.jar
  
+ %if %with repolib
+ %files repolib
+ %defattr(0644,root,root,0755)
+ %{_javadir}/repository.jboss.com
+ %endif
+ 
  %if %with zips
  # FIXME: (dwalluck): This could be split.
***************
*** 1521,1524 ****
--- 1606,1612 ----
  
  %changelog
+ * Thu Jun 01 2009 David Walluck <dwalluck at redhat.com> 0:2.5.6-3.SEC01
+ - add repolib
+ 
  * Tue Jun 02 2009 David Walluck <dwalluck at redhat.com> 0:2.5.6-2.SEC01.6
  - rebuild for older commons-io




More information about the JPackage-commits mailing list