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
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mageia-dev] Cleaning up GNOME spec files
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Cleaning%20up%20GNOME%20spec%20files&In-Reply-To=%3C20120215140516.GB1564%40bkor.dhs.org%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="011976.html">
<LINK REL="Next" HREF="011998.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] Cleaning up GNOME spec files</H1>
<B>Olav Vitters</B>
<A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20Cleaning%20up%20GNOME%20spec%20files&In-Reply-To=%3C20120215140516.GB1564%40bkor.dhs.org%3E"
TITLE="[Mageia-dev] Cleaning up GNOME spec files">olav at vitters.nl
</A><BR>
<I>Wed Feb 15 15:05:16 CET 2012</I>
<P><UL>
<LI>Previous message: <A HREF="011976.html">[Mageia-dev] [URGENT] SVN down for ~30minutes
</A></li>
<LI>Next message: <A HREF="011998.html">[Mageia-dev] Cleaning up GNOME spec files
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#11993">[ date ]</a>
<a href="thread.html#11993">[ thread ]</a>
<a href="subject.html#11993">[ subject ]</a>
<a href="author.html#11993">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>In case people want to assist. I'm busy cleaning up all the GNOME
related spec files. If you want to do some simple work (instead of
beta1, general bug fixing, etc), then feel free to help out!
If you want to assist, do the following do download all GNOME spec files
in one go:
mkdir ~/src ~/bin ~/pkgs
cd ~/src
svn co svn+<A HREF="ssh://svn.mageia.org/svn/soft/mga-gnome/trunk">ssh://svn.mageia.org/svn/soft/mga-gnome/trunk</A> mga-gnome
cd ~/bin
ln -s ~/src/mga-gnome mga-gnome
mga-gnome co
Then find spec files to work on using:
grep -r '^%clean$' --exclude='*~' --exclude-dir=.svn --exclude-dir=SOURCES --exclude-dir=BUILD ~/pkgs
What I look at while cleaning up:
- remove BuildRoot:
- remove unneeded post/pre
- ensure everything uses tabs
- remove the default defattr
- remove default %clean section
- move any define name/release/version to Name:, Release:, Version:
- ensure Source: is similar to <A HREF="http://download.gnome.org/sources/%{name">http://download.gnome.org/sources/%{name</A>}/%{url_ver}/%{name}-%{version}.tar.xz
thanks to: %define url_ver %(echo %{version}|cut -d. -f1,2)
There are loads of build failures, which needs to be looked at. But atm
just focussing on cleaning spec files only. If it fails to build, I only
check if that was a typo on my part or not. This as there are hundreds
of spec files to clean.
Build failures are various; missing buildrequires, lack of libm linking,
missing .la files, newer glib (not including just glib.h), etc, etc.
--
Regards,
Olav
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="011976.html">[Mageia-dev] [URGENT] SVN down for ~30minutes
</A></li>
<LI>Next message: <A HREF="011998.html">[Mageia-dev] Cleaning up GNOME spec files
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#11993">[ date ]</a>
<a href="thread.html#11993">[ thread ]</a>
<a href="subject.html#11993">[ subject ]</a>
<a href="author.html#11993">[ 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>
|