FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 03-28-2010, 10:13 PM
Rahul Sundaram
 
Default RPM packaging workshop example

Hi,

For the purpose of doing a RPM packaging workshop, I need a simple clear
hello world type example using autotools. Can anyone point me to
something suitable for the purpose?

Rahul
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 03-28-2010, 10:25 PM
Michal Schmidt
 
Default RPM packaging workshop example

On Mon, 29 Mar 2010 03:43:23 +0530 Rahul Sundaram wrote:
> For the purpose of doing a RPM packaging workshop, I need a simple
> clear hello world type example using autotools. Can anyone point me to
> something suitable for the purpose?

You mean GNU hello? :-)
http://www.gnu.org/software/hello/

Michal
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 03-28-2010, 11:56 PM
Rahul Sundaram
 
Default RPM packaging workshop example

On 03/29/2010 03:55 AM, Michal Schmidt wrote:
> On Mon, 29 Mar 2010 03:43:23 +0530 Rahul Sundaram wrote:
>
>> For the purpose of doing a RPM packaging workshop, I need a simple
>> clear hello world type example using autotools. Can anyone point me to
>> something suitable for the purpose?
>>
> You mean GNU hello? :-)
> http://www.gnu.org/software/hello/
>

Yeah. That works. Thanks.

Rahul

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 04-07-2010, 11:50 AM
Rahul Sundaram
 
Default RPM packaging workshop example

On 03/29/2010 03:55 AM, Michal Schmidt wrote:
> On Mon, 29 Mar 2010 03:43:23 +0530 Rahul Sundaram wrote:
>
>> For the purpose of doing a RPM packaging workshop, I need a simple
>> clear hello world type example using autotools. Can anyone point me to
>> something suitable for the purpose?
>>
> You mean GNU hello? :-)
> http://www.gnu.org/software/hello/
>

A tutorial is available at

https://fedoraproject.org/wiki/A_Short_RPM_Tutorial

Thanks to Przemek Klosowski for writing it.

Rahul
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 04-07-2010, 12:07 PM
Ralf Corsepius
 
Default RPM packaging workshop example

On 04/07/2010 01:50 PM, Rahul Sundaram wrote:
> On 03/29/2010 03:55 AM, Michal Schmidt wrote:
>> On Mon, 29 Mar 2010 03:43:23 +0530 Rahul Sundaram wrote:
>>
>>> For the purpose of doing a RPM packaging workshop, I need a simple
>>> clear hello world type example using autotools. Can anyone point me to
>>> something suitable for the purpose?
>>>
>> You mean GNU hello? :-)
>> http://www.gnu.org/software/hello/
>>
>
> A tutorial is available at
>
> https://fedoraproject.org/wiki/A_Short_RPM_Tutorial
>
> Thanks to Przemek Klosowski for writing it.

There is a small bug in the example:

Instead of

%find_lang %{name}
rm -f $RPM_BUILD_ROOT/usr/share/info/dir

this should be

%find_lang %{name}
rm -f $RPM_BUILD_ROOT%{_infodir}/dir


Background: The example uses %configure
i.e. it passes --infodir=%{_infodir} to configure,
i.e. it's %{_infodir} where "dir" is being installed,
not "/usr/share/info"

Ralf
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 04-07-2010, 12:16 PM
devzero2000
 
Default RPM packaging workshop example

On Wed, Apr 7, 2010 at 2:07 PM, Ralf Corsepius <rc040203@freenet.de> wrote:
> There is a small bug in the example:

Corrected.

Thanks
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 04-07-2010, 12:18 PM
Rahul Sundaram
 
Default RPM packaging workshop example

On 04/07/2010 05:37 PM, Ralf Corsepius wrote:
> There is a small bug in the example:
>
> Instead of
>
> %find_lang %{name}
> rm -f $RPM_BUILD_ROOT/usr/share/info/dir
>
> this should be
>
> %find_lang %{name}
> rm -f $RPM_BUILD_ROOT%{_infodir}/dir
>

Someone else fixed it now. Thanks.

Rahul
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 04-07-2010, 12:44 PM
yersinia
 
Default RPM packaging workshop example

On Wed, Apr 7, 2010 at 2:18 PM, Rahul Sundaram <metherid@gmail.com> wrote:
> On 04/07/2010 05:37 PM, Ralf Corsepius wrote:
>> There is a small bug in the example:
>>
>> Instead of
>>
>> %find_lang %{name}
>> rm -f $RPM_BUILD_ROOT/usr/share/info/dir
>>
>> this should be
>>
>> %find_lang %{name}
>> rm -f $RPM_BUILD_ROOT%{_infodir}/dir
>>
>
> Someone else fixed it now. *Thanks.
Yes, I was. Probably the replay was lost.
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 04-07-2010, 02:59 PM
Rahul Sundaram
 
Default RPM packaging workshop example

On 04/07/2010 05:37 PM, Ralf Corsepius wrote:
> There is a small bug in the example:
>
> Instead of
>
> %find_lang %{name}
> rm -f $RPM_BUILD_ROOT/usr/share/info/dir
>
> this should be
>
> %find_lang %{name}
> rm -f $RPM_BUILD_ROOT%{_infodir}/dir
>

Hmm. The original example works. Changing that and building the spec
doesn't actually work. Have you checked that?

Rahul

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 04-07-2010, 03:28 PM
Ralf Corsepius
 
Default RPM packaging workshop example

On 04/07/2010 04:59 PM, Rahul Sundaram wrote:
> On 04/07/2010 05:37 PM, Ralf Corsepius wrote:
>> There is a small bug in the example:
>>
>> Instead of
>>
>> %find_lang %{name}
>> rm -f $RPM_BUILD_ROOT/usr/share/info/dir
>>
>> this should be
>>
>> %find_lang %{name}
>> rm -f $RPM_BUILD_ROOT%{_infodir}/dir
>>
>
> Hmm. The original example works. Changing that and building the spec
> doesn't actually work. Have you checked that?

You have
rm -f $RPM_BUILD_ROOT%{infodir}/dir

in the Wiki.

It should be
rm -f $RPM_BUILD_ROOT%{_infodir}/dir

Note: %{_infodir} vs. %{infodir}

Ralf
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 

Thread Tools




All times are GMT. The time now is 05:29 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org