<?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>Are You Open Source? &#187; packaging</title>
	<atom:link href="http://cassmodiah.de/tag/packaging/feed/" rel="self" type="application/rss+xml" />
	<link>http://cassmodiah.de</link>
	<description>SENSE - This is my personal pastebin and makes none!</description>
	<lastBuildDate>Mon, 28 Mar 2011 06:10:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1</generator>
		<item>
		<title>Winterdepression</title>
		<link>http://cassmodiah.de/2010-02-04/winterdepression/</link>
		<comments>http://cassmodiah.de/2010-02-04/winterdepression/#comments</comments>
		<pubDate>Thu, 04 Feb 2010 09:32:02 +0000</pubDate>
		<dc:creator>cassmodiah</dc:creator>
				<category><![CDATA[Linux & Open Source]]></category>
		<category><![CDATA[persönliches]]></category>
		<category><![CDATA[planet.fedoraproject.org]]></category>
		<category><![CDATA[Browser]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[EPEL]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[lol]]></category>
		<category><![CDATA[nerv]]></category>
		<category><![CDATA[openSuSE]]></category>
		<category><![CDATA[packaging]]></category>

		<guid isPermaLink="false">http://cassmodiah.de/?p=643</guid>
		<description><![CDATA[שָׁלוֹם 12. Tevet 5770 Gnome Shell in einem Wort? Unbrauchbar! Mit Zeitgeist und Gnome Shell kann ich nicht viel anfangen. Zum Glück geht’s auch ohne. 17. Tevet 5770 surf ist ein toller kleiner Browser. 20. Tevet 5770 RHEL 6 soll angeblich Ende Q1 Anfang Q2 kommen, also hoffe ich auf CentOS 6 Ende Q2 Anfang [...]]]></description>
			<content:encoded><![CDATA[<p>שָׁלוֹם</p>
<p>12. Tevet  5770<br />
<a href="http://live.gnome.org/GnomeShell">Gnome Shell</a> in einem Wort? Unbrauchbar!<br />
Mit <a href="https://launchpad.net/zeitgeist">Zeitgeist</a> und Gnome Shell kann ich nicht viel anfangen. Zum Glück geht’s auch ohne. </p>
<p>17. Tevet  5770<br />
<a href="http://surf.suckless.org">surf</a> ist ein toller kleiner Browser.</p>
<p>20. Tevet  5770<br />
<a href="http://www.redhat.com/rhel/">RHEL</a> 6 soll angeblich Ende Q1 Anfang Q2 kommen, also hoffe ich auf <a href="http://centos.org">CentOS</a> 6 Ende Q2 Anfang Q3. Ich muss dann zusehen, dass ich <a href="http://i3.zekjur.net">i3</a> und die sonstigen Tools nach <a href="http://fedoraproject.org/wiki/EPEL">EPEL</a> bekomme. Mal sehen was RHEL 6 bringt und was ich noch will bzw. brauche. <a href="https://fedoraproject.org/wiki/User:Tannhauser">J.T.</a> wird mich dann höchstwahrscheinlich unterstützen. </p>
<p>26. Tevet 5770<br />
Leider ist der <a href="http://lists.fedoraproject.org/pipermail/devel/2010-January/129091.html">Enlightenment-Maintainer</a> etwas verschollen und <a href="http://www.enlightenment.org/">Enlightenment</a> in der Repo nicht ganz auf dem neuesten Stand. Schade, denn ein neueres Enlightenment macht sich recht gut mit <a href="http://lxde.org/">LXDE</a>. Es gibt schönere Fenstermanager als <a href="http://openbox.org/">Openbox</a>.</p>
<p>09. Schevat 5770<br />
Der Upstream eines von mir kürzlich abgegebenen Paketes beschwert sich bei mir über die mangelnde  Kommunikations- und Kooperationsbereitschaft des neuen Maintainers. Laut Upstream sollte ich mich bei dieser Applikation doch wieder einbringen. Ich werde mich mal um den Posten des Co-Maintainers „bewerben“.</p>
<p>14. Schevat 5770<br />
Blick über den Tellerrand: Ich habe heute den <a href="http://www.mozilla-europe.org/de/firefox/">Firefox</a> unter <a href="http://opensuse.org/">openSuSE</a> gesehen. Ich bin zwar kein <a href="http://www.mozilla.com">Mozilla</a>-Fan und erst recht kein <a href="http://www.kde.org">KDE</a>-Fan, aber die <a href="http://en.opensuse.org/KDE/FirefoxIntegration">Firefoxintegration für KDE</a> hat mich schon beeindruckt.</p>
<p>18. Schevat 5770<br />
Wenn durch sinnlose Bürokratie, Idiotie und falschen Idealismus, welche von Klugscheißer, Besserwisser und Wichtigtuern geboren und genährt werden,  Beiträge sabotiert und boykottiert werden, fällt es schwer Elan für neue Beiträge aufzubringen.</p>
<p>19. Schevat 5770<br />
Manchmal, aber nur manchmal, wundert es mich, dass es Leute gibt, die genau die Problemsoftware verwenden die ich packe. Danke Thomas!</p>
<p>So long and thanks for all the fish :-)<br />
שִׁמְעוֹן</p>
]]></content:encoded>
			<wfw:commentRss>http://cassmodiah.de/2010-02-04/winterdepression/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>back from Vacation</title>
		<link>http://cassmodiah.de/2009-09-08/back-from-vacation/</link>
		<comments>http://cassmodiah.de/2009-09-08/back-from-vacation/#comments</comments>
		<pubDate>Tue, 08 Sep 2009 20:36:32 +0000</pubDate>
		<dc:creator>cassmodiah</dc:creator>
				<category><![CDATA[persönliches]]></category>
		<category><![CDATA[planet.fedoraproject.org]]></category>
		<category><![CDATA[Freunde]]></category>
		<category><![CDATA[packaging]]></category>

		<guid isPermaLink="false">http://cassmodiah.de/?p=624</guid>
		<description><![CDATA[שָׁלוֹם I was in Millau, France. The upstream of my package Florence is from Millau. It would have been better, if I had known that before. So long and thanks for all the fish :-) שִׁמְעוֹן]]></description>
			<content:encoded><![CDATA[<p>שָׁלוֹם</p>
<p>I was in Millau, France.<br />
The upstream of my package <a href="http://florence.sourceforge.net">Florence</a> is from Millau. It would have been better, if I had known that before.</p>
<p>So long and thanks for all the fish :-)<br />
שִׁמְעוֹן</p>
]]></content:encoded>
			<wfw:commentRss>http://cassmodiah.de/2009-09-08/back-from-vacation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>tor and vidalia</title>
		<link>http://cassmodiah.de/2009-06-01/tor-and-vidalia/</link>
		<comments>http://cassmodiah.de/2009-06-01/tor-and-vidalia/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 19:51:16 +0000</pubDate>
		<dc:creator>cassmodiah</dc:creator>
				<category><![CDATA[Linux & Open Source]]></category>
		<category><![CDATA[planet.fedoraproject.org]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[EPEL]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[packaging]]></category>

		<guid isPermaLink="false">http://cassmodiah.de/?p=542</guid>
		<description><![CDATA[שָׁלוֹם coming soon to epel5&#8230;. So long and thanks for all the fish :-) שִׁמְעוֹן]]></description>
			<content:encoded><![CDATA[<p>שָׁלוֹם</p>
<p>coming soon to epel5&#8230;.</p>
<p>So long and thanks for all the fish :-)<br />
שִׁמְעוֹן</p>
]]></content:encoded>
			<wfw:commentRss>http://cassmodiah.de/2009-06-01/tor-and-vidalia/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Monday sucks</title>
		<link>http://cassmodiah.de/2009-06-01/monday-sucks/</link>
		<comments>http://cassmodiah.de/2009-06-01/monday-sucks/#comments</comments>
		<pubDate>Mon, 01 Jun 2009 05:38:19 +0000</pubDate>
		<dc:creator>cassmodiah</dc:creator>
				<category><![CDATA[Linux & Open Source]]></category>
		<category><![CDATA[planet.fedoraproject.org]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[EPEL]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[packaging]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://cassmodiah.de/?p=514</guid>
		<description><![CDATA[שָׁלוֹם To mock F11 srpms for epel, you need to build the srpms with --define="_source_filedigest_algorithm md5". That sucks, too. So long and thanks for all the fish :-) שִׁמְעוֹן]]></description>
			<content:encoded><![CDATA[<p>שָׁלוֹם</p>
<p>To mock F11 srpms for epel, you need to build the srpms with  <code>--define="_source_filedigest_algorithm md5"</code>. That sucks, too.</p>
<p>So long and thanks for all the fish :-)<br />
שִׁמְעוֹן</p>
]]></content:encoded>
			<wfw:commentRss>http://cassmodiah.de/2009-06-01/monday-sucks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A hard day in the life of a Fedora Contributor</title>
		<link>http://cassmodiah.de/2009-05-17/a-hard-day-in-the-life-of-a-fedora-contributor/</link>
		<comments>http://cassmodiah.de/2009-05-17/a-hard-day-in-the-life-of-a-fedora-contributor/#comments</comments>
		<pubDate>Sun, 17 May 2009 12:05:18 +0000</pubDate>
		<dc:creator>cassmodiah</dc:creator>
				<category><![CDATA[Linux & Open Source]]></category>
		<category><![CDATA[planet.fedoraproject.org]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[nerv]]></category>
		<category><![CDATA[packaging]]></category>
		<category><![CDATA[whateverbuntu]]></category>

		<guid isPermaLink="false">http://cassmodiah.de/?p=507</guid>
		<description><![CDATA[שָׁלוֹם My email: Dear [nickname] your project [projectname] looks like very interesting. I installed it on my pc and i like it. I want to create a rpm-package for the GNU/Linux-Distribution Fedora [1], but your package comes with some unmodified libs which are standard in every distribution and build against them. The Fedora Guidelines [2] [...]]]></description>
			<content:encoded><![CDATA[<p>שָׁלוֹם</p>
<p>My email:</p>
<blockquote><p>
Dear [nickname]</p>
<p>your project [projectname] looks like very interesting. I installed it on my<br />
pc and i like it.<br />
I want to create a rpm-package for the GNU/Linux-Distribution Fedora [1], but<br />
your package comes with some unmodified libs which are standard in every<br />
distribution and build against them. The Fedora Guidelines [2] says that<br />
it&#8217;s not allowed to use internal dependencies if they are in Fedora [3]. I<br />
have to patch them out on every release. To make it easier you could use the<br />
system-libs to compile it. It works, i tested it on F10 and F11 and add the<br />
patch for your buildsystem as attachment. It would be very nice, if you adopt<br />
this to your project.</p>
<p>Kind regards<br />
Simon</p>
<p>[1] http://fedoraproject.org/<br />
[2] http://fedoraproject.org/wiki/Packaging:Guidelines<br />
[3] http://fedoraproject.org/wiki/Packaging:Guidelines#No_inclusion_of_pre-built_binaries_or_libraries
</p></blockquote>
<p>His/her answer:</p>
<blockquote><p>
Dear Simon,</p>
<p>I don&#8217;t give a fuck. Fedora isn&#8217;t mainstream and Fedora isn&#8217;t important (and it<br />
never will be) and Fedora-Guidelines are Nazi-like.<br />
It&#8217;s in Ubuntu and Debian so you can adopt it or leave it out. It&#8217;s not my<br />
problem, it&#8217;s yours.</p>
<p>[nickname]
</p></blockquote>
<p>I haven&#8217;t answered yet.</p>
<p>So long and thanks for all the fish :-)<br />
שִׁמְעוֹן</p>
]]></content:encoded>
			<wfw:commentRss>http://cassmodiah.de/2009-05-17/a-hard-day-in-the-life-of-a-fedora-contributor/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>bad words!</title>
		<link>http://cassmodiah.de/2009-03-24/bad-words/</link>
		<comments>http://cassmodiah.de/2009-03-24/bad-words/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 13:02:17 +0000</pubDate>
		<dc:creator>cassmodiah</dc:creator>
				<category><![CDATA[persönliches]]></category>
		<category><![CDATA[planet.fedoraproject.org]]></category>
		<category><![CDATA[lol]]></category>
		<category><![CDATA[nerv]]></category>
		<category><![CDATA[packaging]]></category>

		<guid isPermaLink="false">http://cassmodiah.de/?p=466</guid>
		<description><![CDATA[שָׁלוֹם Dear maintainers of a third party repository, I think it is a bad idea to use words like &#8216;fuck&#8217; and &#8216;shit&#8217; (and other bad words) in comments of a spec file! :-/ So long and thanks for all the fish :-) שִׁמְעוֹן]]></description>
			<content:encoded><![CDATA[<p>שָׁלוֹם</p>
<p>Dear maintainers of a third party repository,</p>
<p>I think it is a bad idea to use words like &#8216;fuck&#8217; and &#8216;shit&#8217; (and other bad words) in comments of a spec file! :-/</p>
<p>So long and thanks for all the fish :-)<br />
שִׁמְעוֹן</p>
]]></content:encoded>
			<wfw:commentRss>http://cassmodiah.de/2009-03-24/bad-words/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>sbackup</title>
		<link>http://cassmodiah.de/2009-02-24/sbackup/</link>
		<comments>http://cassmodiah.de/2009-02-24/sbackup/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 20:27:56 +0000</pubDate>
		<dc:creator>cassmodiah</dc:creator>
				<category><![CDATA[Linux & Open Source]]></category>
		<category><![CDATA[persönliches]]></category>
		<category><![CDATA[planet.fedoraproject.org]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[Desktop]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Konfiguration]]></category>
		<category><![CDATA[LUG]]></category>
		<category><![CDATA[packaging]]></category>

		<guid isPermaLink="false">http://cassmodiah.de/?p=426</guid>
		<description><![CDATA[שָׁלוֹם Es vergeht in letzter Zeit kaum ein Tag an dem ich nicht auf sbackup angesprochen werde, sei es in lokalen LUGs (Linux User Groups), die ich besuche, im IRC oder per Mail. Dabei scheinen viele das &#8220;S&#8221; in sbackup, welches für &#8220;simpel&#8221; steht, als &#8220;benutzerfreundlich&#8221; misszuverstehen. Sbackup ist nicht so simpel wie es der [...]]]></description>
			<content:encoded><![CDATA[<p>שָׁלוֹם<br />
<br />
Es vergeht in letzter Zeit kaum ein Tag an dem ich nicht auf <a href="http://sbackup.sourceforge.net">sbackup</a> angesprochen werde, sei es in lokalen LUGs (Linux User Groups), die ich besuche, im IRC oder per Mail. Dabei scheinen viele das &#8220;S&#8221; in sbackup, welches für &#8220;simpel&#8221; steht, als &#8220;benutzerfreundlich&#8221; misszuverstehen. Sbackup ist nicht so simpel wie es der Name des Programmes suggeriert.</p>
<p>- <strong>Erst speichern, dann ausführen</strong><br />
Man hat seine Sicherungsparameter in die Bedienoberfläche eingegeben und drückt nun auf &#8220;backup now!&#8221;, aber im Sicherungsordner taucht keine Sicherung auf. Dieses eher triviale Problem hat eine ganz simple Ursache. Die Eingaben in der Bedienoberfläche werden erst in die Konfigurationsdatei geschrieben, wenn man auf &#8220;Speichern&#8221; klickt. Der Befehl &#8220;backup now!&#8221; erstellt eine Sicherungskopie aus den Angaben in der Konfigurationsdatei, welche nicht geschrieben wird, wenn man die Eingaben vorher nicht speichert.</p>
<p>- <strong>Es gibt keinen Fortschrittsbalken</strong><br />
Wenn man ein Backupvorgang gestartet wird, dann bekommt man eine Prozess ID zugewiesen.<br />
Man kann in der Konsole unter<br />
ps -p xxxx<br />
oder<br />
ps -C sbackupd<br />
die Aktivität des Sicherungsvorganges bestätigen lassen. Einen Einblick in die Restdauer oder den momentanen Fortschritt ist nicht möglich.</p>
<p>- <strong>Keine Rückmeldung bei Fehlern</strong><br />
Ist der Sicherungsort nicht beschreibar, bietet nicht genug Platz oder die Verbindung (USB oder remote) zum Sicherungsziel geht verloren, bricht die Sicherung ohne Rückmeldung ab. Es gibt auch ebenfalls keine Logdatei.</p>
<p>- <strong>Sicherungen dauern ewig</strong><br />
Der gestartete Prozess wird immer mit der Prozesspriorität 19 ausgeführt und ist dementsprechend langsam, auch wenn der PC nicht genutzt wird. Der Prozess kann z.b. mit einem renice beschleunigt werden.</p>
<p>- <strong>Änderung der Ordnerrechte</strong> (in Versionen <0.10.5)<br />
Böse Überraschungen hat man mit Versionen vor 0.10.5 (0.10.5 ist in EPEL und Fedora verfügbar), da man die Sicherung als root betreibt und die Rechte des Sicherungsordner ohne Rückfrage auf 700 geändert wird. Man verliert als Benutzer den Zugriff auf alle Wechseldatenträger und in "/media" eingehängte Festplatten, wenn man "/media" als Sicherungsordner nimmt.   </p>
<p>- <strong>&#8220;Regexp&#8221; notwendig</strong><br />
Es ist mindestens ein Regexp-Ausdruck notwendig damit ein Sicherungsvorgang gestartet werden kann. Hier sollte man im Zweifelsfalle einen trefferlosen Ausdruck wählen. Sbackup verwigert ohne Rückmeldung die Sicherung.</p>
<p>- <strong>USB-Sticks und USB-Platten nur bedingt geeignet</strong><br />
Ein sehr beliebter Fehler bei Sicherungen über 4GB ist es einen Fat32 USB-Stick zu verwenden. Ebenfalls beliebt ist es eine Zeitsteuerung und als Sicherungsordner eine externe Festplatte zu wählen, wenn diese zum Zeitpunkt der Sicherung nicht angeschlossen ist. Sbackup verweigert wie gewohnt ohne Rückmeldung den Dienst </p>
<p>Mein Tipp für Nutzer denen der Umgang mit sbackup zu schwierig erscheint:<br />
Mit <a href="http://www.opbyte.it/grsync/">grsync</a> (eine gtk-Oberfläche für rsync) ist eine einfache und benutzerfreundliche Möglichkeit um schnell eine Sicherungskopie seines &#8220;persönlichen Ordners&#8221; auf zu erstellen.<br />
<br />
So long and thanks for all the fish :-)<br />
שִׁמְעוֹן</p>
<p>- &#8211; - &#8211; - -</p>
<p>Beware of my very bad english :-(</p>
<p>שָׁלוֹם<br />
<br />
Recently, there is not one day without somebody reporting me to <a href="http://sbackup.sourceforge.net">sbackup</a>, even in local LUGs (Linux User Groups) that I visited, in IRC or via EMail. Most of them missunderstood the &#8216;s&#8217; in sbackup, standing for simple as userfriendly. Sbackup isn&#8217;t userfriendly, even if the name could misslead here. </p>
<p>- <strong>First save, then execute</strong><br />
You chose all your backup-parameters in the front-end and you click on &#8220;backup now!&#8221; but in the backup-directory isn&#8217;t a backup. This is is a little bit trivial. You have to save it first, because sbackup will read all parameters from the configfile and do not refresh settings during runtime automaticly. You have to save your configs first. If you don&#8217;t do so, sbackup will start with the default configuration. </p>
<p>- <strong>there is no progress-bar</strong><br />
If you started the backup process, then there will be displayed a process-id.<br />
You can use<br />
ps -p xxxx<br />
or<br />
ps -C sbackupd<br />
to see if the backup is running. You can&#8217;t see the remaining time or the actual progress of your backup.</p>
<p>- <strong>no response on errors</strong><br />
Is the backup destination directory not writeable, or haven&#8217;t enough free space, or the connection to the backup destination (usb, remote) will lost, sbackup will abort without a response and there is no logfile. There is no exception handling to avoid overhead.</p>
<p>- <strong>the backup process is slow</strong><br />
The backup-process runs with a nice priority of 19 and is very slow, even the pc is idling. You can accelerate the process by using &#8220;renice&#8221;</p>
<p>- <strong>changing permissions</strong> (in versions <0.10.5)<br />
In versions older than 0.10.5 (0.10.5 is in EPEL and Fedora available) the permissions of the backup destination directory will be set on 700 to root, because sbackup runs with root privileges. Users will lose access to disks which mount to "/media", if you choose "/media" as backup destination directory.   </p>
<p>- <strong>&#8220;Regexp&#8221; is necessary</strong><br />
You need at least one definied regexp to start sbackup. To choose one without a hit will do this trick. Sbackup denies backup-creation without a response. As pointed out in &#8216;no response on errors&#8217;.</p>
<p>- <strong>Backup on USB-Sticks and USB-mass storage is only conditional applicable </strong><br />
A very popular mistake is to save backups with 4GB and more on a fat32 usb-stick. To use cron in combination with external disks is very popular too, but you should be sure that the external disk is mounted at the time of the backup. Sbackup won&#8217;t do anything and won&#8217;t give a response. </p>
<p>My personal advice for users who can&#8217;t handle sbackup:<br />
Use <a href="http://www.opbyte.it/grsync/">grsync</a> (a gtk-gui for rsync) is a simple and userfriendly possibility to do fastly backups of your home.<br />
<br />
So long and thanks for all the fish :-)<br />
שִׁמְעוֹן</p>
]]></content:encoded>
			<wfw:commentRss>http://cassmodiah.de/2009-02-24/sbackup/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>MockBuild</title>
		<link>http://cassmodiah.de/2009-02-12/mockbuild/</link>
		<comments>http://cassmodiah.de/2009-02-12/mockbuild/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 22:17:21 +0000</pubDate>
		<dc:creator>cassmodiah</dc:creator>
				<category><![CDATA[Linux & Open Source]]></category>
		<category><![CDATA[persönliches]]></category>
		<category><![CDATA[planet.fedoraproject.org]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[packaging]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://cassmodiah.de/?p=405</guid>
		<description><![CDATA[שָׁלוֹם Ein kleines Helferlein um den build mit mock etwas zu automatisieren&#8230; /usr/local/bin/mockbuild #!/bin/bash BASEDIR=${HOME}/rpmbuild FEDORAVER=${FEDORAVER:-&#34;fedora-$(rpm --eval %{fedora})-$(rpm --eval %{_arch})&#34;} MOCKDIR=${BASEDIR}/mock-results/${FEDORAVER} SPECDIR=${BASEDIR}/SPECS if [ ${#} -lt 1 ]; then echo &#039;usage: mockbuild &#60;packages&#62;&#039; exit 1 fi # check directories if ! [ -d ${BASEDIR} ]; then echo ${BASEDIR} not existent exit 1 fi if ! [...]]]></description>
			<content:encoded><![CDATA[<p>שָׁלוֹם</p>
<p>Ein kleines Helferlein um den build mit mock etwas zu automatisieren&#8230;</p>
<p>/usr/local/bin/mockbuild</p>
<pre class="brush: bash">
#!/bin/bash

BASEDIR=${HOME}/rpmbuild
FEDORAVER=${FEDORAVER:-&quot;fedora-$(rpm --eval %{fedora})-$(rpm --eval %{_arch})&quot;}
MOCKDIR=${BASEDIR}/mock-results/${FEDORAVER}
SPECDIR=${BASEDIR}/SPECS

if [ ${#} -lt 1 ]; then
  echo &#039;usage: mockbuild &lt;packages&gt;&#039;
  exit 1
fi

# check directories
if ! [ -d ${BASEDIR} ]; then
  echo ${BASEDIR} not existent
  exit 1
fi
if ! [ -d ${SPECDIR} ]; then
  echo ${SPECDIR} not existent
  exit 1
fi

# check for special build (all specs)
if [ ${1} == &#039;--all&#039; ]; then
  list=$(ls ${SPECDIR}/*.spec | sed &quot;s|${SPECDIR}/\(.*\).spec|\1|g&quot;)
else
  list=${@}
fi

for arg in ${list}; do
  # check directory for each pkg to build
  if ! [ -d ${MOCKDIR}/${arg} ]; then
    mkdir -p ${MOCKDIR}/${arg}
  else
    rm -f ${MOCKDIR}/${arg}/*
  fi

  # initiate the build
  rpmbuildout=$(LC_ALL=C rpmbuild -bs ${SPECDIR}/${arg}.spec) || exit 1
  $(LC_ALL=C mock -r ${FEDORAVER} --resultdir=${MOCKDIR}/${arg} ${rpmbuildout:7}) || exit 1
  $(LC_ALL=C rpmlint ${MOCKDIR}/${arg}/*.rpm &gt; ${MOCKDIR}/${arg}/rpmlint) || exit 1
done
</pre>
<p>Mann ist mir langweilig :-) Und dann auch noch 42 Zeilen! Ich glaube ich brauch mein Handtuch :-)</p>
<p>So long and thanks for all the fish :-)<br />
שִׁמְעוֹן</p>
]]></content:encoded>
			<wfw:commentRss>http://cassmodiah.de/2009-02-12/mockbuild/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Weihnachtsputz bei SuL</title>
		<link>http://cassmodiah.de/2008-12-10/weihnachtsputz-bei-sul/</link>
		<comments>http://cassmodiah.de/2008-12-10/weihnachtsputz-bei-sul/#comments</comments>
		<pubDate>Wed, 10 Dec 2008 21:54:28 +0000</pubDate>
		<dc:creator>cassmodiah</dc:creator>
				<category><![CDATA[Linux & Open Source]]></category>
		<category><![CDATA[persönliches]]></category>
		<category><![CDATA[planet.fedoraproject.org]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[packaging]]></category>
		<category><![CDATA[Spiele]]></category>
		<category><![CDATA[SuL]]></category>

		<guid isPermaLink="false">http://cassmodiah.de/?p=359</guid>
		<description><![CDATA[שָׁלוֹם Bei Spielen unter Linux hat wieder die Weltraumputze zugeschlagen! Ich habe heute alle meine Debian-Etch-Pakete vom Server gelöscht. AlienArena, AssaultCube, Boswars, Chromium, FreeCiv, FretsonFire, GL117, Glest, LinCity, Nexuiz, OpenArena, OpenCity, OpenTTD, ScummVM, Stratagus, Supertuxkart, Teeworlds, Tremolous, Warsow, Wesnoth, Widelands, xMoto Sie werden nicht länger gepflegt. Mal sehen, mit was man diesen Platz füllen kann [...]]]></description>
			<content:encoded><![CDATA[<p>שָׁלוֹם</p>
<p>Bei <a href="http://www.spielen-unter-linux.de">Spielen unter Linux</a> hat wieder die Weltraumputze zugeschlagen!<br />
Ich habe heute alle meine Debian-Etch-Pakete vom Server gelöscht.</p>
<p>AlienArena, AssaultCube, Boswars, Chromium, FreeCiv, FretsonFire, GL117, Glest, LinCity, Nexuiz, OpenArena, OpenCity, OpenTTD, ScummVM, Stratagus, Supertuxkart, Teeworlds, Tremolous, Warsow, Wesnoth, Widelands, xMoto</p>
<p>Sie werden nicht länger gepflegt. Mal sehen, mit was man diesen Platz füllen kann :-)<br />
Evtl. sollte man nicht mehr anfangen kleine eigene Repos zu bastlen, wenn man Contributor einer tollen Distribution und dessen größten Zusatzrepository ist.</p>
<p>So long and thanks for all the downloads :-)<br />
שִׁמְעוֹן</p>
]]></content:encoded>
			<wfw:commentRss>http://cassmodiah.de/2008-12-10/weihnachtsputz-bei-sul/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Anatomy Of A Debian Package</title>
		<link>http://cassmodiah.de/2008-09-11/anatomy-of-a-debian-package/</link>
		<comments>http://cassmodiah.de/2008-09-11/anatomy-of-a-debian-package/#comments</comments>
		<pubDate>Thu, 11 Sep 2008 16:47:43 +0000</pubDate>
		<dc:creator>cassmodiah</dc:creator>
				<category><![CDATA[Fundstücke]]></category>
		<category><![CDATA[Linux & Open Source]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Geek]]></category>
		<category><![CDATA[packaging]]></category>

		<guid isPermaLink="false">http://cassmodiah.de/?p=155</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><iframe title="YouTube video player" class="youtube-player" type="text/html" width="425" height="344" src="http://www.youtube.com/embed/82mEKd993PA" frameborder="0" allowFullScreen="true"> </iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://cassmodiah.de/2008-09-11/anatomy-of-a-debian-package/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

