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
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
|
<!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=%3CBANLkTintm2r5VUQRX7O2B0vYcCC7_30jMA%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="006224.html">
<LINK REL="Next" HREF="006247.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=%3CBANLkTintm2r5VUQRX7O2B0vYcCC7_30jMA%40mail.gmail.com%3E"
TITLE="[Mageia-dev] Need mentor(s) to become a Mageia packager">vincent.hervieux at gmail.com
</A><BR>
<I>Fri Jul 1 22:08:09 CEST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="006224.html">[Mageia-dev] Need mentor(s) to become a Mageia packager
</A></li>
<LI>Next message: <A HREF="006247.html">[Mageia-dev] Need mentor(s) to become a Mageia packager
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6245">[ date ]</a>
<a href="thread.html#6245">[ thread ]</a>
<a href="subject.html#6245">[ subject ]</a>
<a href="author.html#6245">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>I've updated the spec according to some of your comments.
The error I have is:
make install-data-hook
make[4]: Entering directory `/home/user/rpmbuild/BUILD/ZoneMinder-1.24.4/web'
( cd /home/user/rpmbuild/BUILDROOT/ZoneMinder-1.24.4-1.mga1.x86_64/var/www/ZoneMinder;
chown apache:apache index.php )
chown: changing ownership of `index.php': Operation not permitted
Should I be root to run rpmbuild??
Thanks for your help
Vincent
On Fri, Jul 1, 2011 at 8:25 AM, Michael Scherer <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">misc at zarb.org</A>> wrote:
><i> Le jeudi 30 juin 2011 à 16:32 -0400, Vincent a écrit :
</I>>><i> Hi All,
</I>>><i>
</I>>><i> I would like to participate to your project and to help you by packaging
</I>>><i> rpms.
</I>>><i>
</I>>><i> As I don't know what needs to be packed, I've tried to make rpm for
</I>>><i> ZoneMinder 1.24.4. But it fails to install into BUILDROOT environment. I
</I>>><i> must have done something wrong while setting installation destinations.
</I>><i>
</I>><i> Can you give the exact error message ?
</I>><i> You may need to create the directory by hand, if the makefile don't.
</I>><i>
</I>>><i> Attached is the spec file, and the patch to make it compiled.
</I>><i>
</I>><i> First, the description is too long and too big.
</I>><i>
</I>><i> The patch is not commented and do not explicitly what it does. And
</I>><i> should also be sent upstream, so we will not have to apply it in the
</I>><i> future.
</I>><i>
</I>><i>
</I>><i> License:        GPLV2 or later
</I>><i> this is not the notation we usually use, this should be GPLv2+ ( see
</I>><i> rpmlint to check that, and the wiki for licenses policy  )
</I>><i>
</I>><i>
</I>><i> BuildRequires: %{_lib}ffmpeg-devel
</I>><i>
</I>><i> this is incorrect, the BuildRequires will depend on the architecture
</I>><i> where the src was rebuild. The BuildRequires must not change. Usually,
</I>><i> there is a provides added for that ( but we are moving to having
</I>><i> libffmpeg-devel on both arch ).
</I>><i>
</I>><i>
</I>><i>               --enable-mmap=yes \
</I>><i>               --disable-debug \
</I>><i>               --enable-mmap=no \
</I>><i>
</I>><i> Why disable and then enable mmap ?
</I>><i>
</I>><i>
</I>><i>
</I>><i> %post
</I>><i>
</I>><i> %postun
</I>><i> [ $1 = 0 ] || exit 0
</I>><i>
</I>><i> Why ?
</I>><i>
</I>><i>
</I>><i>
</I>><i> %files
</I>><i> %defattr(-,root,root)
</I>><i> %_bindir/zma
</I>><i>
</I>><i> There is no documentation, and the file in /var do not seems to be
</I>><i> present.
</I>><i>
</I>><i>
</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: 2283 bytes
Desc: not available
URL: </pipermail/mageia-dev/attachments/20110701/723d3193/attachment.bin>
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="006224.html">[Mageia-dev] Need mentor(s) to become a Mageia packager
</A></li>
<LI>Next message: <A HREF="006247.html">[Mageia-dev] Need mentor(s) to become a Mageia packager
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6245">[ date ]</a>
<a href="thread.html#6245">[ thread ]</a>
<a href="subject.html#6245">[ subject ]</a>
<a href="author.html#6245">[ 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>
|