<!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=%3CCAFrNet%3DyPv%2BHd4u-RTeaTQyeRnM32vMhJj2JDVXwOgyyiXyZkQ%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="006304.html"> <LINK REL="Next" HREF="006947.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=%3CCAFrNet%3DyPv%2BHd4u-RTeaTQyeRnM32vMhJj2JDVXwOgyyiXyZkQ%40mail.gmail.com%3E" TITLE="[Mageia-dev] Need mentor(s) to become a Mageia packager">vincent.hervieux at gmail.com </A><BR> <I>Thu Jul 21 22:14:04 CEST 2011</I> <P><UL> <LI>Previous message: <A HREF="006304.html">[Mageia-dev] Need mentor(s) to become a Mageia packager </A></li> <LI>Next message: <A HREF="006947.html">[Mageia-dev] Need mentor(s) to become a Mageia packager </A></li> <LI> <B>Messages sorted by:</B> <a href="date.html#6943">[ date ]</a> <a href="thread.html#6943">[ thread ]</a> <a href="subject.html#6943">[ subject ]</a> <a href="author.html#6943">[ author ]</a> </LI> </UL> <HR> <!--beginarticle--> <PRE>Hi All, I am still trying to pack ZoneMinder for Cauldron. Now rpms are generated and rpmlint is not complaining, but I am still sure, it's not OK :) , that's why I need help. Attached is the spec file, if somebody could have a look. Here are my questions: - where should go the installed files? (Zoneminder provides perl modules, the site itself, CGI services , doc and conf). - some files have no path's variable: /usr/share/man/lib/perl5/5.14.1/x86_64-linux-thread-multi/perllocal.pod.xz /usr/local/share/man/man3/ZoneMinder.3pm ... Any idea, what it should be? - what should be the permissions for the site under the apache server? - should the %install section creates the database table/permissions for ZoneMinder? If so, is there any example how to achieve this? - should the %install section creates the service launcher scripts? If so, is there any example how to achieve this? Thanks in advance for you help! Vincent On Sun, Jul 3, 2011 at 6:47 PM, Michael Scherer <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">misc at zarb.org</A>> wrote: ><i> Le vendredi 01 juillet 2011 à 16:08 -0400, Vincent a écrit : </I>>><i> I've updated the spec according to some of your comments. </I>>><i> </I>>><i> The error I have is: </I>>><i> make  install-data-hook </I>>><i> make[4]: Entering directory `/home/user/rpmbuild/BUILD/ZoneMinder-1.24.4/web' </I>>><i> ( cd /home/user/rpmbuild/BUILDROOT/ZoneMinder-1.24.4-1.mga1.x86_64/var/www/ZoneMinder; </I>>><i> chown apache:apache index.php ) </I>>><i> chown: changing ownership of `index.php': Operation not permitted </I>><i> </I>><i> I guess you need to comment the command in the makefile. In fact, if </I>><i> this is the only thing done by make install-data-hook, just do not run </I>><i> the command. </I>><i> </I>>><i> Should I be root to run rpmbuild?? </I>><i> </I>><i> This is usually regarded as a bad practice. And if a rpm requires root </I>><i> privilege to be built it will no go far on our build system. </I>><i> -- </I>><i> Michael Scherer </I>><i> </I>><i> </I>-------------- next part -------------- A non-text attachment was scrubbed... Name: ZoneMinder.spec Type: text/x-rpm-spec Size: 18748 bytes Desc: not available URL: </pipermail/mageia-dev/attachments/20110721/cbbfc268/attachment-0001.bin> </PRE> <!--endarticle--> <HR> <P><UL> <!--threads--> <LI>Previous message: <A HREF="006304.html">[Mageia-dev] Need mentor(s) to become a Mageia packager </A></li> <LI>Next message: <A HREF="006947.html">[Mageia-dev] Need mentor(s) to become a Mageia packager </A></li> <LI> <B>Messages sorted by:</B> <a href="date.html#6943">[ date ]</a> <a href="thread.html#6943">[ thread ]</a> <a href="subject.html#6943">[ subject ]</a> <a href="author.html#6943">[ 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>