Hello community,

here is the log from the commit of package rss-glx for openSUSE:Factory
checked in at Fri Sep 23 10:34:04 CEST 2011.



--------
--- rss-glx/rss-glx.changes     2010-06-24 23:13:38.000000000 +0200
+++ /mounts/work_src_done/STABLE/rss-glx/rss-glx.changes        2011-09-22 
22:01:29.000000000 +0200
@@ -1,0 +2,11 @@
+Thu Sep 22 20:01:16 UTC 2011 - [email protected]
+
+- cleanup spec file
+
+-------------------------------------------------------------------
+Fri Sep  2 20:29:06 UTC 2011 - [email protected]
+
+- Fix build with no-add-needed, just by not using static linking
+- Fix lack of optflags due to broken configure script
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  rss-glx-optflags.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ rss-glx.spec ++++++
--- /var/tmp/diff_new_pack.rydNWz/_old  2011-09-23 10:34:00.000000000 +0200
+++ /var/tmp/diff_new_pack.rydNWz/_new  2011-09-23 10:34:00.000000000 +0200
@@ -1,7 +1,7 @@
 #
-# spec file for package rss-glx (Version 0.9.1)
+# spec file for package rss-glx
 #
-# Copyright (c) 2010 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
 # Copyright (c) 2009 Stephan Kulow
 # Copyright (c) 2010 Pascal Bleser
 #
@@ -18,42 +18,61 @@
 #
 
 
-%{!?_kde4_servicesdir: %global _kde4_servicesdir %(kde4-config --install 
services || echo KDE4-CONFIG-NOT-INSTALLED)}
 
 Name:           rss-glx
 Version:        0.9.1
 Release:        1
 License:        GPL
-BuildRoot:      %{_tmppath}/%{name}-%{version}-build
-Group:          Amusements/Toys/Screensavers
-BuildRequires:  ImageMagick-devel Mesa-devel gcc-c++ kdelibs4-core 
openal-devel pkgconfig update-desktop-files xorg-x11-devel xscreensaver
-Source0:        
http://prdownloads.sourceforge.net/rss-glx/rss-glx_%{version}.tar.bz2
 Summary:        Really Slick Screensavers Port to GLX
 Url:            http://rss-glx.sourceforge.net/
+Group:          Amusements/Toys/Screensavers
+Source0:        
http://prdownloads.sourceforge.net/rss-glx/rss-glx_%{version}.tar.bz2
+# PATCH-FIX-OPENSUSE
+Patch0:         rss-glx-optflags.patch
+BuildRequires:  Mesa-devel
+BuildRequires:  gcc-c++
+BuildRequires:  kde4-filesystem
+BuildRequires:  openal-devel
+BuildRequires:  pkgconfig
+BuildRequires:  update-desktop-files
+BuildRequires:  xorg-x11-devel
+BuildRequires:  xscreensaver
+BuildRequires:  pkgconfig(ImageMagick)
+BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
 Cool collection of 3D screensavers. Linux port of Really Slick Screensavers
 
 %prep
 %setup0 -n %{name}_%{version}
+%patch0
 
 %build
-%configure --with-configdir=/etc/xscreensaver 
--with-kdessconfigdir="%{_kde4_servicesdir}/ScreenSavers"
-%{__make} %{?jobs:-j%jobs}
+autoreconf -fiv
+%configure --disable-static --enable-shared --with-pic \
+           --with-configdir=/etc/xscreensaver 
--with-kdessconfigdir="%{_kde4_servicesdir}/ScreenSavers"
+make %{?_smp_mflags}
 
 %install
-make DESTDIR=$RPM_BUILD_ROOT install
+%make_install
 %kde_post_install
-%__rm -rf "$RPM_BUILD_ROOT/%_libdir"
+find %{buildroot} -name "*.la" -type f -print -delete
+#no -devel files here..
+rm -rvf %{buildroot}%{_libdir}/*.so
 
 %clean
-%{?buildroot:%__rm -rf "%{buildroot}"}
+%{?buildroot:rm -rf %{buildroot}}
+
+%post -p /sbin/ldconfig
+
+%postun -p /sbin/ldconfig
 
 %files
 %defattr(-,root,root)
-%_mandir/*/*%{ext_man}
-%_bindir/*
-%config /etc/xscreensaver/*
+%{_mandir}/*/*%{ext_man}
+%{_bindir}/*
+%{_libdir}/lib*
+%config %{_sysconfdir}/xscreensaver/*
 %_kde4_servicesdir/ScreenSavers
 
 %changelog

++++++ rss-glx-optflags.patch ++++++
--- configure.in.orig
+++ configure.in
@@ -11,9 +11,6 @@ AM_PROG_CC_C_O
 AC_PROG_CC_C99
 AC_C_BIGENDIAN
 
-if test "x$GCC" = xyes; then
-       CFLAGS="-O2"
-fi
 AC_ARG_ENABLE([debug], [AC_HELP_STRING([--enable-debug],
     [build with debugging information default=no])],
     [test "$enableval" = "yes" && CFLAGS="-g"])
@@ -23,9 +20,6 @@ fi
 
 AC_PROG_CXX
 
-if test "x$GXX" = xyes; then
-       CXXFLAGS="-O2"
-fi
 AC_ARG_ENABLE([debug], [AC_HELP_STRING([--enable-debug],
     [build with debugging information default=no])],
     [test "$enableval" = "yes" && CXXFLAGS="-g"])

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to