[Jpackage-commits] rpms/free/ant ant-component-info.xml, NONE, 1.1 ant.spec, 1.27, 1.28

jpackage jpackage at ryu.zarb.org
Mon Feb 16 20:43:56 CET 2009


Update of /home/projects/jpackage/cvs/rpms/free/ant
In directory ryu.zarb.org:/tmp/C9WNmCnY2S/rpms/free/ant

Modified Files:
	ant.spec 
Added Files:
	ant-component-info.xml 
Log Message:
1.7.1-8.jpp6

Index: ant.spec
===================================================================
RCS file: /home/projects/jpackage/cvs/rpms/free/ant/ant.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -C 2 -d -r1.27 -r1.28
*** ant.spec	15 Jul 2008 21:55:26 -0000	1.27
--- ant.spec	16 Feb 2009 19:43:54 -0000	1.28
***************
*** 1,3 ****
! # Copyright (c) 2000-2008, JPackage Project
  # All rights reserved.
  #
--- 1,3 ----
! # Copyright (c) 2000-2009, JPackage Project
  # All rights reserved.
  #
***************
*** 35,38 ****
--- 35,39 ----
  
  %bcond_with bootstrap
+ %bcond_without repolib
  
  %if %with bootstrap
***************
*** 42,45 ****
--- 43,50 ----
  %endif
  
+ %define repodir %{_javadir}/repository.jboss.com/org/apache/ant/%{version}-brew
+ %define repodirlib %{repodir}/lib
+ %define repodirsrc %{repodir}/src
+ 
  %define gcj_support %{?_with_gcj_support:1}%{!?_with_gcj_support:%{?_without_gcj_support:0}%{!?_without_gcj_support:%{?_gcj_support:%{_gcj_support}}%{!?_gcj_support:0}}}
  
***************
*** 54,58 ****
  Name:           ant
  Version:        1.7.1
! Release:        7%{?dist}
  Epoch:          0
  Summary:        Ant build tool for java
--- 59,63 ----
  Name:           ant
  Version:        1.7.1
! Release:        8%{?dist}
  Epoch:          0
  Summary:        Ant build tool for java
***************
*** 89,92 ****
--- 94,98 ----
  Source25:       http://repo1.maven.org/maven2/org/apache/ant/ant-trax/1.7.1/ant-trax-1.7.1.pom
  Source26:       http://repo1.maven.org/maven2/org/apache/ant/ant-parent/1.7.1/ant-parent-1.7.1.pom
+ Source27:       %{name}-component-info.xml
  
  # Fix some places where copies of classes are included in the wrong jarfiles
***************
*** 471,474 ****
--- 477,491 ----
  %endif
  
+ %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
+ 
  # -----------------------------------------------------------------------------
  
***************
*** 681,684 ****
--- 698,747 ----
  # -----------------------------------------------------------------------------
  
+ %if %with repolib
+ %{__install} -d -m 755 %{buildroot}%{repodir}
+ %{__install} -d -m 755 %{buildroot}%{repodirlib}
+ %{__install} -p -m 644 %{SOURCE27} %{buildroot}%{repodir}/component-info.xml
+ tag=`/bin/echo %{name}-%{version}-%{release} | %{__sed} 's|\.|_|g'`
+ %{__sed} -i "s/@TAG@/$tag/g" %{buildroot}%{repodir}/component-info.xml
+ %{__sed} -i "s/@VERSION@/%{version}-brew/g" %{buildroot}%{repodir}/component-info.xml
+ %{__install} -d -m 755 %{buildroot}%{repodirsrc}
+ %{__install} -p -m 644 %{SOURCE0} %{buildroot}%{repodirsrc}
+ %{__install} -p -m 644 %{SOURCE1} %{buildroot}%{repodirsrc}
+ %{__install} -p -m 644 %{SOURCE2} %{buildroot}%{repodirsrc}
+ %{__install} -p -m 644 %{SOURCE3} %{buildroot}%{repodirsrc}
+ %{__install} -p -m 644 %{SOURCE4} %{buildroot}%{repodirsrc}
+ %{__install} -p -m 644 %{SOURCE5} %{buildroot}%{repodirsrc}
+ %{__install} -p -m 644 %{SOURCE6} %{buildroot}%{repodirsrc}
+ %{__install} -p -m 644 %{SOURCE7} %{buildroot}%{repodirsrc}
+ %{__install} -p -m 644 %{SOURCE8} %{buildroot}%{repodirsrc}
+ %{__install} -p -m 644 %{SOURCE9} %{buildroot}%{repodirsrc}
+ %{__install} -p -m 644 %{SOURCE10} %{buildroot}%{repodirsrc}
+ %{__install} -p -m 644 %{SOURCE11} %{buildroot}%{repodirsrc}
+ %{__install} -p -m 644 %{SOURCE12} %{buildroot}%{repodirsrc}
+ #%%{__install} -p -m 644 %{SOURCE13} %{buildroot}%{repodirsrc}
+ %{__install} -p -m 644 %{SOURCE14} %{buildroot}%{repodirsrc}
+ %{__install} -p -m 644 %{SOURCE15} %{buildroot}%{repodirsrc}
+ %{__install} -p -m 644 %{SOURCE16} %{buildroot}%{repodirsrc}
+ %{__install} -p -m 644 %{SOURCE17} %{buildroot}%{repodirsrc}
+ %{__install} -p -m 644 %{SOURCE18} %{buildroot}%{repodirsrc}
+ %{__install} -p -m 644 %{SOURCE19} %{buildroot}%{repodirsrc}
+ %{__install} -p -m 644 %{SOURCE20} %{buildroot}%{repodirsrc}
+ %{__install} -p -m 644 %{SOURCE21} %{buildroot}%{repodirsrc}
+ %{__install} -p -m 644 %{SOURCE22} %{buildroot}%{repodirsrc}
+ %{__install} -p -m 644 %{SOURCE23} %{buildroot}%{repodirsrc}
+ %{__install} -p -m 644 %{SOURCE24} %{buildroot}%{repodirsrc}
+ %{__install} -p -m 644 %{SOURCE25} %{buildroot}%{repodirsrc}
+ %{__install} -p -m 644 %{SOURCE26} %{buildroot}%{repodirsrc}
+ %{__install} -p -m 644 %{PATCH0} %{buildroot}%{repodirsrc}
+ %{__install} -p -m 644 %{PATCH1} %{buildroot}%{repodirsrc}
+ %{__install} -p -m 644 %{PATCH2} %{buildroot}%{repodirsrc}
+ %{__install} -p -m 644 %{PATCH3} %{buildroot}%{repodirsrc}
+ %{__cp} -p %{buildroot}%{_javadir}/%{name}-%{version}.jar %{buildroot}%{repodirlib}/ant.jar
+ %{__cp} -p %{buildroot}%{_javadir}/%{name}-launcher-%{version}.jar %{buildroot}%{repodirlib}/ant-launcher.jar
+ %{__cp} -p %{buildroot}%{_javadir}/%{name}/%{name}-junit-%{version}.jar %{buildroot}%{repodirlib}/ant-junit.jar
+ %endif
+ 
+ # -----------------------------------------------------------------------------
+ 
  %if %{gcj_support}
  %{_bindir}/aot-compile-rpm
***************
*** 1248,1254 ****
--- 1311,1326 ----
  %endif
  
+ %if %with repolib
+ %files repolib
+ %defattr(0644,root,root,0755)
+ %{_javadir}/repository.jboss.com
+ %endif
+ 
  # -----------------------------------------------------------------------------
  
  %changelog
+ * Mon Feb 16 2009 David Walluck <dwalluck at redhat.com> 0:1.7.1-8
+ - add repolib
+ 
  * Tue Jul 15 2008 David Walluck <dwalluck at redhat.com> 0:1.7.1-7
  - enable non-bootstrap

--- NEW FILE: ant-component-info.xml ---
<?xml version="1.0" encoding="UTF-8"?>
<project name="">
  <component id="org/apache/ant"
             licenseType=""
             version="@VERSION@"
             tag="@TAG@"
             description=""
             
             > 
              
    <artifact id="ant.jar"/>
    <artifact id="ant-launcher.jar"/>
    <artifact id="ant-junit.jar"/>


    <export>
      <include input="ant.jar"/>
      <include input="ant-junit.jar"/>
      <include input="ant-launcher.jar"/>

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




More information about the JPackage-commits mailing list