diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2011-July/006959.html')
-rw-r--r-- | zarb-ml/mageia-dev/2011-July/006959.html | 110 |
1 files changed, 110 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2011-July/006959.html b/zarb-ml/mageia-dev/2011-July/006959.html new file mode 100644 index 000000000..5eb566e3a --- /dev/null +++ b/zarb-ml/mageia-dev/2011-July/006959.html @@ -0,0 +1,110 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + <HEAD> + <TITLE> [Mageia-dev] Need mentor(s) to become a Mageia packager + </TITLE> + <LINK REL="Index" HREF="index.html" > + <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Need%20mentor%28s%29%20to%20become%20a%20Mageia%20packager&In-Reply-To=%3C4E29456A.7090700%40laposte.net%3E"> + <META NAME="robots" CONTENT="index,nofollow"> + <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> + <LINK REL="Previous" HREF="006953.html"> + <LINK REL="Next" HREF="006971.html"> + </HEAD> + <BODY BGCOLOR="#ffffff"> + <H1>[Mageia-dev] Need mentor(s) to become a Mageia packager</H1> + <B>andre999</B> + <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Need%20mentor%28s%29%20to%20become%20a%20Mageia%20packager&In-Reply-To=%3C4E29456A.7090700%40laposte.net%3E" + TITLE="[Mageia-dev] Need mentor(s) to become a Mageia packager">andr55 at laposte.net + </A><BR> + <I>Fri Jul 22 11:39:54 CEST 2011</I> + <P><UL> + <LI>Previous message: <A HREF="006953.html">[Mageia-dev] Need mentor(s) to become a Mageia packager +</A></li> + <LI>Next message: <A HREF="006971.html">[Mageia-dev] Need mentor(s) to become a Mageia packager +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#6959">[ date ]</a> + <a href="thread.html#6959">[ thread ]</a> + <a href="subject.html#6959">[ subject ]</a> + <a href="author.html#6959">[ author ]</a> + </LI> + </UL> + <HR> +<!--beginarticle--> +<PRE>Vincent a écrit : +><i> Hi All, +</I>><i> +</I>><i> I am still trying to pack ZoneMinder for Cauldron. +</I>><i> Now rpms are generated and rpmlint is not complaining, but I am still +</I>><i> sure, it's not OK :) , that's why I need help. +</I>><i> Attached is the spec file, if somebody could have a look. +</I>><i> +</I>><i> Here are my questions: +</I>><i> - where should go the installed files? (Zoneminder provides perl +</I>><i> modules, the site itself, CGI services , doc and conf). +</I>><i> - some files have no path's variable: +</I>><i> /usr/share/man/lib/perl5/5.14.1/x86_64-linux-thread-multi/perllocal.pod.xz +</I>><i> /usr/local/share/man/man3/ZoneMinder.3pm +</I>><i> ... +</I>><i> Any idea, what it should be? +</I>><i> - what should be the permissions for the site under the apache server? +</I>><i> - should the %install section creates the database table/permissions +</I>><i> for ZoneMinder? If so, is there any example how to achieve this? +</I>><i> - should the %install section creates the service launcher scripts? If +</I>><i> so, is there any example how to achieve this? +</I>><i> +</I>><i> Thanks in advance for you help! +</I>><i> +</I>><i> Vincent +</I> +I'm not sure about all your questions, but I can give you a few tips to improve +your spec file. + +1) The name, version, and release should be defined directly on the first 3 +lines. These entries define the %{name}, %{version}, and %{release} macros, so +in lines 9/10/11 you are redefining them to themselves. + +2) Use macros whenever possible. This makes it easier to maintain the spec +file, as the value will be defined in only one place. +The build system will automatically use the correct name. +As well, it makes it easier to use the spec file in another distro. The more +distros do this, the easier it is to share, a big plus of open source/free +software in general and Linux in particular. + +e.g. +for man you should use %{_mandir} ... which is /usr/share/man/ in Mageia +(your spec puts such files in /usr/local/share/man/..., incorrect for Mageia.) +for executables either %{_bindir} ... for /usr/bin +or if a system type of utility, %{_sbindir} ... for /usr/sbin/ + +By the way, do you have a mentor ? +If not, you should be in the apprentice table at +<A HREF="http://www.mageia.org/wiki/doku.php?id=packages_mentoring#packager_apprentice_table">http://www.mageia.org/wiki/doku.php?id=packages_mentoring#packager_apprentice_table</A> + +Let me know :) +-- +André +</PRE> + + + +<!--endarticle--> + <HR> + <P><UL> + <!--threads--> + <LI>Previous message: <A HREF="006953.html">[Mageia-dev] Need mentor(s) to become a Mageia packager +</A></li> + <LI>Next message: <A HREF="006971.html">[Mageia-dev] Need mentor(s) to become a Mageia packager +</A></li> + <LI> <B>Messages sorted by:</B> + <a href="date.html#6959">[ date ]</a> + <a href="thread.html#6959">[ thread ]</a> + <a href="subject.html#6959">[ subject ]</a> + <a href="author.html#6959">[ author ]</a> + </LI> + </UL> + +<hr> +<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev +mailing list</a><br> +</body></html> |