<?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; Uncategorized</title>
	<atom:link href="http://www.lbotti.net/blog/category/uncategorized/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>Sadly, back to chromium</title>
		<link>http://www.lbotti.net/blog/2010/05/26/sadly-back-to-chromium/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.lbotti.net/blog/2010/05/26/sadly-back-to-chromium/#comments</comments>
		<pubDate>Wed, 26 May 2010 11:47:44 +0000</pubDate>
		<dc:creator>lucabotti</dc:creator>
				<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Netbook]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[Chromium]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Performance]]></category>

		<guid isPermaLink="false">http://www.lbotti.net/blog/?p=226</guid>
		<description><![CDATA[My day job does not involve Linux or programming, so I usually go around with a netbook as my primary machine. Sadly, on F13 (which I installed gracefully since beta) Firefox has some performance issue, such as to force me to Chromium. So no weave anymore (weave is awesome) and some support less for the [...]]]></description>
			<content:encoded><![CDATA[<p>My day job does not involve Linux or programming, so I usually go around with a netbook as my primary machine.<br />
Sadly, on F13 (which I installed gracefully since beta) Firefox has some  performance issue, such as to force me to Chromium. So no weave anymore (weave is awesome) and some support less for the FLOSS world.</p>
<p>Hope Firefox catch back the performance crown, or anyway improve it to be good enough. In the meantime, Chromium is my platform.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lbotti.net/blog/2010/05/26/sadly-back-to-chromium/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Spam Results</title>
		<link>http://www.lbotti.net/blog/2010/05/05/spam-results/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.lbotti.net/blog/2010/05/05/spam-results/#comments</comments>
		<pubDate>Wed, 05 May 2010 14:03:06 +0000</pubDate>
		<dc:creator>lucabotti</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lbotti.net/blog/?p=224</guid>
		<description><![CDATA[Posts now require registration. Too much spam, even for a low profile, low posting blog like this.]]></description>
			<content:encoded><![CDATA[<p>Posts now require registration. Too much spam, even for a low profile, low posting blog like this.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lbotti.net/blog/2010/05/05/spam-results/feed/</wfw:commentRss>
		<slash:comments>0</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>Submitting packages</title>
		<link>http://www.lbotti.net/blog/2009/08/22/submitting-packages/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.lbotti.net/blog/2009/08/22/submitting-packages/#comments</comments>
		<pubDate>Fri, 21 Aug 2009 22:23:23 +0000</pubDate>
		<dc:creator>lucabotti</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lbotti.net/blog/?p=180</guid>
		<description><![CDATA[After reading Tim Niemueller&#8217;s blog entry I contacted him proposing to maintain the packages he prepared, so now I am beginning to submit them for maintenance. I need sponsorship, so if somebody reading this blog entry is willing to step up, bugzilla&#8217;s bug 518647 and bug 518636 are asking for support. A question to fedora [...]]]></description>
			<content:encoded><![CDATA[<p>After reading <a title='Original Link: http://www.niemueller.de/blog/'  href="http://www.lbotti.net/blog/?cm7t0mk2" target="_blank">Tim Niemueller&#8217;s blog entry</a> I contacted him proposing to maintain the packages he prepared, so now I am beginning to submit them for maintenance.</p>
<p>I need sponsorship, so if somebody reading this blog entry is willing to step up, bugzilla&#8217;s bug <a title='Original Link: https://bugzilla.redhat.com/show_bug.cgi?id=518647'  href="http://www.lbotti.net/blog/?Bfl7In3w" target="_blank">518647</a> and bug <a title='Original Link: https://bugzilla.redhat.com/show_bug.cgi?id=518636'  href="http://www.lbotti.net/blog/?ZTxPvFJl" target="_blank">518636</a> are asking for support.</p>
<p>A question to fedora guys: why the fedorapeople.org email alias is not working with my mail address?</p>
  
<div class="wp_license">
<p><a rel="license" href="http://creativecommons.org/licenses/by-nd/3.0/"><img src="http://i.creativecommons.org/l/by-nd/3.0//88x31.png" alt="Creative Commons Attribution-NoDerivs 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-nd/3.0/">Creative Commons Attribution-NoDerivs 3.0 Unported</a>.</p>
</div>]]></content:encoded>
			<wfw:commentRss>http://www.lbotti.net/blog/2009/08/22/submitting-packages/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>JDK6 update 16 and Fedora</title>
		<link>http://www.lbotti.net/blog/2009/08/15/jdk6-update-16-and-fedora/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.lbotti.net/blog/2009/08/15/jdk6-update-16-and-fedora/#comments</comments>
		<pubDate>Sat, 15 Aug 2009 07:22:23 +0000</pubDate>
		<dc:creator>lucabotti</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lbotti.net/blog/?p=172</guid>
		<description><![CDATA[Sun did it again. They released the update to jdk (a security fixes update) just few days after my previous post . Ok, then. Let&#8217;s try to keep up the pace. Just download this file and be happy again. Just, before doing the install, remove previous packages. A note to contributors: I did not merge [...]]]></description>
			<content:encoded><![CDATA[<p>Sun did it again. They released the update to jdk (a security fixes update) just few days after 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> .</p>
<p>Ok, then. Let&#8217;s try to keep up the pace. Just download <a href="http://www.lbotti.net/specfiles/java-1.6.0-sun.spec">this file</a> and be happy again. Just, before doing the install, remove previous packages.</p>
<p>A note to contributors: I did not merge your suggestions, yet, because right now I am on vacation. In the next weeks I will check them.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lbotti.net/blog/2009/08/15/jdk6-update-16-and-fedora/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>7rye6sauif</title>
		<link>http://www.lbotti.net/blog/2009/08/04/7rye6sauif/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.lbotti.net/blog/2009/08/04/7rye6sauif/#comments</comments>
		<pubDate>Tue, 04 Aug 2009 12:58:17 +0000</pubDate>
		<dc:creator>lucabotti</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.lbotti.net/blog/?p=155</guid>
		<description><![CDATA[7rye6sauif Technorati, anybody?]]></description>
			<content:encoded><![CDATA[<p>7rye6sauif</p>
<p>Technorati, anybody?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lbotti.net/blog/2009/08/04/7rye6sauif/feed/</wfw:commentRss>
		<slash:comments>0</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>Hello world!</title>
		<link>http://www.lbotti.net/blog/2008/02/07/hello-world-2/#utm_source=feed&amp;utm_medium=feed&amp;utm_campaign=feed</link>
		<comments>http://www.lbotti.net/blog/2008/02/07/hello-world-2/#comments</comments>
		<pubDate>Thu, 07 Feb 2008 12:07:10 +0000</pubDate>
		<dc:creator>lucabotti</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://people.byte-code.com/lbotti/?p=1</guid>
		<description><![CDATA[Hi, this is my blog at the people.byte-code.com site. I will write something, early. Promise!]]></description>
			<content:encoded><![CDATA[<p>Hi, this is my blog at the people.byte-code.com site. I will write something, early. Promise!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.lbotti.net/blog/2008/02/07/hello-world-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
