<div dir="ltr">I don't get it, can or cannot we use the SDL2 family libraries on our games? My game was rejected for requiring the shared libraries.<div><br></div><div>I then according to the FAQ added them to the /usr/share/<HARBOUR_APP_NAME>/lib, updated the makefile to find them using rpath and built my game, also used the macros related to excluding installed libraries.</div>

<div><br></div><div>Before uploading the changes I tried the rpmvalidation.sh and now I get that my package cannot require shared libraries such as SDL2* freetype, glib and others, also that private libraries are shipped with the package.</div>

<div><br></div><div>I don't get it am I missing something?</div><div><br></div><div><br></div><div><br></div><div>my harbour-farwest.spec file:</div><div><br></div><div><br></div><div><pre style="margin-top:0px;margin-bottom:0px">

Name:<span style="color:rgb(192,192,192)">       </span>harbour-farwest</pre>
<pre style="margin-top:0px;margin-bottom:0px">Summary:<span style="color:rgb(192,192,192)">    </span>A<span style="color:rgb(192,192,192)"> </span>video<span style="color:rgb(192,192,192)"> </span>slot<span style="color:rgb(192,192,192)"> </span>game<span style="color:rgb(192,192,192)"> </span>with<span style="color:rgb(192,192,192)"> </span>the<span style="color:rgb(192,192,192)"> </span>wild<span style="color:rgb(192,192,192)"> </span>west<span style="color:rgb(192,192,192)"> </span>theme</pre>


<pre style="margin-top:0px;margin-bottom:0px">Version:<span style="color:rgb(192,192,192)">    </span>1.0.1</pre>
<pre style="margin-top:0px;margin-bottom:0px">Release:<span style="color:rgb(192,192,192)">    </span>2</pre>
<pre style="margin-top:0px;margin-bottom:0px">Group:<span style="color:rgb(192,192,192)">      </span>Games</pre>
<pre style="margin-top:0px;margin-bottom:0px">License:<span style="color:rgb(192,192,192)">    </span>Proprietary</pre>
<pre style="margin-top:0px;margin-bottom:0px">URL:<span style="color:rgb(192,192,192)">        </span><a href="http://7cecdab4.blogspot.gr/2014/01/farwest.html">http://7cecdab4.blogspot.gr/2014/01/farwest.html</a></pre>
<pre style="margin-top:0px;margin-bottom:0px">Source:<span style="color:rgb(192,192,192)">     </span>%{name}-%{version}.tar.bz2</pre>
<pre style="margin-top:0px;margin-bottom:0px"><br></pre>
<pre style="margin-top:0px;margin-bottom:0px">BuildRequires:<span style="color:rgb(192,192,192)"> </span>pkgconfig(sdl2)</pre>
<pre style="margin-top:0px;margin-bottom:0px">BuildRequires:<span style="color:rgb(192,192,192)"> </span>pkgconfig(egl)</pre>
<pre style="margin-top:0px;margin-bottom:0px">BuildRequires:<span style="color:rgb(192,192,192)"> </span>pkgconfig(glesv1_cm)</pre>
<pre style="margin-top:0px;margin-bottom:0px">BuildRequires:<span style="color:rgb(192,192,192)"> </span>pkgconfig(glesv2)</pre>
<pre style="margin-top:0px;margin-bottom:0px">BuildRequires:<span style="color:rgb(192,192,192)"> </span>pkgconfig(SDL2_image)</pre>
<pre style="margin-top:0px;margin-bottom:0px">BuildRequires:<span style="color:rgb(192,192,192)"> </span>pkgconfig(SDL2_ttf)</pre>
<pre style="margin-top:0px;margin-bottom:0px">BuildRequires:<span style="color:rgb(192,192,192)"> </span>pkgconfig(SDL2_mixer)</pre>
<pre style="margin-top:0px;margin-bottom:0px">#<span style="color:rgb(192,192,192)"> </span>for<span style="color:rgb(192,192,192)"> </span>playing<span style="color:rgb(192,192,192)"> </span>sound</pre>
<pre style="margin-top:0px;margin-bottom:0px">BuildRequires:<span style="color:rgb(192,192,192)"> </span>pkgconfig(audioresource)</pre>
<pre style="margin-top:0px;margin-bottom:0px">BuildRequires:<span style="color:rgb(192,192,192)"> </span>pkgconfig(glib-2.0)</pre>
<pre style="margin-top:0px;margin-bottom:0px">#<span style="color:rgb(192,192,192)"> </span>for<span style="color:rgb(192,192,192)"> </span>playing<span style="color:rgb(192,192,192)"> </span>sound</pre>
<pre style="margin-top:0px;margin-bottom:0px"><br></pre>
<pre style="margin-top:0px;margin-bottom:0px">%description</pre>
<pre style="margin-top:0px;margin-bottom:0px">A<span style="color:rgb(192,192,192)"> </span>video<span style="color:rgb(192,192,192)"> </span>slot<span style="color:rgb(192,192,192)"> </span>game<span style="color:rgb(192,192,192)"> </span>with<span style="color:rgb(192,192,192)"> </span>the<span style="color:rgb(192,192,192)"> </span>wild<span style="color:rgb(192,192,192)"> </span>west<span style="color:rgb(192,192,192)"> </span>theme</pre>


<pre style="margin-top:0px;margin-bottom:0px"><br></pre>
<pre style="margin-top:0px;margin-bottom:0px">%prep</pre>
<pre style="margin-top:0px;margin-bottom:0px">%setup<span style="color:rgb(192,192,192)"> </span>-q<span style="color:rgb(192,192,192)"> </span>-n<span style="color:rgb(192,192,192)"> </span>%{name}-%{version}</pre>
<pre style="margin-top:0px;margin-bottom:0px"><br></pre>
<pre style="margin-top:0px;margin-bottom:0px">#<span style="color:rgb(192,192,192)"> </span>>><span style="color:rgb(192,192,192)"> </span>macros</pre>
<pre style="margin-top:0px;margin-bottom:0px">#<span style="color:rgb(192,192,192)"> </span>list<span style="color:rgb(192,192,192)"> </span>here<span style="color:rgb(192,192,192)"> </span>all<span style="color:rgb(192,192,192)"> </span>the<span style="color:rgb(192,192,192)"> </span>libraries<span style="color:rgb(192,192,192)"> </span>your<span style="color:rgb(192,192,192)"> </span>RPM<span style="color:rgb(192,192,192)"> </span>installs</pre>


<pre style="margin-top:0px;margin-bottom:0px">%define<span style="color:rgb(192,192,192)"> </span>__requires_exclude<span style="color:rgb(192,192,192)"> </span>^libSDL2*$</pre>
<pre style="margin-top:0px;margin-bottom:0px">#<span style="color:rgb(192,192,192)"> </span><<<span style="color:rgb(192,192,192)"> </span>macros</pre>
<pre style="margin-top:0px;margin-bottom:0px"><br></pre>
<pre style="margin-top:0px;margin-bottom:0px">%build</pre>
<pre style="margin-top:0px;margin-bottom:0px">#<span style="color:rgb(192,192,192)"> </span>Command<span style="color:rgb(192,192,192)"> </span>used<span style="color:rgb(192,192,192)"> </span>to<span style="color:rgb(192,192,192)"> </span>compile<span style="color:rgb(192,192,192)"> </span>the<span style="color:rgb(192,192,192)"> </span>application</pre>


<pre style="margin-top:0px;margin-bottom:0px">make</pre>
<pre style="margin-top:0px;margin-bottom:0px"><br></pre>
<pre style="margin-top:0px;margin-bottom:0px">%install</pre>
<pre style="margin-top:0px;margin-bottom:0px">rm<span style="color:rgb(192,192,192)"> </span>-rf<span style="color:rgb(192,192,192)"> </span>%{buildroot}</pre>
<pre style="margin-top:0px;margin-bottom:0px">#<span style="color:rgb(192,192,192)"> </span>Command<span style="color:rgb(192,192,192)"> </span>used<span style="color:rgb(192,192,192)"> </span>to<span style="color:rgb(192,192,192)"> </span>install<span style="color:rgb(192,192,192)"> </span>files<span style="color:rgb(192,192,192)"> </span>into<span style="color:rgb(192,192,192)"> </span>%{buildroot}</pre>


<pre style="margin-top:0px;margin-bottom:0px">%make_install</pre>
<pre style="margin-top:0px;margin-bottom:0px"><br></pre>
<pre style="margin-top:0px;margin-bottom:0px">%files</pre>
<pre style="margin-top:0px;margin-bottom:0px">%defattr(-,root,root,-)</pre>
<pre style="margin-top:0px;margin-bottom:0px">%{_bindir}/%{name}</pre>
<pre style="margin-top:0px;margin-bottom:0px">%{_datadir}/%{name}</pre>
<pre style="margin-top:0px;margin-bottom:0px">%{_datadir}/applications/%{name}.desktop</pre>
<pre style="margin-top:0px;margin-bottom:0px">%{_datadir}/icons/hicolor/86x86/apps/%{name}.png</pre>
<pre style="margin-top:0px;margin-bottom:0px"><br></pre></div></div>