<?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>Parm Patram &#187; building an rpm from source files</title>
	<atom:link href="http://oracle.3dub.com/tag/building-an-rpm-from-source-files/feed/" rel="self" type="application/rss+xml" />
	<link>http://oracle.3dub.com</link>
	<description>Oracle, Linux and UNIX tips, tricks and stuff</description>
	<lastBuildDate>Fri, 03 Feb 2012 18:14:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Packing scripts into an rpm</title>
		<link>http://oracle.3dub.com/2009/11/06/packing-scripts-into-an-rpm/</link>
		<comments>http://oracle.3dub.com/2009/11/06/packing-scripts-into-an-rpm/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 11:54:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[build your own rpm]]></category>
		<category><![CDATA[building an rpm from source files]]></category>

		<guid isPermaLink="false">http://oracle.3dub.com/?p=461</guid>
		<description><![CDATA[Name: &#60;&#60;&#60; name package will have in rpm db &#62;&#62;&#62;
Version: &#60;&#60;&#60; version number of sources &#62;&#62;&#62;
Release: &#60;&#60;&#60; release number of the rpm build &#62;&#62;&#62;
BuildArch: noarch
Source0: &#60;&#60;&#60; path to source files.
NOTE: source files must be packed in a directory in this format %{name}-%{version}  then tarred and gzipped &#62;&#62;&#62;
License: GPL
Group: Development/Tools
Buildroot: %{_tmppath}/%{name}-root
%description
&#60;&#60;&#60; description as seen from rpm [...]]]></description>
			<content:encoded><![CDATA[<p>Name: &lt;&lt;&lt; name package will have in rpm db &gt;&gt;&gt;<br />
Version: &lt;&lt;&lt; version number of sources &gt;&gt;&gt;<br />
Release: &lt;&lt;&lt; release number of the rpm build &gt;&gt;&gt;<br />
BuildArch: noarch<br />
Source0: &lt;&lt;&lt; path to source files.<br />
NOTE: source files must be packed in a directory in this format %{name}-%{version}  then tarred and gzipped &gt;&gt;&gt;<br />
License: GPL<br />
Group: Development/Tools<br />
Buildroot: %{_tmppath}/%{name}-root</p>
<p>%description<br />
&lt;&lt;&lt; description as seen from rpm -qi &gt;&gt;&gt;</p>
<p>%prep<br />
%setup -q</p>
<p>%build<br />
%install<br />
rm -rf $RPM_BUILD_ROOT<br />
mkdir -p $RPM_BUILD_ROOT/&lt;&lt;&lt; directory in the rpm repo &gt;&gt;&gt;<br />
&#8230;<br />
install -m 755 &lt;&lt;&lt; script in the source build &gt;&gt;&gt; $RPM_BUILD_ROOT/&lt;&lt;&lt; destination in the rpm repo &gt;&gt;&gt;<br />
&#8230;</p>
<p>%post<br />
&lt;&lt;&lt; post install script here &gt;&gt;&gt;</p>
<p>%postun<br />
&lt;&lt;&lt; post uninstall script here &gt;&gt;&gt;</p>
<p>%clean<br />
rm -rf $RPM_BUILD_ROOT</p>
<p>%files<br />
%defattr(-,root,root)<br />
&lt;&lt;&lt; list of files/directories in the package here &gt;&gt;&gt;</p>
]]></content:encoded>
			<wfw:commentRss>http://oracle.3dub.com/2009/11/06/packing-scripts-into-an-rpm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

