/[packages]/cauldron/java-1.7.0-openjdk/current/SPECS/java-1.7.0-openjdk.spec
ViewVC logotype

Diff of /cauldron/java-1.7.0-openjdk/current/SPECS/java-1.7.0-openjdk.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 389210 by umeabot, Sat Jan 12 05:31:29 2013 UTC revision 389211 by dmorgan, Thu Jan 17 21:18:38 2013 UTC
# Line 112  Line 112 
112  # Standard JPackage naming and versioning defines.  # Standard JPackage naming and versioning defines.
113  %global origin          openjdk  %global origin          openjdk
114  %global buildver        6  %global buildver        6
115  # Keep priority on 5digits in case buildver>9  # Keep priority on 6digits in case buildver>9
116  %global priority        1700%{buildver}  %global priority 17000%{buildver}
117  %global javaver         1.7.0  %global javaver         1.7.0
118    
119  # Standard JPackage directories and symbolic links.  # Standard JPackage directories and symbolic links.
# Line 182  URL:      http://openjdk.java.net/ Line 182  URL:      http://openjdk.java.net/
182  # hg clone $REPO/jdk/ openjdk/jdk -r %{hg_tag}  # hg clone $REPO/jdk/ openjdk/jdk -r %{hg_tag}
183  # hg clone $REPO/langtools/ openjdk/langtools -r %{hg_tag}  # hg clone $REPO/langtools/ openjdk/langtools -r %{hg_tag}
184  # find openjdk -name ".hg" -exec rm -rf '{}' \;  # find openjdk -name ".hg" -exec rm -rf '{}' \;
185  # find openjdk -name ".hgtags" -exec rm -rf '{}' \;  # DEPRECATED - find openjdk -name ".hgtags" -exec rm -rf '{}' \; - used for check of corect forest
186  # tar czf openjdk-icedtea-%{icedtea_version}.tar.gz openjdk  # tar czf openjdk-icedtea-%{icedtea_version}.tar.gz openjdk
187  Source0:  openjdk-icedtea-%{icedtea_version}.tar.gz  Source0:  openjdk-icedtea-%{icedtea_version}.tar.gz
188    
189  # Gnome access bridge  # Gnome access bridge
190    # Download-able from accessurl, md5 hash supported
191  Source1:  %{accessurl}%{accessmajorver}/java-access-bridge-%{accessver}.tar.bz2  Source1:  %{accessurl}%{accessmajorver}/java-access-bridge-%{accessver}.tar.bz2
192    
193  # README file  # README file
194    # This source is under maintainer's/java-team's control
195  Source2:  README.src  Source2:  README.src
196    
197  # Mauve test suite  # Mauve test suite
198  # FIXME: Is this applicable for 7?  # FIXME: Is this applicable for 7?
199  Source3:  mauve-%{mauvedate}.tar.gz  # IMHO this should be removed, QA should run this tests in theirs most accurate version asynchronously/periodicaly
200    # Source3 download is no longer possible. GNUclasspath maintainers are no longer supporting releases
201    # To receive this tarball please follow http://sources.redhat.com/mauve/cvs.html (checkout cvs and tar.gz it)
202    Source3: mauve-%{mauvedate}.tar.gz
203    # This file is list of all tests which can be run.
204    # It is outdated now. The complete list can be generated by `find ` in mauve/gnu/testlet, but omg (package) tests should be removed
205  Source4:  mauve_tests  Source4:  mauve_tests
206    
207  # javac wrapper (used during bootstrap to strip what ecj doesn't support)  # javac wrapper (used during bootstrap to strip what ecj doesn't support)
208    # This source is under manual control of maintainer/java-team
209  Source5: javac-wrapper  Source5: javac-wrapper
210    
211    # Sources 6-12 are taken from hg clone http://icedtea.classpath.org/hg/icedtea7
212    # Unless said differently, there is directory with required sources which should be enough to pack/rename
213    
214  # Auto-generated files (used only in bootstrap)  # Auto-generated files (used only in bootstrap)
215  # To reproduce:  # To reproduce:
216  # build OpenJDK7 tarball above with any JDK  # build OpenJDK7 tarball above with any JDK
# Line 226  Source11: pulseaudio.tar.gz Line 237  Source11: pulseaudio.tar.gz
237  # Removed libraries that we link instead  # Removed libraries that we link instead
238  Source12: remove-intree-libraries.sh  Source12: remove-intree-libraries.sh
239    
240    #This archive contains all temporal patches, which are or will be soon upstreamed,
241    #but were needed asap in distribution. Those parches are then applied in loop
242    Source13: tmp-patches-java-1.7.0-openjdk-f17.tar.gz
243    
244  # RPM/distribution specific patches  # RPM/distribution specific patches
245    
246  # Allow TCK to pass with access bridge wired in  # Allow TCK to pass with access bridge wired in
# Line 577  The OpenJDK API documentation. Line 592  The OpenJDK API documentation.
592  %setup -q -c -n %{name}  %setup -q -c -n %{name}
593  %setup -q -n %{name} -T -D -a 3  %setup -q -n %{name} -T -D -a 3
594  %setup -q -n %{name} -T -D -a 1  %setup -q -n %{name} -T -D -a 1
595    %setup -q -n %{name} -T -D -a 13
596  cp %{SOURCE2} .  cp %{SOURCE2} .
597  cp %{SOURCE4} .  cp %{SOURCE4} .
598    
# Line 630  tar xzf %{SOURCE11} Line 646  tar xzf %{SOURCE11}
646  # Extract desktop files  # Extract desktop files
647  tar xzf %{SOURCE9}  tar xzf %{SOURCE9}
648    
649    #apply all patches from tmp-patches
650    TMPPATCHES=`ls tmp-patches/` ;
651    for TP in $TMPPATCHES ; do
652     echo "using patch $TP" ;
653     patch -p1 < tmp-patches/$TP ;
654     r=$? ;
655     if [ "$r" != "0" ] ; then
656     exit 5;
657     fi;
658    done ;
659    
660  # If bootstrapping, apply additional patches  # If bootstrapping, apply additional patches
661  %if %{gcjbootstrap}  %if %{gcjbootstrap}
662    

Legend:
Removed from v.389210  
changed lines
  Added in v.389211

  ViewVC Help
Powered by ViewVC 1.1.30