[873] | 1 | %define origin sun |
---|
| 2 | %define priority 1600 |
---|
| 3 | %define javaver 1.6.0 |
---|
[2229] | 4 | %define cvsver 6u22 |
---|
[873] | 5 | %define over %{cvsver} |
---|
[2229] | 6 | %define buildver 22 |
---|
[873] | 7 | |
---|
| 8 | %define cvsversion %{cvsver} |
---|
| 9 | |
---|
| 10 | %define javaws_ver %{javaver} |
---|
| 11 | %define javaws_version %{cvsversion} |
---|
| 12 | |
---|
[1673] | 13 | %define ubuntu_svnrev r364 |
---|
[873] | 14 | |
---|
| 15 | %define jdkbundle jdk%{javaver}_%{buildver} |
---|
| 16 | %define sdklnk java-%{javaver}-%{origin} |
---|
| 17 | %define jrelnk jre-%{javaver}-%{origin} |
---|
| 18 | %define sdkdir %{name}-%{version} |
---|
| 19 | %define jredir %{sdkdir}/jre |
---|
| 20 | %define sdkbindir %{_jvmdir}/%{sdklnk}/bin |
---|
| 21 | %define sdklibdir %{_jvmdir}/%{sdklnk}/lib |
---|
| 22 | %define jrebindir %{_jvmdir}/%{jrelnk}/bin |
---|
| 23 | %define jvmjardir %{_jvmjardir}/%{name}-%{version} |
---|
| 24 | |
---|
| 25 | %define fontdir %{_datadir}/fonts/java |
---|
| 26 | |
---|
| 27 | %ifarch %{ix86} |
---|
| 28 | %define target_cpu i586 |
---|
| 29 | %define pluginname %{_jvmdir}/%{jredir}/plugin/i386/ns7/libjavaplugin_oji.so |
---|
| 30 | %endif |
---|
| 31 | %ifarch x86_64 |
---|
| 32 | %define target_cpu amd64 |
---|
| 33 | %endif |
---|
| 34 | |
---|
| 35 | %define cgibindir %{_var}/www/cgi-bin |
---|
| 36 | |
---|
| 37 | # Avoid RPM 4.2+'s internal dep generator, it may produce bogus |
---|
| 38 | # Provides/Requires here. |
---|
| 39 | %define _use_internal_dependency_generator 0 |
---|
| 40 | |
---|
| 41 | # This prevents aggressive stripping. |
---|
| 42 | %define debug_package %{nil} |
---|
| 43 | |
---|
| 44 | Name: java-%{javaver}-%{origin} |
---|
| 45 | Version: %{javaver}.%{buildver} |
---|
| 46 | Release: 1%{?_dist_release} |
---|
| 47 | Summary: Java Runtime Environment for %{name} |
---|
| 48 | Summary(ja): Java 実行環境 (%{name}) |
---|
| 49 | License: Operating System Distributor License for Java (DLJ) |
---|
| 50 | Group: Development/Languages |
---|
| 51 | URL: http://java.sun.com/j2se/%{javaver} |
---|
| 52 | Source0: http://download.java.net/dlj/binaries/jdk-%{cvsversion}-dlj-linux-i586.bin |
---|
| 53 | Source1: http://download.java.net/dlj/binaries/jdk-%{cvsversion}-dlj-linux-amd64.bin |
---|
| 54 | # svn co -%{ubuntu_svnrev} --username guest --password "" https://jdk-distros.dev.java.net/svn/jdk-distros/trunk/linux/ubuntu/sun-java6/debian/ |
---|
| 55 | Source2: jdk-6-dlj-ubuntu-%{ubuntu_svnrev}.tar.bz2 |
---|
| 56 | # fontconfig.properties |
---|
| 57 | Source10: fontconfig.Vine5.properties |
---|
| 58 | Provides: jre-%{javaver}-%{origin} = %{version}-%{release} |
---|
| 59 | Provides: jre-%{origin} = %{version}-%{release} |
---|
| 60 | Provides: jre-%{javaver} java-%{javaver} jre = %{javaver} |
---|
| 61 | Provides: java-%{origin} = %{version}-%{release} |
---|
| 62 | Provides: java = %{javaver} |
---|
| 63 | Provides: %{name} = %{version}-%{release} |
---|
| 64 | Requires(post): alternatives |
---|
| 65 | Requires(postun): alternatives |
---|
| 66 | Requires: jpackage-utils >= 1.7.4 |
---|
| 67 | ExclusiveArch: %{ix86} x86_64 |
---|
| 68 | BuildArch: i586 x86_64 |
---|
| 69 | BuildRequires: jpackage-utils >= 1.7.4 sed desktop-file-utils |
---|
| 70 | %ifnarch x86_64 |
---|
| 71 | Provides: javaws = %{javaws_ver} |
---|
| 72 | %endif |
---|
| 73 | Provides: jndi = %{version} jndi-ldap = %{version} |
---|
| 74 | Provides: jndi-cos = %{version} jndi-rmi = %{version} |
---|
| 75 | Provides: jndi-dns = %{version} |
---|
| 76 | Provides: jaas = %{version} |
---|
| 77 | Provides: jsse = %{version} |
---|
| 78 | Provides: jce = %{version} |
---|
| 79 | Provides: jdbc-stdext = 3.0 jdbc-stdext = %{version} |
---|
| 80 | Provides: java-sasl = %{version} |
---|
| 81 | %ifnarch x86_64 |
---|
| 82 | Obsoletes: javaws-menu |
---|
| 83 | Provides: javaws-menu |
---|
| 84 | %endif |
---|
| 85 | # DLJ license requires these to be part of the JRE |
---|
| 86 | Requires: %{name}-plugin = %{version}-%{release} |
---|
| 87 | Requires: %{name}-alsa = %{version}-%{release} |
---|
| 88 | Requires: %{name}-jdbc = %{version}-%{release} |
---|
| 89 | Requires: %{name}-fonts = %{version}-%{release} |
---|
| 90 | Provides: j2re = %{version}-%{release} |
---|
| 91 | Provides: jre2 = %{version}-%{release} |
---|
| 92 | Obsoletes: j2re < %{version}-%{release} |
---|
| 93 | Obsoletes: jre2 < %{version}-%{release} |
---|
| 94 | BuildRoot: %{_tmppath}/%{name}-%{version}-root |
---|
| 95 | |
---|
| 96 | %description |
---|
| 97 | This package contains the Java Runtime Environment for %{name} |
---|
| 98 | |
---|
| 99 | %package devel |
---|
| 100 | Summary: Java Development Kit for %{name} |
---|
| 101 | Group: Development/Languages |
---|
| 102 | Requires(post): alternatives |
---|
| 103 | Requires(postun): alternatives |
---|
| 104 | Provides: java-sdk-%{javaver}-%{origin} = %{version}-%{release} |
---|
| 105 | Provides: java-sdk-%{origin} = %{version}-%{release} |
---|
| 106 | Provides: java-sdk-%{javaver} java-sdk = %{javaver} jdk = %{javaver} |
---|
| 107 | Provides: java-devel-%{origin} = %{version}-%{release} |
---|
| 108 | Provides: java-%{javaver}-devel java-devel = %{javaver} |
---|
| 109 | Requires: %{name} = %{version}-%{release} |
---|
| 110 | Provides: jdk = %{version}-%{release} |
---|
| 111 | Provides: jdk2 = %{version}-%{release} |
---|
| 112 | Provides: j2sdk = %{version}-%{release} |
---|
| 113 | Obsoletes: jdk < %{version}-%{release} |
---|
| 114 | Obsoletes: jdk2 < %{version}-%{release} |
---|
| 115 | Obsoletes: j2sdk < %{version}-%{release} |
---|
| 116 | |
---|
| 117 | %description devel |
---|
| 118 | The Java(tm) Development Kit (JDK(tm)) contains the software and tools that |
---|
| 119 | developers need to compile, debug, and run applets and applications |
---|
| 120 | written using the Java programming language. |
---|
| 121 | |
---|
| 122 | %package src |
---|
| 123 | Summary: Source files for %{name} |
---|
| 124 | Group: Development/Languages |
---|
| 125 | Requires: %{name} = %{version}-%{release} |
---|
| 126 | |
---|
| 127 | %description src |
---|
| 128 | This package contains source files for %{name}. |
---|
| 129 | |
---|
| 130 | %package demo |
---|
| 131 | Summary: Demonstration files for %{name} |
---|
| 132 | Group: Development/Languages |
---|
| 133 | Requires: %{name} = %{version}-%{release} |
---|
| 134 | # Without this a requirement on libjava_crw_demo_g.so is added which |
---|
| 135 | # is not in the main java package. libjava_crw_demo.so is but not "_g". |
---|
| 136 | AutoReq: 0 |
---|
| 137 | |
---|
| 138 | %description demo |
---|
| 139 | This package contains demonstration files for %{name}. |
---|
| 140 | |
---|
| 141 | %package plugin |
---|
| 142 | Summary: Browser plugin files for %{name} |
---|
| 143 | Group: Applications/Internet |
---|
| 144 | Requires(post): alternatives |
---|
| 145 | Requires(postun): alternatives |
---|
| 146 | Requires: %{name} = %{version}-%{release} |
---|
| 147 | Provides: java-plugin = %{javaver} java-%{javaver}-plugin = %{version} |
---|
| 148 | Provides: %{name}-plugin = %{version}-%{release} |
---|
| 149 | Conflicts: java-%{javaver}-ibm-plugin java-%{javaver}-blackdown-plugin |
---|
| 150 | Conflicts: java-%{javaver}-bea-plugin |
---|
| 151 | Obsoletes: java-1.3.1-plugin java-1.4.0-plugin java-1.4.1-plugin java-1.4.2-plugin |
---|
| 152 | |
---|
| 153 | %description plugin |
---|
| 154 | This package contains browser plugin files for %{name}. |
---|
| 155 | Note! This package supports browsers built with GCC 3.2 and later. |
---|
| 156 | |
---|
| 157 | %package fonts |
---|
| 158 | Summary: TrueType fonts for %{origin} JVMs |
---|
| 159 | Group: User Interface/X |
---|
| 160 | Requires(post): alternatives |
---|
| 161 | Requires(postun): alternatives |
---|
| 162 | Requires: %{name} = %{version}-%{release} |
---|
| 163 | Requires: freetype-utils |
---|
| 164 | %if %{_dist_release}=="vl4" |
---|
| 165 | Requires: XOrg-font-utils |
---|
| 166 | %else |
---|
| 167 | Requires: xorg-x11-font-utils |
---|
| 168 | %endif |
---|
| 169 | Requires(post): fontconfig |
---|
| 170 | Requires(postun): fontconfig |
---|
| 171 | Provides: java-fonts = %{javaver} java-%{javaver}-fonts |
---|
| 172 | Conflicts: java-%{javaver}-ibm-fonts java-%{javaver}-blackdown-fonts |
---|
| 173 | Conflicts: java-%{javaver}-bea-fonts |
---|
| 174 | Obsoletes: java-1.3.1-fonts java-1.4.0-fonts java-1.4.1-fonts java-1.4.2-fonts |
---|
| 175 | |
---|
| 176 | %description fonts |
---|
| 177 | This package contains the TrueType fonts for %{origin} JVMs. |
---|
| 178 | |
---|
| 179 | %package alsa |
---|
| 180 | Summary: ALSA support for %{name} |
---|
| 181 | Group: Development/Languages |
---|
| 182 | Requires: %{name} = %{version}-%{release} |
---|
| 183 | Provides: %{name}-alsa = %{version}-%{release} |
---|
| 184 | |
---|
| 185 | %description alsa |
---|
| 186 | This package contains Advanced Linux Sound Architecture (ALSA) support |
---|
| 187 | libraries for %{name}. |
---|
| 188 | |
---|
| 189 | %package jdbc |
---|
| 190 | Summary: JDBC/ODBC bridge driver for %{name} |
---|
| 191 | Group: Development/Languages |
---|
| 192 | Requires: %{name} = %{version}-%{release} |
---|
| 193 | Provides: %{name}-jdbc = %{version}-%{release} |
---|
| 194 | AutoReq: 0 |
---|
| 195 | |
---|
| 196 | %description jdbc |
---|
| 197 | This package contains the JDBC/ODBC bridge driver for %{name}. |
---|
| 198 | |
---|
| 199 | %prep |
---|
| 200 | %setup -q -T -c -n %{name}-%{version} -a2 |
---|
| 201 | %ifarch %{ix86} |
---|
| 202 | sh %{SOURCE0} --accept-license --unpack |
---|
| 203 | %else |
---|
| 204 | sh %{SOURCE1} --accept-license --unpack |
---|
| 205 | %endif |
---|
| 206 | cd %{jdkbundle} |
---|
| 207 | %ifarch x86_64 |
---|
| 208 | rm -f man/man1/javaws.1 |
---|
| 209 | %endif |
---|
| 210 | |
---|
| 211 | # fix perms |
---|
| 212 | chmod -R go=u-w * |
---|
| 213 | chmod -R u+w * |
---|
| 214 | |
---|
| 215 | %build |
---|
| 216 | for xdgmenu in debian/*desktop.in; do |
---|
| 217 | sed $xdgmenu \ |
---|
| 218 | -e "s#@vendor@#Sun#g" \ |
---|
| 219 | -e "s#@RELEASE@#%{javaver}#g" \ |
---|
| 220 | -e "s#/@basedir@/bin#%{jrebindir}#g" \ |
---|
| 221 | -e "s#Icon=.*#Icon=%{name}#g" \ |
---|
| 222 | -e "s#@ia32txt@##g" \ |
---|
| 223 | > %{name}-`echo $xdgmenu|cut -d- -f2|cut -d. -f1-2` |
---|
| 224 | done |
---|
| 225 | sed -i -e "s#%{jrebindir}#%{sdkbindir}#g" %{name}-jconsole.desktop |
---|
| 226 | mv %{name}-java.desktop debian/sharedmimeinfo %{jdkbundle}/jre/lib |
---|
| 227 | |
---|
| 228 | %ifnarch x86_64 |
---|
| 229 | #sed -i -e "s#PATH=/usr/local/java/bin#PATH=%{jrebindir}#" %{jdkbundle}/bin/java-rmi.cgi |
---|
| 230 | |
---|
| 231 | # fix up (create new) HtmlConverter |
---|
| 232 | #cat >%{jdkbundle}/bin/HtmlConverter << EOF |
---|
| 233 | #%{jrebindir}/java -jar %{sdklibdir}/htmlconverter.jar $* |
---|
| 234 | #EOF |
---|
| 235 | %endif |
---|
| 236 | |
---|
| 237 | %install |
---|
| 238 | rm -rf %{buildroot} |
---|
| 239 | |
---|
| 240 | cd %{jdkbundle} |
---|
| 241 | %ifnarch x86_64 |
---|
| 242 | # install java-rmi-cgi |
---|
| 243 | install -m755 bin/java-rmi.cgi -D %{buildroot}%{cgibindir}/java-rmi-%{version}.cgi |
---|
| 244 | %endif |
---|
| 245 | |
---|
| 246 | # main files |
---|
| 247 | install -d %{buildroot}%{_jvmdir}/%{sdkdir} |
---|
| 248 | cp -a COPYRIGHT LICENSE THIRDPARTYLICENSEREADME.txt bin include lib %{buildroot}%{_jvmdir}/%{sdkdir} |
---|
| 249 | install -m644 src.zip -D %{buildroot}%{_prefix}/src/%{name}-%{version}.zip |
---|
| 250 | ln -s %{_prefix}/src/%{name}-%{version}.zip %{buildroot}%{_jvmdir}/%{sdkdir}/src.zip |
---|
| 251 | |
---|
| 252 | install -d %{buildroot}%{_jvmdir}/%{jredir} |
---|
| 253 | |
---|
| 254 | # extensions handling |
---|
| 255 | install -d %{buildroot}%{jvmjardir} |
---|
| 256 | pushd %{buildroot}%{jvmjardir} |
---|
| 257 | ln -s %{_jvmdir}/%{jredir}/lib/jsse.jar jsse-%{version}.jar |
---|
| 258 | ln -s %{_jvmdir}/%{jredir}/lib/jce.jar jce-%{version}.jar |
---|
| 259 | for jar in jndi jndi-ldap jndi-cos jndi-rmi jaas jdbc-stdext sasl; do |
---|
| 260 | ln -s %{_jvmdir}/%{jredir}/lib/rt.jar $jar-%{version}.jar; done |
---|
| 261 | ln -s jdbc-stdext-%{version}.jar jdbc-stdext-3.0.jar |
---|
| 262 | for jar in *-%{version}.jar ; do |
---|
| 263 | if [ x%{version} != x%{javaver} ]; then |
---|
| 264 | ln -fs ${jar} $(echo $jar | sed "s|-%{version}.|-%{javaver}.|g") |
---|
| 265 | fi |
---|
| 266 | ln -fs ${jar} $(echo $jar | sed "s|-%{version}.|.|g") |
---|
| 267 | done |
---|
| 268 | popd |
---|
| 269 | |
---|
| 270 | # rest of the jre |
---|
| 271 | cp -a jre/bin jre/lib %{buildroot}%{_jvmdir}/%{jredir} |
---|
| 272 | cp -a jre/javaws jre/plugin %{buildroot}%{_jvmdir}/%{jredir} |
---|
| 273 | install -d %{buildroot}%{_jvmdir}/%{jredir}/lib/endorsed |
---|
| 274 | |
---|
| 275 | # jce policy file handling |
---|
| 276 | install -d %{buildroot}%{_jvmprivdir}/%{name}/jce/vanilla |
---|
| 277 | for file in local_policy.jar US_export_policy.jar; do |
---|
| 278 | ln -s %{_jvmdir}/%{jredir}/lib/security/$file \ |
---|
| 279 | %{buildroot}%{_jvmprivdir}/%{name}/jce/vanilla |
---|
| 280 | # for ghosts |
---|
| 281 | touch %{buildroot}%{_jvmdir}/%{jredir}/lib/security/$file |
---|
| 282 | done |
---|
| 283 | |
---|
| 284 | # versionless symlinks |
---|
| 285 | pushd %{buildroot}%{_jvmdir} |
---|
| 286 | ln -s %{jredir} %{jrelnk} |
---|
| 287 | ln -s %{sdkdir} %{sdklnk} |
---|
| 288 | popd |
---|
| 289 | |
---|
| 290 | pushd %{buildroot}%{_jvmjardir} |
---|
| 291 | ln -s %{sdkdir} %{jrelnk} |
---|
| 292 | ln -s %{sdkdir} %{sdklnk} |
---|
| 293 | popd |
---|
| 294 | |
---|
| 295 | %ifnarch x86_64 |
---|
| 296 | |
---|
| 297 | install -m644 jre/plugin/desktop/sun_java.png -D %{buildroot}%{_datadir}/pixmaps/%{name}.png |
---|
| 298 | |
---|
| 299 | for desktop in ../*.desktop; do |
---|
| 300 | desktop-file-install --vendor="" \ |
---|
| 301 | --remove-category="Application" \ |
---|
| 302 | --remove-category="X-Red-Hat-Base" \ |
---|
| 303 | --remove-category="AdvancedSettings" \ |
---|
| 304 | --add-category="X-MandrivaLinux-System-SunJava%{over}" \ |
---|
| 305 | --dir %{buildroot}%{_datadir}/applications $desktop |
---|
| 306 | done |
---|
| 307 | %endif |
---|
| 308 | |
---|
| 309 | # make sure that this directory exist so update-alternatvies won't fail if shared-mime-info isn't installed |
---|
| 310 | install -d %{buildroot}%{_datadir}/mime/packages |
---|
| 311 | |
---|
| 312 | # man pages |
---|
| 313 | install -d %{buildroot}%{_mandir}/man1 |
---|
| 314 | pushd man |
---|
| 315 | for manpage in man1/*; do |
---|
| 316 | #iconv -f iso-8859-1 -t utf-8 $manpage -o %{buildroot}%{_mandir}/man1/`basename $manpage .1`-%{name}.1 |
---|
| 317 | install -m644 $manpage -D $RPM_BUILD_ROOT%{_mandir}/man1/`basename $manpage .1`-%{name}.1 |
---|
| 318 | [ -f ja_JP.eucJP/$manpage ] && install -m644 ja_JP.eucJP/$manpage -D $RPM_BUILD_ROOT%{_mandir}/ja/man1/`basename $manpage .1`-%{name}.1 |
---|
| 319 | done |
---|
| 320 | popd |
---|
| 321 | |
---|
| 322 | # demo |
---|
| 323 | install -d %{buildroot}%{_datadir}/%{name} |
---|
| 324 | cp -a demo %{buildroot}%{_datadir}/%{name} |
---|
| 325 | ln -s %{_datadir}/%{name}/demo %{buildroot}%{_jvmdir} |
---|
| 326 | |
---|
| 327 | ### font handling |
---|
| 328 | # (anssi) This dir is used with java-1.5.0-sun as well, do not modify to avoid conflicts |
---|
| 329 | install -d %{buildroot}%{fontdir} |
---|
| 330 | ln -s %{_sysconfdir}/java/font.properties %{buildroot}%{_jvmdir}/%{jredir}/lib |
---|
| 331 | |
---|
| 332 | # fontconfig.properties |
---|
| 333 | install -m644 %{SOURCE10} %{buildroot}%{_jvmdir}/%{jredir}/lib/fontconfig.Vine5.properties |
---|
| 334 | ln -sf fontconfig.Vine5.properties %{buildroot}%{_jvmdir}/%{jredir}/lib/fontconfig.properties |
---|
| 335 | |
---|
| 336 | # These %ghost'd files are created properly in %post -- Rex |
---|
| 337 | touch %{buildroot}%{fontdir}/{fonts.{alias,dir,scale,cache-1},XftCache,encodings.dir} |
---|
| 338 | |
---|
| 339 | # fontpath.d symlink |
---|
| 340 | mkdir -p %{buildroot}%_sysconfdir/X11/fontpath.d/ |
---|
| 341 | ln -s ../../..%{fontdir} \ |
---|
| 342 | %{buildroot}%_sysconfdir/X11/fontpath.d/java:pri=50 |
---|
| 343 | |
---|
| 344 | # make sure that plugin dir exists so update-alternatives won't fail if mozilla/firefox isn't installed |
---|
| 345 | install -d %{buildroot}%{_libdir}/mozilla/plugins |
---|
| 346 | |
---|
| 347 | cd .. |
---|
| 348 | |
---|
| 349 | # Most of this shamelessly stolen from redhat's kdebase-2.2.2 specfile |
---|
| 350 | find %{buildroot}%{_jvmdir}/%{jredir} -type d \ |
---|
| 351 | | sed 's|'%{buildroot}'|%dir |' > %{name}-%{version}-all.files |
---|
| 352 | find %{buildroot}%{_jvmdir}/%{jredir} -type f -o -type l \ |
---|
| 353 | | sed 's|'%{buildroot}'||' >> %{name}-%{version}-all.files |
---|
| 354 | |
---|
| 355 | grep plugin %{name}-%{version}-all.files | sort \ |
---|
| 356 | > %{name}-%{version}-plugin.files |
---|
| 357 | grep Jdbc %{name}-%{version}-all.files | sort \ |
---|
| 358 | > %{name}-%{version}-jdbc.files |
---|
| 359 | grep -F alsa.so %{name}-%{version}-all.files | sort \ |
---|
| 360 | > %{name}-%{version}-alsa.files |
---|
| 361 | cat %{name}-%{version}-all.files \ |
---|
| 362 | | grep -v plugin \ |
---|
| 363 | | grep -v Jdbc \ |
---|
| 364 | | grep -v lib/fonts \ |
---|
| 365 | | grep -vF alsa.so \ |
---|
| 366 | | grep -v jre/lib/security \ |
---|
| 367 | > %{name}-%{version}.files |
---|
| 368 | |
---|
| 369 | %ifarch x86_64 |
---|
| 370 | %define jreext %{nil} |
---|
| 371 | %else |
---|
| 372 | %define jreext javaws |
---|
| 373 | %endif |
---|
| 374 | %define jrebin keytool orbd policytool rmid rmiregistry servertool tnameserv |
---|
| 375 | %define jreman java %{jreext} %{jrebin} |
---|
| 376 | %ifarch x86_64 |
---|
| 377 | %define jdkext %{nil} |
---|
| 378 | %else |
---|
| 379 | %define jdkext HtmlConverter |
---|
| 380 | %endif |
---|
| 381 | %define jdkboth appletviewer extcheck idlj jar jarsigner javadoc javah javap jdb jvisualvm native2ascii rmic serialver jconsole pack200 unpack200 apt jinfo jmap jps jsadebugd jstack jstat jstatd jhat jrunscript schemagen wsgen wsimport xjc |
---|
| 382 | %define jdkman %{jdkboth} javac |
---|
| 383 | %define jdkbin %{jdkboth} %{jdkext} |
---|
| 384 | |
---|
| 385 | %define _extension .gz |
---|
| 386 | for man in %{jreman}; do |
---|
| 387 | echo %{_mandir}/man1/${man}-%{name}.1%{_extension} >> %{name}-%{version}.files |
---|
| 388 | echo %{_mandir}/ja/man1/${man}-%{name}.1%{_extension} >> %{name}-%{version}.files |
---|
| 389 | done |
---|
| 390 | rm -f %{name}-%{version}-devel.files |
---|
| 391 | for man in %{jdkman}; do |
---|
| 392 | echo %{_mandir}/man1/${man}-%{name}.1%{_extension} >> %{name}-%{version}-devel.files |
---|
| 393 | echo %{_mandir}/ja/man1/${man}-%{name}.1%{_extension} >> %{name}-%{version}-devel.files |
---|
| 394 | done |
---|
| 395 | |
---|
| 396 | %clean |
---|
| 397 | rm -rf %{buildroot} |
---|
| 398 | |
---|
| 399 | %post |
---|
| 400 | update-alternatives --install %{_bindir}/java java %{jrebindir}/java %{priority}%{expand:%(for bin in %{jrebin}; do echo -n -e \ \\\\\\n\ |
---|
| 401 | --slave %{_bindir}/${bin} ${bin} %{jrebindir}/${bin}; done)}%{expand:%(for man in %{jreman}; do echo -n -e \ \\\\\\n\ |
---|
| 402 | --slave %{_mandir}/man1/${man}.1%{_extension} ${man}.1%{_extension} %{_mandir}/man1/${man}-%{name}.1%{_extension}; done)}%{expand:%(for man in %{jreman}; do echo -n -e \ \\\\\\n\ |
---|
| 403 | --slave %{_mandir}/ja/man1/${man}.1%{_extension} ${man}%{_extension}.ja %{_mandir}/ja/man1/${man}-%{name}.1%{_extension}; done)} \ |
---|
| 404 | %ifnarch x86_64 |
---|
| 405 | --slave %{_bindir}/ControlPanel ControlPanel %{jrebindir}/ControlPanel \ |
---|
| 406 | --slave %{_datadir}/javaws javaws %{jrebindir}/javaws \ |
---|
| 407 | %endif |
---|
| 408 | --slave %{_datadir}/mime/packages/java.xml java.xml %{_jvmdir}/%{jrelnk}/lib/sharedmimeinfo \ |
---|
| 409 | --slave %{_jvmdir}/jre jre %{_jvmdir}/%{jrelnk} \ |
---|
| 410 | --slave %{_jvmjardir}/jre jre_exports %{_jvmjardir}/%{jrelnk} |
---|
| 411 | |
---|
| 412 | update-alternatives \ |
---|
| 413 | --install \ |
---|
| 414 | %{_jvmdir}/%{jrelnk}/lib/security/local_policy.jar \ |
---|
| 415 | jce_%{javaver}_%{origin}_local_policy \ |
---|
| 416 | %{_jvmprivdir}/%{name}/jce/vanilla/local_policy.jar \ |
---|
| 417 | %{priority} \ |
---|
| 418 | --slave \ |
---|
| 419 | %{_jvmdir}/%{jrelnk}/lib/security/US_export_policy.jar \ |
---|
| 420 | jce_%{javaver}_%{origin}_us_export_policy \ |
---|
| 421 | %{_jvmprivdir}/%{name}/jce/vanilla/US_export_policy.jar |
---|
| 422 | |
---|
| 423 | update-alternatives --install %{_jvmdir}/jre-%{origin} jre_%{origin} %{_jvmdir}/%{jrelnk} %{priority} \ |
---|
| 424 | --slave %{_jvmjardir}/jre-%{origin} jre_%{origin}_exports %{_jvmjardir}/%{jrelnk} |
---|
| 425 | |
---|
| 426 | update-alternatives --install %{_jvmdir}/jre-%{javaver} jre_%{javaver} %{_jvmdir}/%{jrelnk} %{priority} \ |
---|
| 427 | --slave %{_jvmjardir}/jre-%{javaver} jre_%{javaver}_exports %{_jvmjardir}/%{jrelnk} |
---|
| 428 | |
---|
| 429 | # fix broken symlink if it's there |
---|
| 430 | if ! [ -e %{_bindir}/java ]; then |
---|
| 431 | update-alternatives --auto java |
---|
| 432 | fi |
---|
| 433 | |
---|
| 434 | %post devel |
---|
| 435 | update-alternatives --install %{_bindir}/javac javac %{sdkbindir}/javac %{priority}%{expand:%(for bin in %{jdkbin}; do echo -n -e \ \\\\\\n\ |
---|
| 436 | --slave %{_bindir}/${bin} ${bin} %{sdkbindir}/${bin}; done)}%{expand:%(for man in %{jdkman}; do echo -n -e \ \\\\\\n\ |
---|
| 437 | --slave %{_mandir}/man1/${man}.1%{_extension} ${man}.1%{_extension} %{_mandir}/man1/${man}-%{name}.1%{_extension}; done)}%{expand:%(for man in %{jdkman}; do echo -n -e \ \\\\\\n\ |
---|
| 438 | --slave %{_mandir}/ja/man1/${man}.1%{_extension} ${man}%{_extension}.ja %{_mandir}/ja/man1/${man}-%{name}.1%{_extension}; done)} \ |
---|
| 439 | --slave %{_jvmdir}/java java_sdk %{_jvmdir}/%{sdklnk} \ |
---|
| 440 | --slave %{_jvmjardir}/java java_sdk_exports %{_jvmjardir}/%{sdklnk} |
---|
| 441 | |
---|
| 442 | update-alternatives --install %{_jvmdir}/java-%{origin} java_sdk_%{origin} %{_jvmdir}/%{sdklnk} %{priority} \ |
---|
| 443 | --slave %{_jvmjardir}/java-%{origin} java_sdk_%{origin}_exports %{_jvmjardir}/%{sdklnk} |
---|
| 444 | |
---|
| 445 | update-alternatives --install %{_jvmdir}/java-%{javaver} java_sdk_%{javaver} %{_jvmdir}/%{sdklnk} %{priority} \ |
---|
| 446 | --slave %{_jvmjardir}/java-%{javaver} java_sdk_%{javaver}_exports %{_jvmjardir}/%{sdklnk} |
---|
| 447 | |
---|
| 448 | # fix broken symlink if it's there |
---|
| 449 | if ! [ -e %{_bindir}/javac ]; then |
---|
| 450 | update-alternatives --auto javac |
---|
| 451 | fi |
---|
| 452 | |
---|
| 453 | %post plugin |
---|
| 454 | update-alternatives --install %{_libdir}/mozilla/plugins/libjavaplugin_jni.so libjavaplugin_jni.so %{pluginname} %{priority} |
---|
| 455 | |
---|
| 456 | %postun plugin |
---|
| 457 | if ! [ -e "%{pluginname}" ]; then |
---|
| 458 | update-alternatives --remove libjavaplugin_jni.so %{pluginname} |
---|
| 459 | fi |
---|
| 460 | |
---|
| 461 | %postun |
---|
| 462 | if ! [ -e "%{jrebindir}/java" ]; then |
---|
| 463 | update-alternatives --remove java %{jrebindir}/java |
---|
| 464 | update-alternatives --remove \ |
---|
| 465 | jce_%{javaver}_%{origin}_local_policy \ |
---|
| 466 | %{_jvmprivdir}/%{name}/jce/vanilla/local_policy.jar |
---|
| 467 | update-alternatives --remove jre_%{origin} %{_jvmdir}/%{jrelnk} |
---|
| 468 | update-alternatives --remove jre_%{javaver} %{_jvmdir}/%{jrelnk} |
---|
| 469 | fi |
---|
| 470 | |
---|
| 471 | %postun devel |
---|
| 472 | if ! [ -e "%{sdkbindir}/javac" ]; then |
---|
| 473 | update-alternatives --remove javac %{sdkbindir}/javac |
---|
| 474 | update-alternatives --remove java_sdk_%{origin} %{_jvmdir}/%{sdklnk} |
---|
| 475 | update-alternatives --remove java_sdk_%{javaver} %{_jvmdir}/%{sdklnk} |
---|
| 476 | fi |
---|
| 477 | |
---|
| 478 | %post fonts |
---|
| 479 | %define fonts LucidaBrightItalic.ttf LucidaSansDemiBold.ttf LucidaTypewriterBold.ttf LucidaBrightDemiItalic.ttf LucidaBrightRegular.ttf LucidaSansRegular.ttf LucidaTypewriterRegular.ttf |
---|
| 480 | |
---|
| 481 | update-alternatives \ |
---|
| 482 | --install %{fontdir}/LucidaBrightDemiBold.ttf LucidaBrightDemiBold.ttf %{_jvmdir}/%{jredir}/lib/fonts/LucidaBrightDemiBold.ttf %{priority} \ |
---|
| 483 | %{expand:%(for font in %{fonts}; do echo -n -e \ \\\\\\n\ |
---|
| 484 | --slave %{fontdir}/$font $font %{_jvmdir}/%{jredir}/lib/fonts/$font; done)} |
---|
| 485 | |
---|
| 486 | mkfontscale %{fontdir} |
---|
| 487 | mkfontdir %{fontdir} |
---|
| 488 | fc-cache |
---|
| 489 | |
---|
| 490 | %postun fonts |
---|
| 491 | if ! [ -e %{_jvmdir}/%{jredir}/lib/fonts/LucidaBrightDemiBold.ttf ]; then |
---|
| 492 | update-alternatives --remove LucidaBrightDemiBold.ttf %{_jvmdir}/%{jredir}/lib/fonts/LucidaBrightDemiBold.ttf |
---|
| 493 | fc-cache |
---|
| 494 | fi |
---|
| 495 | |
---|
| 496 | if [ -d %{fontdir} ]; then |
---|
| 497 | mkfontscale %{fontdir} |
---|
| 498 | mkfontdir %{fontdir} |
---|
| 499 | fi |
---|
| 500 | |
---|
| 501 | |
---|
| 502 | # (Anssi 02/2008) The previous versions of this package were buggy and did |
---|
| 503 | # not always remove the old alternative, causing it to be left enabled, |
---|
| 504 | # leading to broken symlinks. |
---|
| 505 | %posttrans |
---|
| 506 | if ! [ -e %{_bindir}/java ]; then |
---|
| 507 | update-alternatives --auto java |
---|
| 508 | fi |
---|
| 509 | %posttrans devel |
---|
| 510 | if ! [ -e %{_bindir}/javac ]; then |
---|
| 511 | update-alternatives --auto javac |
---|
| 512 | fi |
---|
| 513 | |
---|
| 514 | %posttrans plugin |
---|
| 515 | if ! [ -e %{_libdir}/mozilla/plugins/libjavaplugin_jni.so ]; then |
---|
| 516 | update-alternatives --auto libjavaplugin_jni.so |
---|
| 517 | fi |
---|
| 518 | |
---|
| 519 | %posttrans fonts |
---|
| 520 | if ! [ -e %{fontdir}/LucidaBrightDemiBold.ttf ]; then |
---|
| 521 | update-alternatives --auto LucidaBrightDemiBold.ttf |
---|
| 522 | fi |
---|
| 523 | |
---|
| 524 | %files -f %{name}-%{version}.files |
---|
| 525 | %defattr(-,root,root,-) |
---|
| 526 | %doc %{jdkbundle}/jre/{COPYRIGHT,LICENSE,README} |
---|
| 527 | %doc %{jdkbundle}/jre/Welcome.html |
---|
| 528 | %dir %{_jvmdir}/%{sdkdir} |
---|
| 529 | %{_jvmdir}/%{sdkdir}/COPYRIGHT |
---|
| 530 | %{_jvmdir}/%{sdkdir}/LICENSE |
---|
| 531 | %{_jvmdir}/%{sdkdir}/THIRDPARTYLICENSEREADME.txt |
---|
| 532 | %{jvmjardir} |
---|
| 533 | %{_jvmdir}/%{jredir}/lib/fonts |
---|
| 534 | %dir %{_jvmdir}/%{jredir}/lib/security |
---|
| 535 | %config(noreplace) %{_jvmdir}/%{jredir}/lib/security/blacklist |
---|
| 536 | %config(noreplace) %{_jvmdir}/%{jredir}/lib/security/cacerts |
---|
| 537 | %config(noreplace) %{_jvmdir}/%{jredir}/lib/security/java.policy |
---|
| 538 | %config(noreplace) %{_jvmdir}/%{jredir}/lib/security/java.security |
---|
| 539 | %config(noreplace) %{_jvmdir}/%{jredir}/lib/security/trusted.libraries |
---|
| 540 | %ifnarch x86_64 |
---|
| 541 | %config(noreplace) %{_jvmdir}/%{jredir}/lib/security/javaws.policy |
---|
| 542 | %endif |
---|
| 543 | %{_jvmdir}/%{jredir}/lib/security/local_policy.jar |
---|
| 544 | %{_jvmdir}/%{jredir}/lib/security/US_export_policy.jar |
---|
| 545 | %{_jvmdir}/%{jrelnk} |
---|
| 546 | %{_jvmjardir}/%{jrelnk} |
---|
| 547 | %{_jvmprivdir}/* |
---|
| 548 | %ifnarch x86_64 |
---|
| 549 | %{_datadir}/applications/*.desktop |
---|
| 550 | %exclude %{_datadir}/applications/%{name}-jconsole.desktop |
---|
| 551 | %{_datadir}/pixmaps/*.png |
---|
| 552 | %endif |
---|
| 553 | %dir %{_datadir}/mime |
---|
| 554 | %dir %{_datadir}/mime/packages |
---|
| 555 | |
---|
| 556 | %files devel -f %{name}-%{version}-devel.files |
---|
| 557 | %defattr(-,root,root,-) |
---|
| 558 | %doc %{jdkbundle}/{COPYRIGHT,LICENSE,README.html} |
---|
| 559 | %dir %{_jvmdir}/%{sdkdir}/bin |
---|
| 560 | %dir %{_jvmdir}/%{sdkdir}/include |
---|
| 561 | %dir %{_jvmdir}/%{sdkdir}/lib |
---|
| 562 | %{_jvmdir}/%{sdkdir}/bin/* |
---|
| 563 | %{_jvmdir}/%{sdkdir}/include/* |
---|
| 564 | %{_jvmdir}/%{sdkdir}/lib/* |
---|
| 565 | %{_jvmdir}/%{sdklnk} |
---|
| 566 | %{_jvmjardir}/%{sdklnk} |
---|
| 567 | %ifnarch x86_64 |
---|
| 568 | %{cgibindir}/java-rmi-%{version}.cgi |
---|
| 569 | %{_datadir}/applications/%{name}-jconsole.desktop |
---|
| 570 | %endif |
---|
| 571 | |
---|
| 572 | %files src |
---|
| 573 | %defattr(-,root,root,-) |
---|
| 574 | %{_jvmdir}/%{sdkdir}/src.zip |
---|
| 575 | %{_prefix}/src/%{name}-%{version}.zip |
---|
| 576 | |
---|
| 577 | %files demo |
---|
| 578 | %defattr(-,root,root,-) |
---|
| 579 | %dir %{_datadir}/%{name} |
---|
| 580 | %{_datadir}/%{name}/demo |
---|
| 581 | %{_jvmdir}/demo |
---|
| 582 | |
---|
| 583 | %files alsa -f %{name}-%{version}-alsa.files |
---|
| 584 | %defattr(-,root,root,-) |
---|
| 585 | |
---|
| 586 | %files jdbc -f %{name}-%{version}-jdbc.files |
---|
| 587 | %defattr(-,root,root,-) |
---|
| 588 | |
---|
| 589 | %files plugin -f %{name}-%{version}-plugin.files |
---|
| 590 | %defattr(-,root,root,-) |
---|
| 591 | %dir %{_libdir}/mozilla |
---|
| 592 | %dir %{_libdir}/mozilla/plugins |
---|
| 593 | |
---|
| 594 | %files fonts |
---|
| 595 | %defattr(0644,root,root,0755) |
---|
| 596 | %{_jvmdir}/%{jredir}/lib/fonts/*.ttf |
---|
| 597 | %dir %{fontdir} |
---|
| 598 | %config(noreplace) %{fontdir}/fonts.alias |
---|
| 599 | %ghost %{fontdir}/fonts.dir |
---|
| 600 | %ghost %{fontdir}/fonts.scale |
---|
| 601 | %ghost %{fontdir}/fonts.cache-1 |
---|
| 602 | %ghost %{fontdir}/XftCache |
---|
| 603 | %ghost %{fontdir}/encodings.dir |
---|
| 604 | %{_sysconfdir}/X11/fontpath.d/java:pri=50 |
---|
| 605 | |
---|
| 606 | |
---|
| 607 | %changelog |
---|
[2229] | 608 | * Mon Nov 22 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6.0.22-1 |
---|
| 609 | - update to 6u22 |
---|
| 610 | |
---|
[1673] | 611 | * Wed Aug 18 2010 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6.0.21-1 |
---|
| 612 | - update to 6u21 |
---|
| 613 | - update to jdk-6-dlj-ubuntu r364 |
---|
| 614 | |
---|
[873] | 615 | * Wed Apr 21 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.0.20-1 |
---|
| 616 | - update to 6u20 |
---|
| 617 | |
---|
| 618 | * Sat Apr 10 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.0.19-1 |
---|
| 619 | - update to 6u19 |
---|
| 620 | |
---|
| 621 | * Fri Nov 06 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6.0.17-1 |
---|
| 622 | - update to 6u17 |
---|
| 623 | |
---|
| 624 | * Wed Aug 05 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6.0.15-1 |
---|
| 625 | - update to 6u15 |
---|
| 626 | |
---|
| 627 | * Tue Jun 09 2009 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6.0.14-1 |
---|
| 628 | - update to 6u14 |
---|
| 629 | - add fontconfig.properties |
---|
| 630 | - enable plugin on x86_64 |
---|
| 631 | |
---|
| 632 | * Thu Apr 30 2009 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 1.6.0.13-1 |
---|
| 633 | - update to 6u13 |
---|
| 634 | - run update-alternatives --auto at %%post section if necessary |
---|
| 635 | |
---|
| 636 | * Fri Jul 11 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6.0.07-1 |
---|
| 637 | - update to 6u7 |
---|
| 638 | |
---|
| 639 | * Sun May 04 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6.0.06-2 |
---|
| 640 | - change Group: to Development/Languages |
---|
| 641 | |
---|
| 642 | * Sun Apr 20 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6.0.06-1 |
---|
| 643 | - update to 6u6 |
---|
| 644 | |
---|
| 645 | * Wed Apr 16 2008 Daisuke SUZUKI <daisuke@linux.or.jp> 1.6.0.05-1 |
---|
| 646 | - initial build for Vine Linux based on Mandriva package |
---|
| 647 | |
---|
| 648 | * Thu Mar 27 2008 Anssi Hannula <anssi@mandriva.org> 1.6.0.05-1mdv2008.1 |
---|
| 649 | + Revision: 190664 |
---|
| 650 | - new version |
---|
| 651 | |
---|
| 652 | * Sat Mar 01 2008 Anssi Hannula <anssi@mandriva.org> 1.6.0.04-1.0.2mdv2008.1 |
---|
| 653 | + Revision: 177366 |
---|
| 654 | - add workarounds for buggy scripts of earlier versions |
---|
| 655 | |
---|
| 656 | * Wed Feb 06 2008 Anssi Hannula <anssi@mandriva.org> 1.6.0.04-1.0.1mdv2008.1 |
---|
| 657 | + Revision: 163152 |
---|
| 658 | - add proper requires on update-alternatives |
---|
| 659 | - adapt postun update-alternatives calls to alternatives policy (#37507) |
---|
| 660 | |
---|
| 661 | * Tue Jan 22 2008 David Walluck <walluck@mandriva.org> 1.6.0.04-1.0.0mdv2008.1 |
---|
| 662 | + Revision: 156375 |
---|
| 663 | - fix mixed use of tabs and spaces |
---|
| 664 | - 6u4 |
---|
| 665 | - ubuntu r273 |
---|
| 666 | - add back BuildRoot |
---|
| 667 | - fix tabs |
---|
| 668 | - jdk-6-dlj-ubuntu 265 |
---|
| 669 | |
---|
| 670 | + Thierry Vignaud <tvignaud@mandriva.com> |
---|
| 671 | - kill re-definition of %%buildroot on Pixel's request |
---|
| 672 | |
---|
| 673 | * Thu Nov 01 2007 David Walluck <walluck@mandriva.org> 1.6.0.03-1.0.1mdv2008.1 |
---|
| 674 | + Revision: 104748 |
---|
| 675 | - add jdk-6-dlj-ubuntu-r258.tar.bz2 |
---|
| 676 | - 1.6.0.03 |
---|
| 677 | - jdk-6-dlj-ubuntu-r258 |
---|
| 678 | |
---|
| 679 | * Thu Sep 27 2007 Anssi Hannula <anssi@mandriva.org> 1.6.0.02-1.0.9mdv2008.0 |
---|
| 680 | + Revision: 93208 |
---|
| 681 | - make sure all installed subpackages are of compatible arch |
---|
| 682 | |
---|
| 683 | * Sun Sep 16 2007 Anssi Hannula <anssi@mandriva.org> 1.6.0.02-1.0.8mdv2008.0 |
---|
| 684 | + Revision: 87491 |
---|
| 685 | - provide obsoleted packages |
---|
| 686 | - obsolete j2sdk as well, encountered in x86_64 restricted media |
---|
| 687 | |
---|
| 688 | * Sat Sep 15 2007 Anssi Hannula <anssi@mandriva.org> 1.6.0.02-1.0.7mdv2008.0 |
---|
| 689 | + Revision: 86313 |
---|
| 690 | - remove icon extension from .desktop |
---|
| 691 | - add missing jre_sun and jre_1.6.0 alternatives |
---|
| 692 | - obsolete the sun java packages in the restricted repository (Anne Nicolas) |
---|
| 693 | |
---|
| 694 | * Mon Aug 20 2007 Herton Ronaldo Krzesinski <herton@mandriva.com.br> 1.6.0.02-1.0.6mdv2008.0 |
---|
| 695 | + Revision: 68046 |
---|
| 696 | - Removed menu and directory xdg files (java-sun-directory.xdg, |
---|
| 697 | java-sun-menu.xdg), they duplicate current menu entries shown and are |
---|
| 698 | not needed by new mandriva menu structure (Closes: #32676). |
---|
| 699 | |
---|
| 700 | * Tue Aug 07 2007 Anssi Hannula <anssi@mandriva.org> 1.6.0.02-1.0.5mdv2008.0 |
---|
| 701 | + Revision: 59958 |
---|
| 702 | - use ExclusiveArch instead of BuildArch |
---|
| 703 | |
---|
| 704 | * Fri Aug 03 2007 Anssi Hannula <anssi@mandriva.org> 1.6.0.02-1.0.4mdv2008.0 |
---|
| 705 | + Revision: 58548 |
---|
| 706 | - fix jre alternatives to point to the jre bindir instead of sdk bindir |
---|
| 707 | (fixes bug #32241) |
---|
| 708 | |
---|
| 709 | * Wed Aug 01 2007 Anssi Hannula <anssi@mandriva.org> 1.6.0.02-1.0.3mdv2008.0 |
---|
| 710 | + Revision: 57646 |
---|
| 711 | - fix Web Start entry to not start Cache Viewer but to run the jnlp file |
---|
| 712 | presented as argument, and create a separate menu entry for Cache Viewer |
---|
| 713 | (fixes bug #31347) |
---|
| 714 | |
---|
| 715 | * Tue Jul 31 2007 Herton Ronaldo Krzesinski <herton@mandriva.com.br> 1.6.0.02-1.0.2mdv2008.0 |
---|
| 716 | + Revision: 57069 |
---|
| 717 | - Bump release to rebuild because of build system upload error. |
---|
| 718 | |
---|
| 719 | * Tue Jul 24 2007 David Walluck <walluck@mandriva.org> 1.6.0.02-1.0.1mdv2008.0 |
---|
| 720 | + Revision: 54885 |
---|
| 721 | - 1.6.0u2 |
---|
| 722 | - remove java.sh and java.csh scripts |
---|
| 723 | |
---|
| 724 | * Mon Jul 09 2007 Ademar de Souza Reis Jr <ademar@mandriva.com.br> 1.6.0.0-9mdv2008.0 |
---|
| 725 | + Revision: 50623 |
---|
| 726 | - fix fontconfig support (call fc-cache on %%post{,un}) |
---|
| 727 | - fontpath.d conversion (#31756) |
---|
| 728 | (chkfontpath was not being called, only the dependency was |
---|
| 729 | there, which I assume was a bug) |
---|
| 730 | |
---|
| 731 | * Mon Jun 25 2007 Thierry Vignaud <tvignaud@mandriva.com> 1.6.0.0-8mdv2008.0 |
---|
| 732 | + Revision: 44016 |
---|
| 733 | - rebuild for missing package |
---|
| 734 | |
---|
| 735 | * Thu Jun 21 2007 Thierry Vignaud <tvignaud@mandriva.com> 1.6.0.0-7mdv2008.0 |
---|
| 736 | + Revision: 42292 |
---|
| 737 | - fix group |
---|
| 738 | |
---|
| 739 | |
---|
| 740 | * Tue Mar 20 2007 Per Øyvind Karlsen <pkarlsen@mandriva.com> 1.6.0.0-6mdv2007.1 |
---|
| 741 | + Revision: 146976 |
---|
| 742 | - do not run update-alternatives --remove during upgrade (fixes #29705) |
---|
| 743 | - kill off java.desktop, there already exists matching and more correct |
---|
| 744 | mime types (fixes #27739) |
---|
| 745 | |
---|
| 746 | * Wed Mar 14 2007 Per Øyvind Karlsen <pkarlsen@mandriva.com> 1.6.0.0-4mdv2007.1 |
---|
| 747 | + Revision: 143782 |
---|
| 748 | - fix category in menu item |
---|
| 749 | |
---|
| 750 | * Wed Feb 21 2007 Per Øyvind Karlsen <pkarlsen@mandriva.com> 1.6.0.0-3mdv2007.1 |
---|
| 751 | + Revision: 124137 |
---|
| 752 | - bump release, last seems to get stuck in queue.. |
---|
| 753 | - add environment variables |
---|
| 754 | - set JAVA_HOME |
---|
| 755 | - make version in menu category consistent with Sun's |
---|
| 756 | |
---|
| 757 | * Wed Feb 21 2007 Per Øyvind Karlsen <pkarlsen@mandriva.com> 1.6.0.0-2mdv2007.1 |
---|
| 758 | + Revision: 123808 |
---|
| 759 | - add sources :) |
---|
| 760 | - fix menu |
---|
| 761 | - add mime type |
---|
| 762 | - provide jdk |
---|
| 763 | |
---|
| 764 | * Thu Feb 15 2007 Per Øyvind Karlsen <pkarlsen@mandriva.com> 1.6.0.0-1mdv2007.1 |
---|
| 765 | + Revision: 121247 |
---|
| 766 | - add desktop-file-utils to buildrequires |
---|
| 767 | - remove lzma from buildrequires |
---|
| 768 | - use bzip2 in stead of lzma (lzma still not in main..) |
---|
| 769 | fix installation of menu |
---|
| 770 | - ensure that plugins dir exists for update-alternatives |
---|
| 771 | - fix update-alternatives removal for plugin |
---|
| 772 | - remove kaffe conflict |
---|
| 773 | - Import java-1.6.0-sun |
---|
| 774 | |
---|