<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Everything technical &#187; Fedora</title>
	<atom:link href="http://www.lbotti.net/blog/tag/fedora/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.lbotti.net/blog</link>
	<description>Linux, Java, Python...just techie blogging</description>
	<lastBuildDate>Mon, 30 Aug 2010 12:45:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Fedora Directions</title>
		<link>http://www.lbotti.net/blog/2010/08/29/fedora-directions/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.lbotti.net/blog/2010/08/29/fedora-directions/#comments</comments>
		<pubDate>Sun, 29 Aug 2010 10:30:17 +0000</pubDate>
		<dc:creator>lucabotti</dc:creator>
				<category><![CDATA[Community]]></category>
		<category><![CDATA[Fedora]]></category>

		<guid isPermaLink="false">http://www.lbotti.net/blog/?p=230</guid>
		<description><![CDATA[I am following the posts by Mairin , John and Alex who, correctly, question the direction of Fedora. On my side, having been in the Suse, Debian, Gentoo, and Ubuntu side of things in last eight years, and having landed in Fedora (and staying there..) for the past four, I can say I am mostly [...]]]></description>
			<content:encoded><![CDATA[<p>I am following the posts by <a title='Original Link: http://mairin.wordpress.com/2010/08/28/amen-brother/'  href="http://www.lbotti.net/blog/?OF4OzUNL">Mairin</a> , <a title='Original Link: http://www.jonmasters.org/blog/2010/08/28/what-i-want-from-fedora/'  href="http://www.lbotti.net/blog/?FxRI9Rr0">John</a> and <a title='Original Link: http://www.alexhudson.com/2010/08/29/beyond-dogfood/'  href="http://www.lbotti.net/blog/?6_B_unlw">Alex</a> who, correctly, question the direction of Fedora.<br />
On my side, having been in the Suse, Debian, Gentoo, and Ubuntu side of things in last eight years, and having landed in Fedora (and staying there..) for the past four, I can say I am mostly happy with the distro. And yes, I run it as my primary desktop, and, yes again, I do not dual boot.</p>
<p>Regarding <strong>updates</strong>, I regard Fedora as a living on the edge distribution, where experimentations are done and new software is built. The new startup daemon being ported to Fedora 14 is a primary sample of this. And this is the advantage of Fedora over, say, Ubuntu. Ubuntu has the momentum, the buzz, a company beyond &#8211; all of this, but has also critical issues in upstream contribution (Gnome comes to mind), innovation, and also patching.</p>
<p>What can be done? Innovation is the holy grail of Fedora,  and that should stay. Perhaps, instead of following a 6 months release cycle, we could take a more progressive approach &#8211; an 8 month release cycle? Some LTS releases? Open to suggestions.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lbotti.net/blog/2010/08/29/fedora-directions/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Java 6 update 17 on Fedora 12</title>
		<link>http://www.lbotti.net/blog/2010/01/08/java-6-update-17-on-fedora-12/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.lbotti.net/blog/2010/01/08/java-6-update-17-on-fedora-12/#comments</comments>
		<pubDate>Fri, 08 Jan 2010 00:26:50 +0000</pubDate>
		<dc:creator>lucabotti</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Packaging]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[RPM]]></category>

		<guid isPermaLink="false">http://www.lbotti.net/blog/?p=205</guid>
		<description><![CDATA[A nice reader asked about the spec file for update 17 of the Sun Java virtual machine. I already had updated the spec file, which you can find here and then follow my previous post. Right now, I am using Chromium (open source version of Google Chrome) and I will fix the Java plugin for [...]]]></description>
			<content:encoded><![CDATA[<p>A nice reader asked about the spec file for update 17 of the Sun Java virtual machine. I already had updated the spec file, which you can find <a href="http://www.lbotti.net/specfiles/java-1.6.0-sun.spec">here</a> and then follow my <a href="http://www.lbotti.net/blog/2009/08/07/java-1-6u15-installation-in-fedora-11/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" target="_blank">previous post</a>.<br />
Right now, I am using Chromium (open source version of Google Chrome) and I will fix the Java plugin for that.<br />
I Promise! </p>
  
<div class="wp_license">
<p><a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/"><img src="http://i.creativecommons.org/l/by-sa/3.0/88x31.png" alt="Creative Commons Attribution-ShareAlike 3.0 Unported" class="alignleft" style="margin-top:4px;" />
</a>This work  is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution-ShareAlike 3.0 Unported</a>.</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.lbotti.net/blog/2010/01/08/java-6-update-17-on-fedora-12/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Pinax Dependencies &#8211; django-extensions</title>
		<link>http://www.lbotti.net/blog/2009/08/24/pinax-dependencies/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.lbotti.net/blog/2009/08/24/pinax-dependencies/#comments</comments>
		<pubDate>Mon, 24 Aug 2009 03:55:44 +0000</pubDate>
		<dc:creator>lucabotti</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Django]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Packaging]]></category>
		<category><![CDATA[Pinax]]></category>

		<guid isPermaLink="false">http://www.lbotti.net/blog/?p=184</guid>
		<description><![CDATA[Ok, so I checked Pinax dependencies and found some external libs to be packaged before being able to completely package Pinax. This packages will form the &#8220;depends&#8221; line of Pinax itself. Looking carefully, the first one is named django_extensions, but really the name should be &#8220;django-extensions&#8221;, and you can find the project with the not [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, so I checked <a title='Original Link: http://pinaxproject.com/docs/0.5.1/dependencies.html'  href="http://www.lbotti.net/blog/?aZmfuYB8" target="_blank">Pinax dependencies</a> and found some external libs to be packaged before being able to completely package Pinax. This packages will form the &#8220;depends&#8221; line of Pinax itself.</p>
<p>Looking carefully, the first one is named django_extensions, but really the name should be &#8220;django-extensions&#8221;, and you can find the project with the not intuitive name of &#8220;django-commandline-extensions&#8221; <a title='Original Link: http://code.google.com/p/django-command-extensions/'  href="http://www.lbotti.net/blog/?qJ3QnbdI" target="_blank">here</a> at googlecode.</p>
<p>Ok, let&#8217;s see the spec file:</p>
<blockquote><p>%{!?python_sitelib: %define python_sitelib %(%{__python} -c &#8220;from distutils.sysconfig import get_python_lib; print get_python_lib()&#8221;)}</p>
<p>Name:           django-extensions<br />
Version:        0.4.1<br />
Release:        1%{?dist}<br />
Summary:        Django command line extensions</p></blockquote>
<p>Up to this point, standard stuff. The {?dist} should stand for &#8220;current distribution&#8221;, so it will end in a &#8220;fc11&#8243; package.</p>
<blockquote><p>Group:          Development/Languages<br />
License:        BSD<br />
URL:            http://code.google.com/p/django-command-extensions/<br />
Source0:        %{name}-%{version}.tar.gz<br />
Source1:        %{name}-docs-%{version}.tar.gz</p></blockquote>
<p>The Group is standard for Python / Django libraries. License is taken from the project&#8217;s homepage, source is the standard .tar.gz file which is downloaded from the front page of the project. Source1 is extracted from the <a title='Original Link: http://github.com/django-extensions/django-extensions/tree/master'  href="http://www.lbotti.net/blog/?WXOwTwJJ" target="_blank">github</a> 0.4.1 tag of the project and contains just the documentation to be built.</p>
<blockquote><p>BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)</p>
<p>BuildArch:      noarch<br />
BuildRequires:  python-devel python-sphinx<br />
Requires:       Django</p>
<p>%description<br />
This is a repository for collecting global custom management extensions<br />
for the Django Framework</p></blockquote>
<p>The buildroot path is standard, arch is noarch (just python code&#8230;), the build requires gets the addition of <a title='Original Link: http://sphinx.pocoo.org/'  href="http://www.lbotti.net/blog/?UJUcmz33" target="_blank">python-sphinx</a> (python documentation generator) which, at buildtime, generates html documentation from .rst files. Obviously runtime requirements are Django, while the description is a copy and paste from the project home page.</p>
<blockquote><p>%package doc<br />
Summary:        Documentation for django-extensions<br />
Group:          Documentation<br />
Requires:       %{name} = %{version}-%{release}<br />
Provides:       %{name}-docs = %{version}-%{release}<br />
Obsoletes:      %{name}-docs &lt; %{version}-%{release}</p>
<p>%description doc<br />
This package contains the documentation for the django-extension library</p></blockquote>
<p>Wait a minute, what is this? Exactly, we are building not one but two packages. One for code, one for doc.</p>
<blockquote><p>%prep<br />
%setup -q -n %{name}-%{version}<br />
%setup -a 1</p></blockquote>
<p>Ok, now things become interesting. According to both the <a title='Original Link: http://docs.fedoraproject.org/drafts/rpm-guide-en/ch21s02.html'  href="http://www.lbotti.net/blog/?mc7Hmlsx" target="_blank">Fedora Project RPM Guide</a> and the <a title='Original Link: http://www.rpm.org/max-rpm-snapshot'  href="http://www.lbotti.net/blog/?9kuJskde">Maximum RPM</a> book on rpm.org, the above section reads as: prepare environment; extract first source file silently in a directory named $name-$version (e.g. django-extension-0.4.1), then extract the second source file after changing directory to the newly created directory. This is necessary because I compressed just the docs directory level in the git-donwloaded file.</p>
<blockquote><p>%build<br />
%{__python} setup.py build</p>
<p>%install<br />
rm -rf $RPM_BUILD_ROOT<br />
%{__python} setup.py install -O1 &#8211;skip-build &#8211;root $RPM_BUILD_ROOT</p>
<p>(cd docs &amp;&amp; make html)</p></blockquote>
<p>All this stuff comes standard creating an empty python spec file, apart from the last line, which builds the html documentation. This is suggested also by Django spec file (go get it with a yumdownloader &#8211;source Django and rpm -ivh the src.rpm).</p>
<blockquote><p>%clean<br />
rm -rf $RPM_BUILD_ROOT</p>
<p>%files<br />
%defattr(-,root,root,-)<br />
%{python_sitelib}/*</p></blockquote>
<p>Standard stuff again.</p>
<blockquote><p>%files doc<br />
%doc docs</p></blockquote>
<p>doc packages files</p>
<blockquote><p>%changelog<br />
* Sun Aug 23 2009 Luca Botti &lt;lucabotti&#8230;fedoraproject.org&gt;<br />
- Initial RPM Release</p></blockquote>
<p>changelog description.</p>
<p>This file is uploaded at my <a title='Original Link: http://lucabotti.fedorapeople.org/'  href="http://www.lbotti.net/blog/?8SAQd_pX" target="_blank">fedorapeople.org</a>&#8216;s address and is submitted in bugzilla for review <a title='Original Link: https://bugzilla.redhat.com/show_bug.cgi?id=518857'  href="http://www.lbotti.net/blog/?J9ZWySOK" target="_blank">here</a>. I am waiting for sponsorship. Thanks.</p>
<p>More packages will follow. Stay tuned.</p>
  
<div class="wp_license">
<p><a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/"><img src="http://i.creativecommons.org/l/by-sa/3.0//88x31.png" alt="Creative Commons Attribution-ShareAlike 3.0 Unported" class="alignleft" style="margin-top:4px;" />
</a>This work  is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution-ShareAlike 3.0 Unported</a>.</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.lbotti.net/blog/2009/08/24/pinax-dependencies/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Building RPMs, part two &#8211; Pinax</title>
		<link>http://www.lbotti.net/blog/2009/08/23/building-rpms-part-two-pinax/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.lbotti.net/blog/2009/08/23/building-rpms-part-two-pinax/#comments</comments>
		<pubDate>Sun, 23 Aug 2009 15:55:33 +0000</pubDate>
		<dc:creator>lucabotti</dc:creator>
				<category><![CDATA[Django]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Licensing]]></category>
		<category><![CDATA[Netbook]]></category>
		<category><![CDATA[Packaging]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://people.byte-code.com/lbotti/?p=56</guid>
		<description><![CDATA[Ok, so now we have the environment complete. First thing I want to package is Pinax. This is a nice little collection of Django applications which add some required stuff for most of web based applications. On the link above you will find all the info for the project, so let&#8217;s start. We will build [...]]]></description>
			<content:encoded><![CDATA[<p>Ok, so now we have the environment complete. First thing I want to package is <a title="Pinax" title='Original Link: http://pinaxproject.com/'  href="http://www.lbotti.net/blog/?lHD_YdIN" target="_blank">Pinax</a>. This is a nice little collection of Django applications which add some required stuff for most of web based applications.</p>
<p>On the link above you will find all the info for the project, so let&#8217;s start. We will build the release version of Pinax (for development versions I have a side project, which I will show you at right time). Please note &#8211; all the release used are current for the day this entry has been written.</p>
<p>Download pinax version 0.5.1 from <a title='Original Link: http://downloads.pinaxproject.com/pinax-0.5.1.tar.gz'  href="http://www.lbotti.net/blog/?ODh6AOjx">here</a> and put it in rpmbuild/SOURCES. After that:</p>
<blockquote><p>cd ~/rpmbuild/SPECS</p>
<p>rpmdev-newspec -t python pinax</p></blockquote>
<p>Rpmdev-newspec creates the skeleton for a new spec file named pinax. The -t python option tells to create a skeleton  with some python definitions in it (python definitions are laid out according to this <a title='Original Link: http://fedoraproject.org/wiki/Packaging:Python'  href="http://www.lbotti.net/blog/?vFV1KQHw" target="_blank">wiki entry</a> on the Fedora Project Wiki); you can see which skeletons are available looking in &#8216;\etc\rpmdevtools&#8217;.</p>
<p>Why Python? Well, my guess is that being DJango a <span style="text-decoration: underline;">Python</span> framework, you know&#8230;.</p>
<p>Let&#8217;s look at the spec file and put some info into that. You can use any editor for the file (I use <a title='Original Link: http://www.geany.org/'  href="http://www.lbotti.net/blog/?oWVTdap3" target="_blank">geany</a>, fast and lightweight).</p>
<blockquote><p># sitelib for noarch packages, sitearch for others (remove the unneeded one)<br />
%{!?python_sitelib: %global python_sitelib %(%{__python} -c &#8220;from distutils.sysconfig import get_python_lib; print get_python_lib()&#8221;)}<br />
%{!?python_sitearch: %global python_sitearch %(%{__python} -c &#8220;from distutils.sysconfig import get_python_lib; print get_python_lib(1)&#8221;)}</p>
<p>Name:           pinax<br />
Version:<br />
Release:        1%{?dist}<br />
Summary:</p>
<p>Group:          Development/Languages<br />
License:<br />
URL:<br />
Source0:<br />
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)</p>
<p>BuildArch:<br />
BuildRequires:  python-devel</p></blockquote>
<p>I am assuming that Pinax is a pure python package, so we use the sitelib for noarch packages (first line of the two provided). After that we have to insert some descriptive info of the Pinax project.</p>
<p>But, of course, before going ahead we must check some of the <a title='Original Link: http://pinaxproject.com/docs/0.5.1/dependencies.html'  href="http://www.lbotti.net/blog/?aZmfuYB8" target="_blank">Pinax dependencies</a>.</p>
<p>Continuing tomorrow&#8230;</p>
  
<div class="wp_license">
<p><a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/"><img src="http://i.creativecommons.org/l/by-nc-sa/3.0/88x31.png" alt="Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported" class="alignleft" style="margin-top:4px;" />
</a>This work  is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-nc-sa/3.0/">Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported</a>.</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.lbotti.net/blog/2009/08/23/building-rpms-part-two-pinax/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java 1.6u15 installation in Fedora 11</title>
		<link>http://www.lbotti.net/blog/2009/08/07/java-1-6u15-installation-in-fedora-11/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.lbotti.net/blog/2009/08/07/java-1-6u15-installation-in-fedora-11/#comments</comments>
		<pubDate>Thu, 06 Aug 2009 22:56:29 +0000</pubDate>
		<dc:creator>lucabotti</dc:creator>
				<category><![CDATA[CentOS]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Packaging]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[RPM]]></category>

		<guid isPermaLink="false">http://www.lbotti.net/blog/?p=165</guid>
		<description><![CDATA[Sometimes life is strange. Just 4 days ago I was releasing the spec file for Java 1.6u14, and now Sun releases the new patched vm. Anyway, go grab the new jdk bin package (check for update 15) and download the spec file from here . Follow the instructions from previous post and all should be [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes life is strange. Just 4 days ago I was releasing the spec file for Java 1.6u14, and now Sun releases the new patched vm. Anyway, go grab the new jdk bin package (check for update 15) and download the spec file from <a href="http://www.lbotti.net/specfiles/java-1.6.0-sun.spec">here</a> . Follow the instructions from <a href="http://www.lbotti.net/blog/2009/08/03/java-and-fedora/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" target="_blank">previous post</a> and all should be ok.</p>
<p>Just in case, the older spec file can be found <a href="http://www.lbotti.net/specfiles/java-1.6.0u14-sun.spec">here</a> .</p>
<p>A sidenote &#8211; the behaviour here is that fixes of major version will update the base package. So 1.6u15 will just upgrade 1.6u14. If you wish something different, let me know. But this is JPackage standard.</p>
<p><strong>Update</strong> &#8211; please remove previous version of packages. I am studying the update path + alternatives issues which emerged.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lbotti.net/blog/2009/08/07/java-1-6u15-installation-in-fedora-11/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Java 1.6 and Fedora 11</title>
		<link>http://www.lbotti.net/blog/2009/08/03/java-and-fedora/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.lbotti.net/blog/2009/08/03/java-and-fedora/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 19:34:34 +0000</pubDate>
		<dc:creator>lucabotti</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Packaging]]></category>
		<category><![CDATA[RPM]]></category>

		<guid isPermaLink="false">http://people.byte-code.com/lbotti/?p=32</guid>
		<description><![CDATA[How to install the latest version of Java 1.6 on Fedora 11 (also F10 should work) and CentOS. For Java on Fedora, I rely on Paul Howarth excellent wiki entry regarding rebuild of Sun Java Package on Fedora Linux. As a side note, OpenJDK is possibly the best thing that could happen to Java, but: [...]]]></description>
			<content:encoded><![CDATA[<p><em>How to install the latest version of Java 1.6 on Fedora 11 (also F10 should work) and CentOS.</em></p>
<p>For Java on Fedora, I rely on <a title='Original Link: http://www.city-fan.org/tips/SunJava6OnFedora'  href="http://www.lbotti.net/blog/?qKZ80u36" target="_self">Paul Howarth excellent wiki entry</a> regarding rebuild of Sun Java Package on Fedora Linux.<br />
As a side note, OpenJDK is possibly the best thing that could happen to Java, but:</p>
<ul>
<li>as a developer, I need the target vm on my development environment</li>
<li>as a user, a lot of applets have issues with the OpenJDK plugin</li>
</ul>
<p>Unfortunately, Paul&#8217;s entry refers to version 7 of Java 6, while, at the time of this writing, Java has been updated to version 14. Furthermore, since release 12 of Java 6, a 64 bit version of the java plugin exists (which follows new plugin apis available from mozilla version 3 forward, by the way), so Paul&#8217;s notes regarding 64 bit plugin are not valid anymore.</p>
<p>Well, enough said. I just put up a new spec file to help any of you out there setting up the correct java version for your fedora. The thing is set for Fedora 11, but should work for version 10, too.</p>
<p>You can donwload the spec file <a href="http://www.lbotti.net/specfiles/java-1.6.0-sun.spec">here</a> . Also download <a href="http://www.lbotti.net/specfiles/java-1.6.0-sun-register-java-fonts.xsl" target="_blank">this</a> xsl file and <a href="http://www.lbotti.net/specfiles/java-1.6.0-sun-unregister-java-fonts.xsl" target="_blank">this one</a> .</p>
<p>If you need to startup with rpm packaging (easier than what you would expect) see my previous <a href="http://www.lbotti.net/blog/2009/06/27/packaging-startup/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed" target="_blank">post</a> regarding packaging setup. You can skip the installation of development-tools, anyway.</p>
<p>After completing the initial steps, put the spec file above in the SPECS directory under rpmbuild in your home directory, and the xsl files in the SOURCES directory (still under rpmbuild).</p>
<p><a title='Original Link: http://java.sun.com/javase/downloads/index.jsp'  href="http://www.lbotti.net/blog/?V1bbneGD" target="_blank">Download Java</a> (as of today, spec file is for version 6 update 14) 64 or 32 bit as needed. As I was saying, from version 12 forward there is the 64 bit plugin and Java Web Start. Choose the <strong>bin</strong> file, and download it in ~/rpmbuild/SOURCES.</p>
<blockquote><p>In case you are wondering, the ~ symbol in Linux stands for &#8220;<em>the user&#8217;s home directory</em>&#8220;, so, if the username you adopted on Linux is &#8220;jsmith&#8221;, your user home directory will be &#8220;<em>/home/jsmith</em>&#8220;, and the above directory will be&#8221;<em>/home/jsmith/rpmbuild/SOURCES</em>&#8221; and the previous one will be &#8220;<em>/home/jsmith/rpmbuild/SPECS</em>&#8220;</p></blockquote>
<p>Now insert the following commands:</p>
<blockquote><p>cd rpmbuild/SPECS<br />
rpmbuild -ba java-1.6.0-sun.spec</p></blockquote>
<p>Take your time here (it takes a bit to unpack and repackage all). After a while, if all is OK, the command prompt will be back and you will find some files in the RPMS and SRPMS directories.</p>
<p>Depending on your architecture, you will find a i586 (for Fedora 11) or X86_64 directory with rpms in it. To have the Java runtime environment, just do:</p>
<blockquote><p>sudo yum localinstall java-1.6.0-sun{,-alsa,-fonts,-plugin}-1.6.0*.rpm &#8211;nogpgcheck</p></blockquote>
<p>answer y(es) and go ahead. But now the default Java will still be set to OpenJDK (if installed) the gcj. Just do</p>
<blockquote><p>sudo alternatives &#8211;config java</p></blockquote>
<blockquote><p>There are 3 programs which provide &#8216;java&#8217;.</p>
<p>Selection    Command</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>*  1           /usr/lib/jvm/jre-1.6.0-openjdk.x86_64/bin/java</p>
<p>2           /usr/lib/jvm/jre-1.4.2-gcj/bin/java</p>
<p>+ 3           /usr/lib/jvm/jre-1.6.0-sun/bin/java</p>
<p>Enter to keep the current selection[+], or type selection number:</p></blockquote>
<p>In this case, selecting 3 you would select the sun java runtime we just installed.<br />
As an additional benefit, an entry in the administration menu of Gnome (do not know about KDE) will be present to set all things related to Java. Also the Java Web Start should work. You can try with (ex)<a title='Original Link: http://dist.trolltech.com/developer/download/webstart/index.html'  href="http://www.lbotti.net/blog/?mV4MVnPE" target="_blank">TrollTech&#8217;s Qt Jambi Demo Page</a> or at Sun&#8217;s <a title='Original Link: http://java.sun.com/javase/technologies/desktop/javawebstart/demos.html'  href="http://www.lbotti.net/blog/?cqwaIKTY" target="_blank">Java Web Start Demo Page</a>.</p>
<p>I hope all this becomes obsolete quickly &#8211; <a title='Original Link: http://blogs.sun.com/darcy/entry/openjdk_and_the_new_plugin'  href="http://www.lbotti.net/blog/?kHWa2P7M">it looks like</a> in b16 of the OpenJDK the plugin source code is included, so we should see it appear in the Fedora infrastructure for F12.</p>
<p><strong>Update </strong>Fabio comments that <strong>KDE</strong> menu entries work correctly, too. Also, to have the development environment you have to:</p>
<blockquote><p>sudo yum localinstall java-1.6.0-sun{,-demo,-devel,-src,-jdbc}-1.6.0*.rpm –nogpgcheck</p></blockquote>
<p>to install compilers, profiler, and all of the JDK elements.</p>
  
<div class="wp_license">
<p><a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/"><img src="http://i.creativecommons.org/l/by-sa/3.0/88x31.png" alt="Creative Commons Attribution-ShareAlike 3.0 Unported" class="alignleft" style="margin-top:4px;" />
</a>This work  is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution-ShareAlike 3.0 Unported</a>.</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.lbotti.net/blog/2009/08/03/java-and-fedora/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>About Sudo and Fedora</title>
		<link>http://www.lbotti.net/blog/2009/08/01/about-sudo-and-fedora/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.lbotti.net/blog/2009/08/01/about-sudo-and-fedora/#comments</comments>
		<pubDate>Sat, 01 Aug 2009 07:35:59 +0000</pubDate>
		<dc:creator>lucabotti</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux Hacking]]></category>
		<category><![CDATA[SysAdmin]]></category>

		<guid isPermaLink="false">http://www.lbotti.net/blog/?p=102</guid>
		<description><![CDATA[Whenever you read entries about Fedora administration, the common recommendation is to use sudo instead of the root account. But if you try sudo at the command line, you are met with some error regarding sudo configuration: Fedora does not sudo-enable your account to during system installation, so you are stuck. What to do is [...]]]></description>
			<content:encoded><![CDATA[<p>Whenever you read entries about Fedora administration, the common recommendation is to use sudo instead of the root account.</p>
<p>But if you try sudo at the command line, you are met with some error regarding sudo configuration: Fedora does not sudo-enable  your account to during system installation, so you are stuck.</p>
<p>What to do is simple:<br />
<pre><code>su -
(insert your root password)
visudo &lt;em&gt; (as per kagesenshi comment #1)&lt;/em&gt;
</code></pre><br />
Find a line which says:<br />
<pre><code>
root&nbsp;&nbsp;&nbsp;&nbsp;ALL=(ALL)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ALL
</code></pre><br />
and add<br />
<pre><code>
$username ALL=(ALL)&nbsp;&nbsp;&nbsp;&nbsp; ALL
</code></pre><br />
where <strong>$username</strong> is the user you log in. That&#8217;s all. Ubuntu default behaviour on Fedora.<br />
A variant of this is adding a NOPASSWD tag to avoid requesting for a password every time, though I DO NOT RECOMMEND doing that (gives you time to think about what you are doing); the line becomes:<br />
<pre><code>
$username ALL=(ALL)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NOPASSWD: ALL
</code></pre></p>
<p>EDIT &#8211; Brian correctly suggests to uncomment the wheel group in /etc/sudoers and add the users to said group; while correct from a sysadmin point of view, I believe we should keep it simple for users that use Fedora &#8220;on the Desktop&#8221;. I strongly believe Using Fedora and Administering Fedora should be kept as separate activities as possible. Anyway, for more technically oriented users, you can find this way at the <a title='Original Link: http://fedorasolved.org/post-install-solutions/sudo'  href="http://www.lbotti.net/blog/?U0M39roS" target="_blank">fedorasolved.org</a> site.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lbotti.net/blog/2009/08/01/about-sudo-and-fedora/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Packaging &#8211; Infrastructure setup</title>
		<link>http://www.lbotti.net/blog/2009/07/29/packaging-infrastructure-setup/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.lbotti.net/blog/2009/07/29/packaging-infrastructure-setup/#comments</comments>
		<pubDate>Wed, 29 Jul 2009 11:50:19 +0000</pubDate>
		<dc:creator>lucabotti</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Packaging]]></category>

		<guid isPermaLink="false">http://www.lbotti.net/blog/?p=86</guid>
		<description><![CDATA[For packaging purposes (see my previous entry) I think to need some infrastructure. Specifically: An internal subversion repository for spec files (before posting them on fedora) Mock (also look here) to build in a chrooted environment The subversion repository will be hosted on my soho server at home with dynamic ip (obviously in a ssh [...]]]></description>
			<content:encoded><![CDATA[<p>For packaging purposes (see my previous entry) I think to need some infrastructure. Specifically:</p>
<ul>
<li>An internal subversion repository for spec files (before posting them on fedora)</li>
<li><a title='Original Link: http://fedoraproject.org/wiki/Projects/Mock'  href="http://www.lbotti.net/blog/?arAtXIOJ" target="_blank">Mock</a> (also look <a title="Mock" title='Original Link: http://fedorahosted.org/mock/'  href="http://www.lbotti.net/blog/?ba3gf_vR" target="_blank">here</a>) to build in a chrooted environment</li>
</ul>
<p>The subversion repository will be hosted on my soho server at home with dynamic ip (obviously in a ssh setting), which runs on CentOS. The mock environment is just a <em>sudo yum install mock</em> on my machines.</p>
<p>I was also toying with the idea of installing <a title='Original Link: http://fedoraproject.org/wiki/Koji'  href="http://www.lbotti.net/blog/?3KkAWpC6" target="_blank">Koji</a> and run a <a title='Original Link: http://fedoraproject.org/wiki/Koji/ServerHowTo'  href="http://www.lbotti.net/blog/?8mhZhJLi" target="_blank">build server</a> on my little atom 330, but perhaps <span style="text-decoration: underline;">that</span> is overkill.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lbotti.net/blog/2009/07/29/packaging-infrastructure-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Planet Fedora</title>
		<link>http://www.lbotti.net/blog/2009/07/27/planet-fedora/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.lbotti.net/blog/2009/07/27/planet-fedora/#comments</comments>
		<pubDate>Mon, 27 Jul 2009 17:47:46 +0000</pubDate>
		<dc:creator>lucabotti</dc:creator>
				<category><![CDATA[Fedora]]></category>

		<guid isPermaLink="false">http://www.lbotti.net/blog/?p=79</guid>
		<description><![CDATA[Just added this blog to planet fedora: still writing the next post on packaging.]]></description>
			<content:encoded><![CDATA[<p>Just added this blog to planet fedora: still writing the next post on packaging.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lbotti.net/blog/2009/07/27/planet-fedora/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ten days with Fedora 10</title>
		<link>http://www.lbotti.net/blog/2008/12/01/ten-days-with-fedora-10/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.lbotti.net/blog/2008/12/01/ten-days-with-fedora-10/#comments</comments>
		<pubDate>Mon, 01 Dec 2008 11:02:42 +0000</pubDate>
		<dc:creator>lucabotti</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[iSCSI]]></category>

		<guid isPermaLink="false">http://people.byte-code.com/lbotti/?p=30</guid>
		<description><![CDATA[Last week the nice guys at Fedora released the tenth (X in roman numerals) version of Fedora. In the previous weekend, I already had installed the preview release on my notebook, as a clean install. It all worked perfectly, marking this version of Fedora the most interesting Linux Distribution release I ever tried. Fast, beautiful [...]]]></description>
			<content:encoded><![CDATA[<p>Last week the nice guys at Fedora released the tenth (X in roman numerals) version of Fedora.</p>
<p>In the previous weekend, I already had installed the preview release on my notebook, as a clean install. It all worked perfectly, marking this version of Fedora the most interesting Linux Distribution release I ever tried.</p>
<p>Fast, beautiful (thanks to Byte-Code colleague Samuele Storari and his Solar theme),  this version, while looking similar to older 9 release, feels definitely more polished and performing.</p>
<p>After the release, I yum-upgraded my home server (the Atom 330 I mentioned in the past), and it worked out really fine, with no issues at all. It&#8217;s a simpler environment (no gnome, and a initlevel at 3), but everything (iscsi,  samba, DNS, DHCP) continued working as before.</p>
<p>On a side note, my iscsi disk is one of two USB disks attached to the server, so I was wondering how to ensure the block device naming and availability. After contemplating custom udev rules, all that was necessary was a look at /dev/disk. I discovered I can access block devices (like disks) through the /dev/disk/by-id, for example.</p>
<p>Really interesting.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lbotti.net/blog/2008/12/01/ten-days-with-fedora-10/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
