summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-April/014103.html
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
committerNicolas Vigier <boklm@mageia.org>2013-04-14 13:46:12 +0000
commit1be510f9529cb082f802408b472a77d074b394c0 (patch)
treeb175f9d5fcb107576dabc768e7bd04d4a3e491a0 /zarb-ml/mageia-dev/2012-April/014103.html
parentfa5098cf210b23ab4f419913e28af7b1b07dafb2 (diff)
downloadarchives-1be510f9529cb082f802408b472a77d074b394c0.tar
archives-1be510f9529cb082f802408b472a77d074b394c0.tar.gz
archives-1be510f9529cb082f802408b472a77d074b394c0.tar.bz2
archives-1be510f9529cb082f802408b472a77d074b394c0.tar.xz
archives-1be510f9529cb082f802408b472a77d074b394c0.zip
Add zarb MLs html archivesHEADmaster
Diffstat (limited to 'zarb-ml/mageia-dev/2012-April/014103.html')
-rw-r--r--zarb-ml/mageia-dev/2012-April/014103.html820
1 files changed, 820 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-April/014103.html b/zarb-ml/mageia-dev/2012-April/014103.html
new file mode 100644
index 000000000..ad6d02d81
--- /dev/null
+++ b/zarb-ml/mageia-dev/2012-April/014103.html
@@ -0,0 +1,820 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] bumblebee in mageia (and mentoring)
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20bumblebee%20in%20mageia%20%28and%20mentoring%29&In-Reply-To=%3CCAKVccoXRU0LCCQor2DhtgeCY42k0XyXjBTAbGd9SOzRU9RpVBQ%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="014102.html">
+ <LINK REL="Next" HREF="014104.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] bumblebee in mageia (and mentoring)</H1>
+ <B>simple w8</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20bumblebee%20in%20mageia%20%28and%20mentoring%29&In-Reply-To=%3CCAKVccoXRU0LCCQor2DhtgeCY42k0XyXjBTAbGd9SOzRU9RpVBQ%40mail.gmail.com%3E"
+ TITLE="[Mageia-dev] bumblebee in mageia (and mentoring)">simplew8 at gmail.com
+ </A><BR>
+ <I>Tue Apr 10 20:35:26 CEST 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="014102.html">[Mageia-dev] bumblebee in mageia (and mentoring)
+</A></li>
+ <LI>Next message: <A HREF="014104.html">[Mageia-dev] bumblebee in mageia (and mentoring)
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#14103">[ date ]</a>
+ <a href="thread.html#14103">[ thread ]</a>
+ <a href="subject.html#14103">[ subject ]</a>
+ <a href="author.html#14103">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>2012/4/10 Anssi Hannula &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">anssi at mageia.org</A>&gt;:
+&gt;<i> 10.04.2012 07:46, simple w8 kirjoitti:
+</I>&gt;&gt;<i> Currently i dont have any account to be able to comit these new
+</I>&gt;&gt;<i> packages for the distro so i ask if someone can review the specs so
+</I>&gt;&gt;<i> that these packages can start existing in the distro, and i also ask
+</I>&gt;&gt;<i> if theres someone that can help me with mentoring
+</I>&gt;<i>
+</I>&gt;<i> Reviewed below. However, there looks to be quite a lot of work
+</I>&gt;<i> remaining, so I don't think I'll be able to help you personally with the
+</I>&gt;<i> issues. I hope you'll find a mentor who'll help you through.
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;&gt;<i> Name: &#160; &#160; &#160; &#160; libbsd
+</I>&gt;&gt;<i> Summary: &#160; &#160; &#160;Library providing BSD-compatible functions for portability
+</I>&gt;&gt;<i>[...]
+</I>&gt;&gt;<i> %{_libdir}/libbsd.so.%{major}*
+</I>&gt;<i> [...]
+</I>&gt;&gt;<i> %{_libdir}/libbsd.so
+</I>&gt;<i> [...]
+</I>&gt;<i>
+</I>&gt;<i> We already have libbsd.a from glibc-devel, which would conflict with
+</I>&gt;<i> this. If they are really different libraries, something drastic would
+</I>&gt;<i> have to be done (e.g. renaming or dropping one). I suspect they are the
+</I>&gt;<i> same, though, in which case this isn't needed.
+</I>&gt;<i>
+</I>&gt;&gt;<i> %prep
+</I>&gt;&gt;<i> %setup -q
+</I>&gt;&gt;<i> # fix encoding of flopen.3 man page
+</I>&gt;&gt;<i> for f in src/flopen.3; do
+</I>&gt;&gt;<i> &#160; iconv -f iso8859-1 -t utf-8 $f &gt;$f.conv
+</I>&gt;&gt;<i> &#160; touch -r $f $f.conv
+</I>&gt;&gt;<i> &#160; mv $f.conv $f
+</I>&gt;&gt;<i> done
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %build
+</I>&gt;&gt;<i> %make
+</I>&gt;<i>
+</I>&gt;<i> %optflags not used.
+</I>&gt;<i>
+</I>&gt;&gt;<i> %install
+</I>&gt;&gt;<i> make install DESTDIR=%{buildroot} \
+</I>&gt;<i>
+</I>&gt;<i> %makeinstall_std
+</I>
+Here you really need to spefify them, with %makeinstall_std fails
+
+&gt;&gt;<i> &#160; &#160; libdir=%{_libdir} \
+</I>&gt;&gt;<i> &#160; &#160; usrlibdir=%{_libdir} \
+</I>&gt;&gt;<i> &#160; &#160; exec_prefix=%{_prefix}
+</I>&gt;&gt;<i>
+</I>&gt;<i> [...]
+</I>&gt;&gt;<i> optidesk.spec
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Name: &#160; &#160; &#160; &#160; &#160; optidesk
+</I>&gt;&gt;<i> Summary: &#160; &#160; &#160; &#160;Tool to configure .desktop files to run with optirun
+</I>&gt;&gt;<i> Group: &#160; &#160; &#160; &#160; &#160;Graphical desktop/Other
+</I>&gt;&gt;<i> Version: &#160; &#160; &#160; &#160;0.1
+</I>&gt;&gt;<i> Release: &#160; &#160; &#160; &#160;1
+</I>&gt;&gt;<i> URL: &#160; &#160; &#160; &#160; &#160; &#160;<A HREF="https://github.com/Bumblebee-Project/optidesk">https://github.com/Bumblebee-Project/optidesk</A>
+</I>&gt;&gt;<i> License: &#160; &#160; &#160; &#160;GPLv3
+</I>&gt;&gt;<i> # source from git repo <A HREF="git://github.com/Bumblebee-Project/optidesk.git">git://github.com/Bumblebee-Project/optidesk.git</A>
+</I>&gt;&gt;<i> Source0: &#160; &#160; &#160;%{name}.tar.xz
+</I>&gt;<i>
+</I>&gt;<i> Tarball needs to be versioned.
+</I>
+I did add a comment saying its from git, but i usually use to create a
+macro and put some like this:
+
+Source0: %{?git:%{name}}%{!?git:%{name}-%{version}}.tar.xz
+
+but still there isnt any version released
+
+
+&gt;&gt;<i> Requires: &#160; &#160; bumblebee
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %description
+</I>&gt;&gt;<i> This tool is intended to be an easy way of configuring your desired
+</I>&gt;&gt;<i> applications to be run through Bumblebee. It will allow to create
+</I>&gt;&gt;<i> and modify a menu entry with an alternative (Optirun) version of the
+</I>&gt;&gt;<i> default launcher.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %files
+</I>&gt;&gt;<i> %{_bindir}/%{name}
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %prep
+</I>&gt;&gt;<i> %setup -qn %{name}
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %build
+</I>&gt;&gt;<i> autoreconf -fi
+</I>&gt;&gt;<i> %configure
+</I>&gt;<i>
+</I>&gt;<i> %configure2_5x
+</I>
+I also use to use configure2_5X~but here would not make any
+difference, but yes here i didnt put because i missed ateention on
+this line
+
+&gt;&gt;<i> %make
+</I>&gt;<i> [...]
+</I>&gt;&gt;<i> %changelog
+</I>&gt;&gt;<i> * Mon Mar 19 2012 Simple &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">simplew8 at gmailcom</A>&gt; 3.0-1
+</I>&gt;&gt;<i> - initial package
+</I>&gt;<i>
+</I>&gt;<i> No single-entry changelog needed for imported packages, it will be
+</I>&gt;<i> created from the import commit message. (applies to all .specs)
+</I>
+Even so i do add an entry in changelog for my personall reports.
+
+&gt;&gt;<i>
+</I>&gt;&gt;<i> dkms-bbswitch.spec
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %define oname bbswitch
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Name: &#160; &#160; &#160; &#160; &#160; dkms-%{oname}
+</I>&gt;&gt;<i> Summary: &#160; &#160; &#160; &#160;bbswitch - Optimus GPU power switcher
+</I>&gt;&gt;<i> Group: &#160; &#160; &#160; &#160; &#160;System/Kernel and hardware
+</I>&gt;&gt;<i> Version: &#160; &#160; &#160; &#160;0.4.1
+</I>&gt;&gt;<i> Release: &#160; &#160; &#160; &#160;%mkrel 1
+</I>&gt;&gt;<i> License: &#160; &#160; &#160; &#160;GPLv3
+</I>&gt;&gt;<i> URL: &#160; &#160; &#160; &#160; &#160; &#160;<A HREF="https://github.com/Bumblebee-Project/bbswitch">https://github.com/Bumblebee-Project/bbswitch</A>
+</I>&gt;&gt;<i> # source from git repo <A HREF="git://github.com/Bumblebee-Project/bbswitch.git">git://github.com/Bumblebee-Project/bbswitch.git</A>
+</I>&gt;&gt;<i> Source0: &#160; &#160; &#160; &#160;%{oname}.tar.xz
+</I>&gt;<i>
+</I>&gt;<i> Tarball needs to be versioned.
+</I>
+This is from git and already explained that there was no release
+
+&gt;&gt;<i> BuildArch: &#160; &#160;noarch
+</I>&gt;&gt;<i> Requires(post): &#160; &#160; &#160; dkms
+</I>&gt;&gt;<i> Requires(preun):dkms
+</I>&gt;<i>
+</I>&gt;<i> Needs to require dkms.
+</I>
+AFAIK dkms its only used in post and preun scriptlets., so why add
+another plain require?
+
+&gt;&gt;<i>
+</I>&gt;&gt;<i> %description
+</I>&gt;&gt;<i> bbswitch is a kernel module which automatically detects the required
+</I>&gt;&gt;<i> ACPI calls for two kinds of Optimus laptops. It has been verified to
+</I>&gt;&gt;<i> work with &quot;real&quot; Optimus and &quot;legacy&quot; Optimus laptops (at least, that
+</I>&gt;&gt;<i> is how I call them).
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %files
+</I>&gt;&gt;<i> %{_usrsrc}/%{oname}-%{version}/*
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %post
+</I>&gt;&gt;<i> set -x
+</I>&gt;&gt;<i> dkms add -m %{oname} -v %{version} --rpm_safe_upgrade || :
+</I>&gt;&gt;<i> dkms build -m %{oname} -v %{version} --rpm_safe_upgrade || :
+</I>&gt;&gt;<i> dkms install -m %{oname} -v %{version} --rpm_safe_upgrade || :
+</I>&gt;&gt;<i> /sbin/modprobe %{oname} || :
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %preun
+</I>&gt;&gt;<i> dkms remove --binary -m %{oname} -v %{version} --rpm_safe_upgrade --all || :
+</I>&gt;&gt;<i> /sbin/rmmod %{oname} || :
+</I>&gt;&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> These scripts are a bit incorrect, see
+</I>&gt;<i> <A HREF="https://wiki.mageia.org/en/DKMS_packaging_policy">https://wiki.mageia.org/en/DKMS_packaging_policy</A>
+</I>&gt;<i> (some || : should be replaced with &amp;&amp;)
+</I>
+Well i dont think its incorrect, bow if mageia prefers to use another
+code its a different issue.
+
+&gt;&gt;<i> %prep
+</I>&gt;&gt;<i> %setup -qn %{oname}
+</I>&gt;&gt;<i> sed -i 's/#MODULE_VERSION#/%{version}/g' dkms/dkms.conf
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %install
+</I>&gt;&gt;<i> rm -rf %{buildroot}
+</I>&gt;&gt;<i> mkdir -p %{buildroot}%{_usrsrc}/%{oname}-%{version}
+</I>&gt;&gt;<i> cp *.c %{buildroot}%{_usrsrc}/%{oname}-%{version}
+</I>&gt;&gt;<i> cp Makefile %{buildroot}%{_usrsrc}/%{oname}-%{version}
+</I>&gt;&gt;<i> cp dkms/dkms.conf %{buildroot}%{_usrsrc}/%{oname}-%{version}/dkms.conf
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %changelog
+</I>&gt;&gt;<i> * Mon Mar 19 2012 Simple &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">simplew8 at gmail.com</A>&gt; 0.4.1-1
+</I>&gt;&gt;<i> - initial package
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> bumblebee.spec
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Name: &#160; &#160; &#160; &#160; &#160; bumblebee
+</I>&gt;&gt;<i> Summary: &#160; &#160; &#160; &#160;Bumblebee - support for NVidia Optimus laptops on Linux!
+</I>&gt;&gt;<i> Group: &#160; &#160; &#160; &#160; &#160;System/Kernel and hardware
+</I>&gt;&gt;<i> Version: &#160; &#160; &#160; &#160;3.0
+</I>&gt;&gt;<i> Release: &#160; &#160; &#160; &#160;1
+</I>&gt;<i>
+</I>&gt;<i> Missing %mkrel.
+</I>
+Yes its a typo that escaped me.
+
+&gt;&gt;<i> URL: &#160; &#160; &#160; &#160; &#160; &#160;<A HREF="https://github.com/Bumblebee-Project/bumblebee">https://github.com/Bumblebee-Project/bumblebee</A>
+</I>&gt;&gt;<i> License: &#160; &#160; &#160; &#160;GPLv3
+</I>&gt;<i>
+</I>&gt;<i> Incorrect license, see license policy:
+</I>&gt;<i> <A HREF="https://wiki.mageia.org/en/Licensing_policy">https://wiki.mageia.org/en/Licensing_policy</A>
+</I>&gt;<i>
+</I>&gt;<i> AFAICS should be GPLv3+. I didn't check other packages, they may have
+</I>&gt;<i> wrong tags as well.
+</I>
+I need to read it, i didnt knew about it.
+
+&gt;&gt;<i> # source from git repo <A HREF="git://github.com/Bumblebee-Project/Bumblebee.git">git://github.com/Bumblebee-Project/Bumblebee.git</A>
+</I>&gt;&gt;<i> Source0: &#160; &#160; &#160;Bumblebee.tar.xz
+</I>&gt;<i>
+</I>&gt;<i> Needs to be versioned.
+</I>&gt;<i>
+</I>&gt;&gt;<i> BuildRequires: &#160; &#160; &#160; &#160;X11-devel
+</I>&gt;&gt;<i> BuildRequires: &#160; &#160; &#160; &#160;pkgconfig(glib-2.0)
+</I>&gt;&gt;<i> BuildRequires: &#160; &#160; &#160; &#160;pkgconfig(libbsd)
+</I>&gt;&gt;<i> BuildRequires: &#160; &#160; &#160; &#160;help2man
+</I>&gt;&gt;<i> Requires(pre): &#160; &#160; &#160; &#160;update-alternatives
+</I>&gt;&gt;<i> Requires(post): &#160; &#160; &#160; systemd-units
+</I>&gt;&gt;<i> Requires(preun):systemd-units
+</I>&gt;&gt;<i> Requires(postun):systemd-units
+</I>&gt;&gt;<i> Requires: &#160; &#160; virtualgl
+</I>&gt;&gt;<i> Requires: &#160; &#160; x11-driver-video-nvidia-current
+</I>&gt;<i>
+</I>&gt;<i> I thought this worked with nouveau as well?
+</I>
+Well so far the tests i performed always missed with noveau when
+running optirun, Anyway, bumblebee is configured by default to use
+nvidia driver.
+
+&gt;&gt;<i> Requires: &#160; &#160; dkms-bbswitch
+</I>&gt;&gt;<i> Requires: &#160; &#160; dkms-acpi_call
+</I>&gt;<i>
+</I>&gt;<i> Packages can't require dkms packages directly, see the aforementioned
+</I>&gt;<i> DKMS policy (use kmod() instead). Requiring them directly breaks binary
+</I>&gt;<i> dkms packages.
+</I>
+This one i didnt knew :)
+
+&gt;&gt;<i> %description
+</I>&gt;&gt;<i> Bumblebee daemon is a rewrite of the original Bumblebee service,
+</I>&gt;&gt;<i> providing an elegant and stable means of managing Optimus hybrid
+</I>&gt;&gt;<i> graphics chipsets.
+</I>&gt;&gt;<i> A primary goal of this project is to not only enable use of the
+</I>&gt;&gt;<i> discrete GPU for rendering, but also to enable smart power management
+</I>&gt;&gt;<i> of the dGPU when it's not in use.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %prep
+</I>&gt;&gt;<i> %setup -qn Bumblebee
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %build
+</I>&gt;&gt;<i> autoreconf -fi
+</I>&gt;&gt;<i> %configure \
+</I>&gt;&gt;<i> CONF_DRIVER=nvidia \
+</I>&gt;&gt;<i> CONF_DRIVER_MODULE_NVIDIA=nvidia-current \
+</I>&gt;&gt;<i> CONF_LDPATH_NVIDIA=/usr/lib/nvidia-current:/usr/lib64/nvidia-current \
+</I>&gt;&gt;<i> CONF_MODPATH_NVIDIA=/usr/lib/nvidia-current/xorg,/usr/lib64/nvidia-current/xorg,/usr/lib/xorg/modules,/usr/lib64/xorg/modules,/usr/lib/xorg/extra-modules,/usr/lib64/xorg/extra-modules
+</I>&gt;<i>
+</I>&gt;<i> Use %{_libdir}, %ifarch and %{_prefix}/lib. 32-bit builds need only
+</I>&gt;<i> %{_libdir}, 64-bit builds (%ifarch x86_64) need both %{_libdir} and
+</I>&gt;<i> %{_prefix}/lib.
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;&gt;<i> %make
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %install
+</I>&gt;&gt;<i> rm -rf %{buildroot}
+</I>&gt;&gt;<i> %makeinstall_std
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> install -m644 -D scripts/systemd/bumblebeed.service %{buildroot}%{_sysconfdir}/systemd/system/bumblebeed.service
+</I>&gt;&gt;<i> install -m644 -D scripts/sysvinit/bumblebeed %{buildroot}%{_initrddir}/%{name}/bumblebeed
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %files
+</I>&gt;&gt;<i> %doc README.markdown doc/RELEASE_NOTES_3_0
+</I>&gt;&gt;<i> %config(noreplace) %{_sysconfdir}/bash_completion.d/bumblebee
+</I>&gt;<i>
+</I>&gt;<i> This shouldn't be %config.
+</I>&gt;<i>
+</I>&gt;&gt;<i> %dir %{_sysconfdir}/bumblebee/
+</I>&gt;&gt;<i> %config(noreplace) %{_sysconfdir}/bumblebee/bumblebee.conf
+</I>&gt;&gt;<i> %config(noreplace) %{_sysconfdir}/bumblebee/xorg.conf.nouveau
+</I>&gt;&gt;<i> %config(noreplace) %{_sysconfdir}/bumblebee/xorg.conf.nvidia
+</I>&gt;&gt;<i> %{_sysconfdir}/systemd/system/bumblebeed.service
+</I>&gt;&gt;<i> %{_initrddir}/%{name}/
+</I>&gt;<i>
+</I>&gt;<i> Extra '/'?
+</I>
+This one was a typo.
+
+&gt;&gt;<i> %{_sbindir}/bumblebeed
+</I>&gt;&gt;<i> %{_bindir}/optirun
+</I>&gt;&gt;<i> %{_bindir}/bumblebee-bugreport
+</I>&gt;&gt;<i> %{_mandir}/man1/bumblebeed.1*
+</I>&gt;&gt;<i> %{_mandir}/man1/optirun.1*
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %pre
+</I>&gt;&gt;<i> %_pre_groupadd %{name}
+</I>&gt;&gt;<i> if [ &quot;$1&quot; -eq &quot;1&quot; ];then
+</I>&gt;&gt;<i> &#160; /usr/sbin/update-alternatives --set gl_conf %{_sysconfdir}/ld.so.conf.d/GL/standard.conf
+</I>&gt;&gt;<i> fi
+</I>&gt;<i>
+</I>&gt;<i> Forcibly changing configuration in %pre seems quite bad to me, though I
+</I>&gt;<i> do not see much better solutions (except making XFdrake aware of
+</I>&gt;<i> bumblebee, which is quite some work).
+</I>
+I did asked you about what would be the best option here and you said
+that --set would be the best choice.
+
+&gt;&gt;<i> %post
+</I>&gt;&gt;<i> %_post_service bumblebeed
+</I>&gt;<i> [...]
+</I>&gt;&gt;<i> if [ $1 -eq 1 ]; then
+</I>&gt;&gt;<i> &#160; # Initial set
+</I>&gt;&gt;<i> &#160; # Enable (but don't start) the unit by default
+</I>&gt;&gt;<i> &#160; /bin/systemctl enable bumblebeed.service
+</I>&gt;&gt;<i> fi
+</I>&gt;<i>
+</I>&gt;<i> I don't think this stuff is needed on Mageia, that is done by default.
+</I>
+Really? I didnt knew about it, is there any page documenting that?
+Im quite curious about how is done :)
+
+&gt;&gt;<i> %preun
+</I>&gt;&gt;<i> %_preun_service bumblebeed
+</I>&gt;<i> [...]
+</I>&gt;&gt;<i> if [ $1 -eq 0 ]; then
+</I>&gt;&gt;<i> &#160; # Package removal, not upgrade
+</I>&gt;&gt;<i> &#160; /bin/systemctl --no-reload disable bumblebeed.service
+</I>&gt;&gt;<i> &#160; /bin/systemctl stop bumblebeed.service
+</I>&gt;&gt;<i> fi
+</I>&gt;<i>
+</I>&gt;<i> That is done by %_preun_service already.
+</I>
+How come?
+~]$ rpm -E %_preun_service
+/usr/share/rpm-helper/del-service %{name} $1
+
+&gt;&gt;<i> %postun
+</I>&gt;&gt;<i> %_postun_groupdel %{name}
+</I>&gt;<i>
+</I>&gt;&gt;<i> /bin/systemctl daemon-reload
+</I>&gt;<i>
+</I>&gt;<i> Already done by filetriggers.
+</I>&gt;<i>
+</I>&gt;&gt;<i> if [ $1 -ge 1 ]; then
+</I>&gt;&gt;<i> &#160; # Package upgrade, not uninstall
+</I>&gt;&gt;<i> &#160; /bin/systemctl try-restart bumblebeed.service
+</I>&gt;&gt;<i> fi
+</I>&gt;<i>
+</I>&gt;<i> Already done by %_post_service.
+</I>
+I dont get why you said that again when:
+
+]$ rpm -E %_post_service
+/usr/share/rpm-helper/add-service %{name} $1
+
+&gt;&gt;<i>
+</I>&gt;&gt;<i> %changelog
+</I>&gt;&gt;<i> * Mon Mar 19 2012 Simple &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">simplew8 at gmailcom</A>&gt; 3.0-1
+</I>&gt;&gt;<i> - 3.0 (from git), initial package
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> bumblebee-ui.spec
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Name: &#160; &#160; &#160; &#160; bumblebee-ui
+</I>&gt;&gt;<i> Summary: &#160; &#160; &#160;Bumblebee User Interface
+</I>&gt;&gt;<i> Group: &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;System/Configuration/Other
+</I>&gt;&gt;<i> Version: &#160; &#160; &#160;1.0
+</I>&gt;&gt;<i> Release: &#160; &#160; &#160;%mkrel 1
+</I>&gt;&gt;<i> URL: &#160; &#160; &#160; &#160; &#160;<A HREF="https://github.com/Bumblebee-Project/bumblebee-ui">https://github.com/Bumblebee-Project/bumblebee-ui</A>
+</I>&gt;&gt;<i> License: &#160; &#160; &#160;GPLv3
+</I>&gt;&gt;<i> # source from git repo <A HREF="git://github.com/Bumblebee-Project/bumblebee-ui.git">git://github.com/Bumblebee-Project/bumblebee-ui.git</A>
+</I>&gt;&gt;<i> Source0: &#160; &#160; &#160;%{name}.tar.xz
+</I>&gt;<i>
+</I>&gt;<i> Needs to be versioned.
+</I>&gt;<i>
+</I>&gt;&gt;<i> BuildArch: &#160; &#160;noarch
+</I>&gt;&gt;<i> Requires: &#160; &#160; bumblebee
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %description
+</I>&gt;&gt;<i> This is a user interface for bumblebee.
+</I>&gt;&gt;<i> A complete explanation of the feature of this user interface are
+</I>&gt;&gt;<i> explained here :
+</I>&gt;&gt;<i> &#160; &#160; <A HREF="https://github.com/Bumblebee-Project/bumblebee-ui/wiki">https://github.com/Bumblebee-Project/bumblebee-ui/wiki</A>
+</I>&gt;&gt;<i> Please give it a try and report bugs to:
+</I>&gt;&gt;<i> &#160; &#160; <A HREF="https://github.com/Bumblebee-Project/bumblebee-ui/issues">https://github.com/Bumblebee-Project/bumblebee-ui/issues</A>
+</I>&gt;<i>
+</I>&gt;<i> &quot;Please give it a try&quot; is inappropriate in a %description. This should
+</I>&gt;<i> also briefly explain what bumblebee is.
+</I>
+I just copied whats in the bumblebee page
+
+&gt;&gt;<i> %files
+</I>&gt;&gt;<i> %{_sysconfdir}/xdg/autostart/bumblebee-indicator.desktop
+</I>&gt;&gt;<i> %{_bindir}/bumblebee*
+</I>&gt;&gt;<i> %{_datadir}/%{name}/
+</I>&gt;&gt;<i> %{_datadir}/applications/*
+</I>&gt;&gt;<i> %{_iconsdir}/hicolor/*
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %prep
+</I>&gt;&gt;<i> %setup -qn %{name}
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %install
+</I>&gt;&gt;<i> rm -rf %{buildroot}
+</I>&gt;&gt;<i> mkdir -p %{buildroot}%{_iconsdir}/hicolor/48x48/apps/
+</I>&gt;&gt;<i> cp icons/*.* %{buildroot}%{_iconsdir}/hicolor/48x48/apps/
+</I>&gt;&gt;<i> mkdir -p %{buildroot}%{_datadir}/{%{name},applications}
+</I>&gt;&gt;<i> cp app/*.* %{buildroot}%{_datadir}/%{name}
+</I>&gt;&gt;<i> cp bumblebee-app-settings.desktop %{buildroot}%{_datadir}/applications/
+</I>&gt;&gt;<i> cp bumblebee-indicator.desktop %{buildroot}%{_datadir}/applications/
+</I>&gt;&gt;<i> mkdir -p %{buildroot}%{_bindir}
+</I>&gt;&gt;<i> ln -s %{_datadir}/%{name}/AppSettings.py %{buildroot}%{_bindir}/bumblebee-app-settings
+</I>&gt;&gt;<i> ln -s %{_datadir}/%{name}/Bumblebee-Indicator.py %{buildroot}%{_bindir}/bumblebee-indicator
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> chmod +x %{buildroot}%{_datadir}/applications/bumblebee-app-settings.desktop
+</I>&gt;&gt;<i> chmod +x %{buildroot}%{_datadir}/applications/bumblebee-indicator.desktop
+</I>&gt;&gt;<i> chmod +x -R %{buildroot}%{_datadir}/%{name}
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> # Always start in boot
+</I>&gt;&gt;<i> mkdir -p %{buildroot}%{_sysconfdir}/xdg/autostart
+</I>&gt;&gt;<i> cp bumblebee-indicator.desktop %{buildroot}%{_sysconfdir}/xdg/autostart
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %changelog
+</I>&gt;&gt;<i> * Mon Mar 19 2012 Simple &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">simplew8 at gmail.com</A>&gt; 1.0-1
+</I>&gt;&gt;<i> - initial package
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> dkms-acpi_call.spec
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %define modname acpi_call
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Name: &#160; &#160; &#160; &#160; &#160; dkms-%{modname}
+</I>&gt;&gt;<i> Summary: &#160; &#160; &#160; &#160;A kernel module that enables you to call ACPI methods
+</I>&gt;&gt;<i> Group: &#160; &#160; &#160; &#160; &#160;System/Kernel and hardware
+</I>&gt;&gt;<i> Version: &#160; &#160; &#160; &#160;0.1
+</I>&gt;&gt;<i> Release: &#160; &#160; &#160; &#160;%mkrel 1
+</I>&gt;&gt;<i> URL: &#160; &#160; &#160; &#160; &#160; &#160;<A HREF="https://github.com/Bumblebee-Project/acpi_call">https://github.com/Bumblebee-Project/acpi_call</A>
+</I>&gt;&gt;<i> License: &#160; &#160; &#160; &#160;GPL
+</I>&gt;&gt;<i> # source from git repo <A HREF="git://github.com/Bumblebee-Project/acpi_call.git">git://github.com/Bumblebee-Project/acpi_call.git</A>
+</I>&gt;&gt;<i> Source0: &#160; &#160; &#160;%{modname}.tar.xz
+</I>&gt;<i>
+</I>&gt;<i> Needs to be versioned.
+</I>&gt;<i>
+</I>&gt;&gt;<i> BuildArch: &#160; &#160;noarch
+</I>&gt;&gt;<i> Requires(post): &#160; &#160; &#160; dkms
+</I>&gt;&gt;<i> Requires(preun):dkms
+</I>&gt;<i>
+</I>&gt;<i> Needs to require dkms.
+</I>
+Again i dont get why when dkms is only used in post/preun scripts
+
+&gt;&gt;<i>
+</I>&gt;&gt;<i> %description
+</I>&gt;&gt;<i> A kernel module that enables you to call ACPI methods by writing the
+</I>&gt;&gt;<i> method name followed by arguments to /proc/acpi/call.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %files
+</I>&gt;&gt;<i> %doc README
+</I>&gt;&gt;<i> %{_usrsrc}/%{modname}-%{version}-%{release}/*
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %post
+</I>&gt;&gt;<i> set -x
+</I>&gt;&gt;<i> /usr/sbin/dkms add -m %{modname} -v %{version}-%{release} --rpm_safe_upgrade || :
+</I>&gt;&gt;<i> /usr/sbin/dkms build -m %{modname} -v %{version}-%{release} --rpm_safe_upgrade || :
+</I>&gt;&gt;<i> /usr/sbin/dkms install -m %{modname} -v %{version}-%{release} --rpm_safe_upgrade || :
+</I>&gt;&gt;<i> /sbin/modprobe %{modname} || :
+</I>&gt;<i>
+</I>&gt;<i> Same comments as for the previous dkms package, see mentioned policy.
+</I>&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %preun
+</I>&gt;&gt;<i> dkms remove --binary -m %{modname} -v %{version}-%{release} --rpm_safe_upgrade --all || :
+</I>&gt;&gt;<i> /sbin/rmmod %{modname} || :
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %prep
+</I>&gt;&gt;<i> %setup -qn %{modname}
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %install
+</I>&gt;&gt;<i> rm -rf %{buildroot}
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> mkdir -p -m755 %{buildroot}%{_usrsrc}/%{modname}-%{version}-%{release}
+</I>&gt;&gt;<i> cp -a * %{buildroot}%{_usrsrc}/%{modname}-%{version}-%{release}
+</I>&gt;&gt;<i> # DKMS config
+</I>&gt;&gt;<i> cat &gt; %{buildroot}%{_usrsrc}/%{modname}-%{version}-%{release}/dkms.conf &lt;&lt; 'EOF'
+</I>&gt;&gt;<i> PACKAGE_NAME=&quot;%{modname}&quot;
+</I>&gt;&gt;<i> PACKAGE_VERSION=&quot;%{version}-%{release}&quot;
+</I>&gt;&gt;<i> MAKE[0]=&quot;make default KERNELPATH=${kernel_source_dir}&quot;
+</I>&gt;<i>
+</I>&gt;&gt;<i> MAKE_MATCH[0]=&quot;make load KERNELPATH=${kernel_source_dir}&quot;
+</I>&gt;<i>
+</I>&gt;<i> MAKE_MATCH[#] is a regular expression field, you have something very
+</I>&gt;<i> different in there. MAKE_MATCH[#] line is unneeded here.
+</I>
+That line shouldnt be there, seams i didnt attach the most updated spec...
+
+&gt;&gt;<i> BUILT_MODULE_NAME[0]=&quot;%{modname}&quot;
+</I>&gt;&gt;<i> DEST_MODULE_LOCATION[0]=&quot;/kernel/drivers/acpi&quot;
+</I>&gt;&gt;<i> REMAKE_INITRD=&quot;no&quot;
+</I>&gt;&gt;<i> AUTOINSTALL=&quot;yes&quot;
+</I>&gt;&gt;<i> EOF
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %changelog
+</I>&gt;&gt;<i> * Mon Mar 19 2012 Simple &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">simplew8 at gmailcom</A>&gt; 1.0-1
+</I>&gt;&gt;<i> - initial package
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> libindicator.spec
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %define major 7
+</I>&gt;&gt;<i> %define libtool %mklibname indicator3
+</I>&gt;&gt;<i> %define libname %mklibname indicator3_ %{major}
+</I>&gt;&gt;<i> %define libdevel %mklibname indicator3 -d
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Name: &#160; &#160; &#160; &#160; &#160; libindicator
+</I>&gt;&gt;<i> Summary: &#160; &#160; &#160; &#160;A set of symbols and convience functions for indicators
+</I>&gt;&gt;<i> Group: &#160; &#160; &#160; &#160; &#160;System/Libraries
+</I>&gt;&gt;<i> Version: &#160; &#160; &#160; &#160;0.4.93
+</I>&gt;&gt;<i> Release: &#160; &#160; &#160; &#160;%mkrel 1
+</I>&gt;&gt;<i> License: &#160; &#160; &#160; &#160;GPL-3.0
+</I>&gt;<i>
+</I>&gt;<i> Incorrect license tag.
+</I>&gt;<i>
+</I>&gt;&gt;<i> URL: &#160; &#160; &#160; &#160; &#160; &#160;<A HREF="http://launchpad.net/libindicator">http://launchpad.net/libindicator</A>
+</I>&gt;&gt;<i> Source0: &#160; &#160; &#160; &#160;<A HREF="http://launchpad.net/libindicator/0.5/0.4.93/+download//%{name">http://launchpad.net/libindicator/0.5/0.4.93/+download//%{name</A>}-%{version}.tar.gz
+</I>&gt;&gt;<i> BuildRequires: &#160;pkgconfig(gtk+-3.0)
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %description
+</I>&gt;&gt;<i> A set of symbols and convience functions that all indicators would like
+</I>&gt;&gt;<i> to use. Not of real use outside of the Ayatana indicators project.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> #--------------------------------------------------------------------
+</I>&gt;&gt;<i> %package -n %{libname}
+</I>&gt;&gt;<i> Summary: &#160; &#160; &#160; &#160;libindicator3 library
+</I>&gt;&gt;<i> Group: &#160; &#160; &#160; &#160; &#160;System/Libraries
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %description -n %{libname}
+</I>&gt;&gt;<i> Library for libindicator3.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %files -n %{libname}
+</I>&gt;&gt;<i> %{_libdir}/libindicator3.so.%{major}*
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> #--------------------------------------------------------------------
+</I>&gt;&gt;<i> %package -n %{libtool}-tools
+</I>&gt;&gt;<i> Summary: &#160; &#160; &#160; &#160;libindicator3 tool
+</I>&gt;&gt;<i> Group: &#160; &#160; &#160; &#160; &#160;System/Libraries
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %description -n %{libtool}-tools
+</I>&gt;&gt;<i> Tool to load libindicator3 plugins.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %files -n %{libtool}-tools
+</I>&gt;&gt;<i> %{_libdir}/indicator-loader3
+</I>&gt;&gt;<i> %{_libdir}/libdummy-indicator-blank.so
+</I>&gt;&gt;<i> %{_libdir}/libdummy-indicator-entry-func.so
+</I>&gt;&gt;<i> %{_libdir}/libdummy-indicator-null.so
+</I>&gt;&gt;<i> %{_libdir}/libdummy-indicator-signaler.so
+</I>&gt;&gt;<i> %{_libdir}/libdummy-indicator-simple.so
+</I>&gt;&gt;<i> %{_libdir}/libdummy-indicator-visible.so
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> #--------------------------------------------------------------------
+</I>&gt;&gt;<i> %package -n %{libdevel}
+</I>&gt;&gt;<i> Summary: &#160; &#160; &#160; &#160;libindicator3 development files
+</I>&gt;&gt;<i> Group: &#160; &#160; &#160; &#160; &#160;Development/GNOME and GTK+
+</I>&gt;&gt;<i> Requires: &#160; &#160; %{libname} &gt;= %{version}
+</I>&gt;<i>
+</I>&gt;<i> Shouldn't this be &quot;=&quot;?
+</I>
+I think &gt;= is better than just =
+
+&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %description -n %{libdevel}
+</I>&gt;&gt;<i> Development files needed by libindicator3.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %files -n %{libdevel}
+</I>&gt;&gt;<i> %doc AUTHORS ChangeLog COPYING INSTALL
+</I>&gt;&gt;<i> %{_includedir}/libindicator3-0.4/libindicator/
+</I>&gt;&gt;<i> %{_libdir}/libindicator3.so
+</I>&gt;&gt;<i> %{_libdir}/pkgconfig/indicator3-0.4.pc
+</I>&gt;&gt;<i> %{_datadir}/libindicator/80indicator-debugging
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> #--------------------------------------------------------------------
+</I>&gt;&gt;<i> %prep
+</I>&gt;&gt;<i> %setup -q
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %build
+</I>&gt;&gt;<i> %configure \
+</I>&gt;&gt;<i> &#160; --disable-static
+</I>&gt;&gt;<i> %make
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %install
+</I>&gt;&gt;<i> %makeinstall_std
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> # Clean .la files
+</I>&gt;&gt;<i> find %{buildroot}%{_libdir} -name '*.la' -delete -print
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %changelog
+</I>&gt;&gt;<i> * Sun Mar 18 2012 Simple &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">simplew8 at gmail.com</A>&gt; 0.4.93-1
+</I>&gt;&gt;<i> - first package
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> virtualgl.spec
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %define oname VirtualGL
+</I>&gt;&gt;<i> %define libname %mklibname %{name}
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Name: &#160; &#160; &#160; &#160; &#160; virtualgl
+</I>&gt;&gt;<i> Summary: &#160; &#160; &#160; &#160;A toolkit for displaying OpenGL applications to thin clients
+</I>&gt;&gt;<i> Group: &#160; &#160; &#160; &#160; &#160;Networking/Other
+</I>&gt;&gt;<i> Version: &#160; &#160; &#160; &#160;2.3
+</I>&gt;&gt;<i> Release: &#160; &#160; &#160; &#160;%mkrel 1
+</I>&gt;&gt;<i> URL: &#160; &#160; &#160; &#160; &#160; &#160;<A HREF="http://www.virtualgl.org">http://www.virtualgl.org</A>
+</I>&gt;&gt;<i> License: &#160; &#160; &#160; &#160;wxWindows Library License v3.1
+</I>&gt;<i>
+</I>&gt;<i> Incorrect tag, see license policy as mentioned previously.
+</I>&gt;<i>
+</I>&gt;&gt;<i> Source0: &#160; &#160; &#160;<A HREF="http://prdownloads.sourceforge.net/virtualgl/%{oname">http://prdownloads.sourceforge.net/virtualgl/%{oname</A>}-%{version}.tar.gz
+</I>&gt;&gt;<i> Patch0: &#160; &#160; &#160; &#160; &#160; &#160; &#160; vgl_2.3_patch0
+</I>&gt;<i>
+</I>&gt;<i> Please name this properly, and with a .patch extension.
+</I>
+Again a typo...
+
+&gt;&gt;<i> BuildRequires: &#160; &#160; &#160; &#160;X11-devel
+</I>&gt;&gt;<i> BuildRequires: &#160; &#160; &#160; &#160;jpeg-devel
+</I>&gt;&gt;<i> BuildRequires: &#160; &#160; &#160; &#160;cmake
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %description
+</I>&gt;&gt;<i> VirtualGL is a library which allows most Linux OpenGL applications to be
+</I>&gt;&gt;<i> remotely displayed to a thin client without the need to alter the
+</I>&gt;&gt;<i> applications in any way. &#160;VGL inserts itself into an application at run time
+</I>&gt;&gt;<i> and intercepts a handful of GLX calls, which it reroutes to the server's
+</I>&gt;&gt;<i> display (which presumably has a 3D accelerator attached.) &#160;This causes all
+</I>&gt;&gt;<i> 3D rendering to occur on the server's display. &#160;As each frame is rendered
+</I>&gt;&gt;<i> by the server, VirtualGL reads back the pixels from the server's framebuffer
+</I>&gt;&gt;<i> and sends them to the client for re-compositing into the appropriate X
+</I>&gt;&gt;<i> Window. &#160;VirtualGL can be used to give hardware-accelerated 3D capabilities to
+</I>&gt;&gt;<i> VNC or other remote display environments that lack GLX support. &#160;In a LAN
+</I>&gt;&gt;<i> environment, it can also be used with its built-in motion-JPEG video delivery
+</I>&gt;&gt;<i> system to remotely display full-screen 3D applications at 20+ frames/second.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> VirtualGL is based upon ideas presented in various academic papers on
+</I>&gt;&gt;<i> this topic, including &quot;A Generic Solution for Hardware-Accelerated Remote
+</I>&gt;&gt;<i> Visualization&quot; (Stegmaier, Magallon, Ertl 2002) and &quot;A Framework for
+</I>&gt;&gt;<i> Interactive Hardware Accelerated Remote 3D-Visualization&quot; (Engel, Sommer,
+</I>&gt;&gt;<i> Ertl 2000.)
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %files
+</I>&gt;&gt;<i> %{_bindir}/*
+</I>&gt;&gt;<i> %{_defaultdocdir}/%{name}/
+</I>&gt;<i>
+</I>&gt;<i> Mark docs as %doc.
+</I>
+Correct, that also missed my attention.
+
+&gt;&gt;<i>
+</I>&gt;&gt;<i> #--------------------------------------------------------------------
+</I>&gt;&gt;<i> %package -n %libname
+</I>&gt;&gt;<i> Summary: Libraries injected by VirtualGL into applications that are ran through it
+</I>&gt;&gt;<i> Group: System/Libraries
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %description -n %libname
+</I>&gt;&gt;<i> Libraries injected by VirtualGL into applications that are ran throught it.
+</I>&gt;&gt;<i> Lib package allow installing 32 and 64 bits libraries at the same time.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %files -n %libname
+</I>&gt;&gt;<i> %dir %{_libdir}/fakelib/
+</I>&gt;&gt;<i> %{_libdir}/fakelib/libGL.so
+</I>&gt;&gt;<i> %{_libdir}/librrfaker.so
+</I>&gt;&gt;<i> %{_libdir}/libdlfaker.so
+</I>&gt;&gt;<i> %{_libdir}/libgefaker.so
+</I>&gt;<i>
+</I>&gt;<i> This will need %_provides_exceptions or %_exclude_files_from_autoprov so
+</I>&gt;<i> that devel(GL) won't be provided. This would confuse the -devel
+</I>&gt;<i> dependencies of the distribution, and libvirtualgl could sometimes be
+</I>&gt;<i> installed when libmesagl-devel is intended.
+</I>&gt;<i>
+</I>&gt;&gt;<i> #--------------------------------------------------------------------
+</I>&gt;&gt;<i> %package devel
+</I>&gt;&gt;<i> Summary: &#160; &#160; &#160;A toolkit for displaying OpenGL applications to thin clients
+</I>&gt;&gt;<i> Group: &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160;Networking/Other
+</I>&gt;&gt;<i> Requires: &#160; &#160; %{libname} &gt;= %{version}
+</I>&gt;<i>
+</I>&gt;<i> Should be '=' AFAICS.
+</I>&gt;<i>
+</I>&gt;&gt;<i> %description devel
+</I>&gt;&gt;<i> VirtualGL is a library which allows most Linux OpenGL applications to be
+</I>&gt;&gt;<i> remotely displayed to a thin client without the need to alter the
+</I>&gt;&gt;<i> applications in any way. &#160;VGL inserts itself into an application at run
+</I>&gt;&gt;<i> time and intercepts a handful of GLX calls, which it reroutes to the
+</I>&gt;&gt;<i> server's display (which presumably has a 3D accelerator attached). This
+</I>&gt;&gt;<i> causes all 3D rendering to occur on the server's display. &#160;As each frame
+</I>&gt;&gt;<i> is rendered by the server, VirtualGL reads back the pixels from the
+</I>&gt;&gt;<i> server's framebuffer and sends them to the client for re-compositing into
+</I>&gt;&gt;<i> the appropriate X Window. VirtualGL can be used to give hardware-
+</I>&gt;&gt;<i> -accelerated 3D capabilities to VNC or other remote display environments
+</I>&gt;&gt;<i> that lack GLX support. &#160;In a LAN environment, it can also be used with
+</I>&gt;&gt;<i> its built-in motion-JPEG video delivery system to remotely display
+</I>&gt;&gt;<i> full-screen 3D applications at 20+ frames/second.
+</I>&gt;&gt;<i> VirtualGL is based upon ideas presented in various academic papers on
+</I>&gt;&gt;<i> this topic, including &quot;A Generic Solution for Hardware-Accelerated Remote
+</I>&gt;&gt;<i> Visualization&quot; (Stegmaier, Magallon, Ertl 2002) and &quot;A Framework for
+</I>&gt;&gt;<i> Interactive Hardware Accelerated Remote 3D-Visualization&quot; (Engel, Sommer,
+</I>&gt;&gt;<i> Ertl 2000.)
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %files devel
+</I>&gt;&gt;<i> %{_includedir}/rrtransport.h
+</I>&gt;&gt;<i> %{_includedir}/rr.h
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> #--------------------------------------------------------------------
+</I>&gt;&gt;<i> %prep
+</I>&gt;&gt;<i> %setup -qn %{oname}-%{version}
+</I>&gt;&gt;<i> %patch0 -p1
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %build
+</I>&gt;&gt;<i> cmake -G &quot;Unix Makefiles&quot; \
+</I>&gt;&gt;<i> &#160; &#160; -DCMAKE_INSTALL_LIBDIR:PATH=%{_libdir} \
+</I>&gt;&gt;<i> &#160; &#160; -DCMAKE_INSTALL_PREFIX=%{_prefix} \
+</I>&gt;&gt;<i> &#160; &#160; -DVGL_DOCDIR=%{_defaultdocdir}/%{name} \
+</I>&gt;&gt;<i> &#160; &#160; -DVGL_LIBDIR=%{_libdir} \
+</I>&gt;&gt;<i> &#160; &#160; -DTJPEG_INCLUDE_DIR=%{_includedir} \
+</I>&gt;&gt;<i> &#160; &#160; -DTJPEG_LIBRARY=%{_libdir}/libturbojpeg.so
+</I>&gt;<i>
+</I>&gt;<i> Should use %cmake.
+</I>
+In this case that is not possible, i did tried %cmake but fails.
+
+&gt;&gt;<i> %make
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %install
+</I>&gt;&gt;<i> rm -rf %{buildroot}
+</I>&gt;&gt;<i> %makeinstall_std
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> rm -rf %{buildroot}%{_prefix}/fakelib
+</I>&gt;&gt;<i> mkdir -p %{buildroot}%{_libdir}/fakelib
+</I>&gt;&gt;<i> ln -sf ../librrfaker.so %{buildroot}%{_libdir}/fakelib/libGL.so
+</I>&gt;&gt;<i> mv -f %{buildroot}%{_bindir}/glxinfo %{buildroot}%{_bindir}/glxinfo2
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> %changelog
+</I>&gt;&gt;<i> * Mon Mar 19 2012 Simple &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">simplew8 at gmail.com</A>&gt; 2.3-1
+</I>&gt;&gt;<i> - first package
+</I>&gt;&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i>
+</I>&gt;<i> --
+</I>&gt;<i> Anssi Hannula
+</I></PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="014102.html">[Mageia-dev] bumblebee in mageia (and mentoring)
+</A></li>
+ <LI>Next message: <A HREF="014104.html">[Mageia-dev] bumblebee in mageia (and mentoring)
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#14103">[ date ]</a>
+ <a href="thread.html#14103">[ thread ]</a>
+ <a href="subject.html#14103">[ subject ]</a>
+ <a href="author.html#14103">[ 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>