summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2011-July/006943.html
blob: 938f6905edc6a8fa26e989664a1c926464188ba5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<!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 &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">misc at zarb.org</A>&gt; wrote:
&gt;<i> Le vendredi 01 juillet 2011 &#224; 16:08 -0400, Vincent a &#233;crit :
</I>&gt;&gt;<i> I've updated the spec according to some of your comments.
</I>&gt;&gt;<i>
</I>&gt;&gt;<i> The error I have is:
</I>&gt;&gt;<i> make &#160;install-data-hook
</I>&gt;&gt;<i> make[4]: Entering directory `/home/user/rpmbuild/BUILD/ZoneMinder-1.24.4/web'
</I>&gt;&gt;<i> ( cd /home/user/rpmbuild/BUILDROOT/ZoneMinder-1.24.4-1.mga1.x86_64/var/www/ZoneMinder;
</I>&gt;&gt;<i> chown apache:apache index.php )
</I>&gt;&gt;<i> chown: changing ownership of `index.php': Operation not permitted
</I>&gt;<i>
</I>&gt;<i> I guess you need to comment the command in the makefile. In fact, if
</I>&gt;<i> this is the only thing done by make install-data-hook, just do not run
</I>&gt;<i> the command.
</I>&gt;<i>
</I>&gt;&gt;<i> Should I be root to run rpmbuild??
</I>&gt;<i>
</I>&gt;<i> This is usually regarded as a bad practice. And if a rpm requires root
</I>&gt;<i> privilege to be built it will no go far on our build system.
</I>&gt;<i> --
</I>&gt;<i> Michael Scherer
</I>&gt;<i>
</I>&gt;<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: &lt;/pipermail/mageia-dev/attachments/20110721/cbbfc268/attachment-0001.bin&gt;
</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>