From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2012-February/011993.html | 148 +++++++++++++++++++++++++++ 1 file changed, 148 insertions(+) create mode 100644 zarb-ml/mageia-dev/2012-February/011993.html (limited to 'zarb-ml/mageia-dev/2012-February/011993.html') diff --git a/zarb-ml/mageia-dev/2012-February/011993.html b/zarb-ml/mageia-dev/2012-February/011993.html new file mode 100644 index 000000000..6c65000d2 --- /dev/null +++ b/zarb-ml/mageia-dev/2012-February/011993.html @@ -0,0 +1,148 @@ + + + + [Mageia-dev] Cleaning up GNOME spec files + + + + + + + + + +

[Mageia-dev] Cleaning up GNOME spec files

+ Olav Vitters + olav at vitters.nl +
+ Wed Feb 15 15:05:16 CET 2012 +

+
+ +
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+ssh://svn.mageia.org/svn/soft/mga-gnome/trunk 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 http://download.gnome.org/sources/%{name}/%{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
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1