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
03-28-2010, 10:25 PM
Michal Schmidt
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
03-28-2010, 11:56 PM
Rahul Sundaram
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
04-07-2010, 11:50 AM
Rahul Sundaram
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/
>
Rahul
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
04-07-2010, 12:07 PM
Ralf Corsepius
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.
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
04-07-2010, 12:16 PM
devzero2000
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
04-07-2010, 12:18 PM
Rahul Sundaram
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
04-07-2010, 12:44 PM
yersinia
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
04-07-2010, 02:59 PM
Rahul Sundaram
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
04-07-2010, 03:28 PM
Ralf Corsepius
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