summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2011-July/006971.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2011-July/006971.html')
-rw-r--r--zarb-ml/mageia-dev/2011-July/006971.html155
1 files changed, 155 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2011-July/006971.html b/zarb-ml/mageia-dev/2011-July/006971.html
new file mode 100644
index 000000000..1ddaa8743
--- /dev/null
+++ b/zarb-ml/mageia-dev/2011-July/006971.html
@@ -0,0 +1,155 @@
+<!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=%3CCAFrNetm3sYwjNS5EcS6wrCOdb18qh8c%2ByRArWbRcW1KbLJ--qA%40mail.gmail.com%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="006959.html">
+ <LINK REL="Next" HREF="006978.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] Need mentor(s) to become a Mageia packager</H1>
+ <B>Vincent</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=%3CCAFrNetm3sYwjNS5EcS6wrCOdb18qh8c%2ByRArWbRcW1KbLJ--qA%40mail.gmail.com%3E"
+ TITLE="[Mageia-dev] Need mentor(s) to become a Mageia packager">vincent.hervieux at gmail.com
+ </A><BR>
+ <I>Sat Jul 23 14:38:17 CEST 2011</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="006959.html">[Mageia-dev] Need mentor(s) to become a Mageia packager
+</A></li>
+ <LI>Next message: <A HREF="006978.html">[Mageia-dev] Need mentor(s) to become a Mageia packager
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#6971">[ date ]</a>
+ <a href="thread.html#6971">[ thread ]</a>
+ <a href="subject.html#6971">[ subject ]</a>
+ <a href="author.html#6971">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Hi All,
+
+I've registered int the apprentice table.
+
+I've also modified the spec file according to all your comments, and
+with the help of the fedora srpm. Find it in attachment. And feel free
+to comment.
+
+After I am not sure what is the process for this spec file.
+How / where should be explain the way to create the Zoneminder table
+inside the package (cf:
+<A HREF="http://www.zoneminder.com/wiki/index.php/Documentation#Installation_from_Source">http://www.zoneminder.com/wiki/index.php/Documentation#Installation_from_Source</A>
+)?
+
+Thanks all for your help!
+
+Vincent
+
+
+
+On Fri, Jul 22, 2011 at 5:39 AM, andre999 &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">andr55 at laposte.net</A>&gt; wrote:
+&gt;<i> Vincent a &#233;crit :
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Hi All,
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> I am still trying to pack ZoneMinder for Cauldron.
+</I>&gt;&gt;<i> Now rpms are generated and rpmlint is not complaining, but I am still
+</I>&gt;&gt;<i> sure, it's not OK :) , that's why I need help.
+</I>&gt;&gt;<i> Attached is the spec file, if somebody could have a look.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Here are my questions:
+</I>&gt;&gt;<i> - where should go the installed files? (Zoneminder provides perl
+</I>&gt;&gt;<i> modules, the site itself, CGI services , doc and conf).
+</I>&gt;&gt;<i> - some files have no path's variable:
+</I>&gt;&gt;<i> /usr/share/man/lib/perl5/5.14.1/x86_64-linux-thread-multi/perllocal.pod.xz
+</I>&gt;&gt;<i> /usr/local/share/man/man3/ZoneMinder.3pm
+</I>&gt;&gt;<i> ...
+</I>&gt;&gt;<i> Any idea, what it should be?
+</I>&gt;&gt;<i> - what should be the permissions for the site under the apache server?
+</I>&gt;&gt;<i> - should the %install section creates the database table/permissions
+</I>&gt;&gt;<i> for ZoneMinder? If so, is there any example how to achieve this?
+</I>&gt;&gt;<i> - should the %install section creates the service launcher scripts? If
+</I>&gt;&gt;<i> so, is there any example how to achieve this?
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Thanks in advance for you help!
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Vincent
+</I>&gt;<i>
+</I>&gt;<i> I'm not sure about all your questions, but I can give you a few tips to
+</I>&gt;<i> improve your spec file.
+</I>&gt;<i>
+</I>&gt;<i> 1) The name, version, and release should be defined directly on the first 3
+</I>&gt;<i> lines. &#160;These entries define the %{name}, %{version}, and %{release} macros,
+</I>&gt;<i> so in lines 9/10/11 you are redefining them to themselves.
+</I>&gt;<i>
+</I>&gt;<i> 2) Use macros whenever possible. &#160;This makes it easier to maintain the spec
+</I>&gt;<i> file, as the value will be defined in only one place.
+</I>&gt;<i> The build system will automatically use the correct name.
+</I>&gt;<i> As well, it makes it easier to use the spec file in another distro. &#160;The
+</I>&gt;<i> more distros do this, the easier it is to share, a big plus of open
+</I>&gt;<i> source/free software in general and Linux in particular.
+</I>&gt;<i>
+</I>&gt;<i> e.g.
+</I>&gt;<i> for man you should use %{_mandir} ... which is /usr/share/man/ in Mageia
+</I>&gt;<i> (your spec puts such files in /usr/local/share/man/..., incorrect for
+</I>&gt;<i> Mageia.)
+</I>&gt;<i> for executables either %{_bindir} ... for /usr/bin
+</I>&gt;<i> or if a system type of utility, &#160;%{_sbindir} ... for /usr/sbin/
+</I>&gt;<i>
+</I>&gt;<i> By the way, do you have a mentor ?
+</I>&gt;<i> If not, you should be in the apprentice table at
+</I>&gt;<i> <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>
+</I>&gt;<i>
+</I>&gt;<i> Let me know :)
+</I>&gt;<i> --
+</I>&gt;<i> Andr&#233;
+</I>&gt;<i>
+</I>-------------- next part --------------
+A non-text attachment was scrubbed...
+Name: zoneminder.spec
+Type: text/x-rpm-spec
+Size: 18188 bytes
+Desc: not available
+URL: &lt;/pipermail/mageia-dev/attachments/20110723/9f6fa65f/attachment-0003.bin&gt;
+-------------- next part --------------
+A non-text attachment was scrubbed...
+Name: zoneminder-1.24.4-install.patch
+Type: text/x-patch
+Size: 2829 bytes
+Desc: not available
+URL: &lt;/pipermail/mageia-dev/attachments/20110723/9f6fa65f/attachment-0004.bin&gt;
+-------------- next part --------------
+A non-text attachment was scrubbed...
+Name: zoneminder-1.24.4-src.patch
+Type: text/x-patch
+Size: 1180 bytes
+Desc: not available
+URL: &lt;/pipermail/mageia-dev/attachments/20110723/9f6fa65f/attachment-0005.bin&gt;
+</PRE>
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="006959.html">[Mageia-dev] Need mentor(s) to become a Mageia packager
+</A></li>
+ <LI>Next message: <A HREF="006978.html">[Mageia-dev] Need mentor(s) to become a Mageia packager
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#6971">[ date ]</a>
+ <a href="thread.html#6971">[ thread ]</a>
+ <a href="subject.html#6971">[ subject ]</a>
+ <a href="author.html#6971">[ 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>