2007-06-04 Thomas Wagner <[email protected]>
authortom68
Mon, 04 Jun 2007 22:03:35 +0000
changeset 296 bbd43d46c31e
parent 295 abe3830589d1
child 297 6103af72f4cd
2007-06-04 Thomas Wagner <[email protected]> * SFEmpd.spec: bump to 0.13.0, re- --enable-flac --enable-oggflac mpd now compiles with newer flac versions (new feature) --enable-shout for streaming:t "the net is the music" if SFEavahi is present, mpd resources will be announced with zeroconf/avahi/mDNS broadcasts patch3: make id3_charset in mpdconf.example default to UTF-8 * SFEavahi.spec: (new) implemetation of service discovery in local LAN (see Rendezvous/Bonjour/Zeroconf and ... nwam in the future) * SFElibdaemon.spec: (new) library for building daemons (for avahi) * SFEgmpc.spec: (new feature) AVAHI zeroconf support (new feature) icecast/shout stream to local client (needs: ogg123) bump to 0.15.0, set compiler to gcc * SFEgmpc-(lyrics|serverstats|coveramazon|autoplaylist|qosd|stopbutton|lastfm|magnatune|osd|mdcover).spec bump to 0.15.0, set compiler to gcc * SFElibmpd.spec: bump to 0.14.0 temporary patch libmpd-01-libmpdclient-include-limits.h.diff * SFExosd.spec: set compiler to gcc * SFEgtodo2.spec: (new) GNOME todo list with priorities and due date * SFEcurl.spec: bump to 7.16.2, --disable-static * SFExchat.spec: bump to 2.8.2 /usr/bin/msgfmt errors, use /opt/sfw/bin/msgfmt reworked patch for 2.8.2 * SFEicecast.spec: (new) stream musik over http to the LAN/WAN network * SFElibshout.spec: (new) Support Library for icecast audio streaming * SFEpulseaudio.spec: (new) first shot. * SFElibsamplerate.spec: (new) samplerate conversion for pulseaudio * SFEpavumeter.spec: (new) volume meter * SFEfont-terminus.spec: (new) nice readably font * SFElynx.spec: bump to 2.8.6, new download-URL since not in /current/-diry
ChangeLog
SFEavahi.spec
SFEcurl.spec
SFEfont-terminus.spec
SFEgmpc-plugin-autoplaylist.spec
SFEgmpc-plugin-coveramazon.spec
SFEgmpc-plugin-lastfm.spec
SFEgmpc-plugin-lyrics.spec
SFEgmpc-plugin-magnatune.spec
SFEgmpc-plugin-mdcover.spec
SFEgmpc-plugin-osd.spec
SFEgmpc-plugin-qosd.spec
SFEgmpc-plugin-serverstats.spec
SFEgmpc-plugin-stopbutton.spec
SFEgmpc.spec
SFEgtodo2.spec
SFEicecast.spec
SFElibdaemon.spec
SFElibmpd.spec
SFElibsamplerate.spec
SFElibshout.spec
SFElynx.spec
SFEmpd.spec
SFEpavumeter.spec
SFEpulseaudio.spec
SFExchat.spec
SFExosd.spec
patches/avahi-01-avahi-utils_stdb.c-prototype.diff
patches/icecast-01-CURLOPT_PASSWDFUNCTION.diff
patches/libmpd-01-libmpdclient-include-limits.h.diff
patches/mpd-03-id3-tags-UTF-8-mpdconf.example.diff
patches/terminus-font-01-x11dir.diff
patches/xchat-01-gettext.diff
--- a/ChangeLog	Sun Jun 03 12:32:51 2007 +0000
+++ b/ChangeLog	Mon Jun 04 22:03:35 2007 +0000
@@ -1,3 +1,48 @@
+2007-06-04  Thomas Wagner <[email protected]>
+
+        * SFEmpd.spec: bump to 0.13.0, re- --enable-flac --enable-oggflac
+                       mpd now compiles with newer flac versions
+                       (new feature) --enable-shout for streaming:t
+                       "the net is the music"
+                       if SFEavahi is present, mpd resources will
+                       be announced with zeroconf/avahi/mDNS broadcasts
+                       patch3: make id3_charset in mpdconf.example
+                       default to UTF-8
+
+        * SFEavahi.spec: (new) implemetation of service discovery in
+                       local LAN (see Rendezvous/Bonjour/Zeroconf and ...
+                       nwam in the future)
+        * SFElibdaemon.spec: (new) library for building daemons (for avahi)
+
+        * SFEgmpc.spec: (new feature) AVAHI zeroconf support
+                        (new feature) icecast/shout stream to local client (needs: ogg123)
+                        bump to 0.15.0, set compiler to gcc
+        * SFEgmpc-(lyrics|serverstats|coveramazon|autoplaylist|qosd|stopbutton|lastfm|magnatune|osd|mdcover).spec
+                        bump to 0.15.0, set compiler to gcc
+        * SFElibmpd.spec: bump to 0.14.0
+                        temporary patch libmpd-01-libmpdclient-include-limits.h.diff
+
+        * SFExosd.spec: set compiler to gcc
+
+        * SFEgtodo2.spec: (new) GNOME todo list with priorities and due date
+
+        * SFEcurl.spec: bump to 7.16.2, --disable-static
+
+        * SFExchat.spec: bump to 2.8.2
+                         /usr/bin/msgfmt errors, use /opt/sfw/bin/msgfmt
+                         reworked patch for 2.8.2
+
+        * SFEicecast.spec: (new) stream musik over http to the LAN/WAN network
+        * SFElibshout.spec: (new) Support Library for icecast audio streaming
+
+        * SFEpulseaudio.spec: (new) first shot.
+        * SFElibsamplerate.spec: (new) samplerate conversion for pulseaudio
+        * SFEpavumeter.spec: (new) volume meter
+
+        * SFEfont-terminus.spec: (new) nice readably font
+
+        * SFElynx.spec: bump to 2.8.6, new download-URL since not in /current/-diry
+
 2007-06-03  Dick Hoogendijk
 
 	* SFEtcl.spec: corrected the location of the mann directory
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFEavahi.spec	Mon Jun 04 22:03:35 2007 +0000
@@ -0,0 +1,162 @@
+
+#
+# Copyright (c) 2006 Sun Microsystems, Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+
+# NOTE: adds user "avahi" and group "avahi" - create before install, if you want
+#       specific numeric UID/GID.
+
+%include Solaris.inc
+
+Name:                SFEavahi
+Summary:             Avahi
+Version:             0.6.19
+Source:	    	     http://avahi.org/download/avahi-%{version}.tar.gz
+Patch1:              avahi-01-avahi-utils_stdb.c-prototype.diff
+
+SUNW_BaseDir:        %{_basedir}
+BuildRoot:           %{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+
+
+BuildRequires: SFElibdaemon-devel
+BuildRequires: SUNWdbus-devel
+#TODO#BuildRequires: SFEdoxygen.spec
+Requires: SUNWpostrun
+Requires: SFElibdaemon
+Requires: SUNWdbus
+Requires: SUNWlexpt
+
+
+%package devel
+Summary:                 %{summary} - development files
+SUNW_BaseDir:            %{_basedir}
+%include default-depend.inc
+Requires: %name
+
+
+%package root
+Summary:                 %{summary} - / filesystem
+SUNW_BaseDir:            /
+%include default-depend.inc
+#test#Requires: SUNWpostrun
+
+
+%prep
+%setup -q -n avahi-%version
+%patch1 -p1
+
+
+%build
+
+CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
+if test "x$CPUS" = "x" -o $CPUS = 0; then
+     CPUS=1
+fi
+
+export CFLAGS="-I/usr/sfw/include -L/usr/sfw/lib -I/opt/sfw/include -L/opt/sfw/lib"
+export CFLAGS="$CFLAGS -D_XOPEN_SOURCE=500 -D__EXTENSIONS__"
+
+export LDFLAGS="%{_ldflags} -lsocket -lnsl -L/usr/sfw/lib -R/usr/sfw/lib"
+
+./configure --prefix=%{_prefix}  \
+            --mandir=%{_mandir} \
+	    --localstatedir=%{_localstatedir} \
+	    --sysconfdir=%{_sysconfdir} \
+            --enable-dbus \
+            --disable-qt3 \
+            --disable-qt4 \
+            --disable-gdbm \
+            --enable-dbm \
+            --disable-autoipd \
+            --disable-mono\
+            --with-distro=none \
+            --disable-static
+
+            
+
+make -j$CPUS 
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+rm -rf $RPM_BUILD_ROOT/usr/lib/*.la
+
+make install DESTDIR=$RPM_BUILD_ROOT
+
+rm -rf $RPM_BUILD_ROOT/var
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/*
+%dir %attr (0755, root, bin) %{_sbindir}
+%{_sbindir}/*
+%dir %attr (0755, root, bin) %{_libdir}
+%{_libdir}/libavahi*
+%{_libdir}/python2.4/*
+%dir %attr (0755, root, other) %{_libdir}/pkgconfig
+%{_libdir}/pkgconfig/*
+%dir %attr (0755, root, sys) %{_datadir}
+%{_datadir}/avahi/*
+%dir %attr (0755, root, other) %{_datadir}/applications
+%{_datadir}/applications/*
+%dir %attr (0755, root, bin) %{_mandir}
+%dir %attr (0755, root, bin) %{_mandir}/man1
+%{_mandir}/man1/*
+%dir %attr (0755, root, bin) %{_mandir}/man5
+%{_mandir}/man5/*
+%dir %attr (0755, root, bin) %{_mandir}/man8
+%{_mandir}/man8/*
+
+%files devel
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_includedir}
+%{_includedir}/*
+
+%files root
+%defattr (-, root, bin)
+%attr (0755, root, sys) %dir %{_sysconfdir}
+%{_sysconfdir}/avahi/*
+%{_sysconfdir}/dbus-1/*
+
+
+#TODO# better error handling for (user|group)(add|del)
+
+%post root
+( echo 'PATH=/usr/bin:/usr/sbin; export PATH' ;
+  echo 'retval=0';
+  echo 'getent group avahi || groupadd avahi';
+  echo 'getent passwd avahi || useradd -d /tmp -g avahi avahi';
+  echo 'NOTE: restarting d-bus:';
+  echo 'svcadm restart system/dbus';
+  echo 'exit $retval' ) | $PKG_INSTALL_ROOT/usr/lib/postrun -b -c SFE
+
+%preun root
+( echo 'PATH=/usr/bin:/usr/sbin; export PATH' ;
+  echo 'getent passwd avahi && userdel avahi';
+  echo 'getent group avahi && groupdel avahi';
+  echo 'exit 0' ) | $PKG_INSTALL_ROOT/usr/lib/postrun -b -c SFE
+
+
+%changelog
+* Mon Jun  4 2007 - Thomas Wagner
+- NOTE: this spec is provided, just to get an idea of what 
+  project nwam would do officially:
+  http://opensolaris.org/os/project/nwam/service-discovery
+- new postinstall: useradd avahi, groupadd avahi (create yourself
+  before install, if you need a specific number for UID/GID !)
+  svcadm restart system/dbus is done by postinstall-script too
+  new postremove: groupdel avahi, userdel avahi
+- NOTE: start avahi-daemon -D  yourself (no SMF integration)
+* Mon May 28 2007 - Thomas Wagner
+- bump to 0.6.19
+* 20070405 Thomas Wagner
+- refine spec
+* 20070130 Thomas Wagner
+- Initial spec and lots of fun
+
--- a/SFEcurl.spec	Sun Jun 03 12:32:51 2007 +0000
+++ b/SFEcurl.spec	Mon Jun 04 22:03:35 2007 +0000
@@ -8,7 +8,7 @@
 
 Name:                    SFEcurl
 Summary:                 curl - Get a file from FTP or HTTP server.
-Version:                 7.16.1
+Version:                 7.16.2
 Source:			 http://curl.haxx.se/download/curl-%{version}.tar.gz
 SUNW_BaseDir:            %{_basedir}
 BuildRoot:               %{_tmppath}/%{name}-%{version}-build
@@ -42,7 +42,8 @@
 	    --bindir=%{_bindir}			\
 	    --includedir=%{_includedir}		\
 	    --mandir=%{_mandir}			\
-            --libdir=%{_libdir}
+            --libdir=%{_libdir}                 \
+            --disable-static
 
 make -j$CPUS 
 
@@ -84,6 +85,9 @@
 %{_mandir}/man3/*
 
 %changelog
+* Mon May 28 2007 - Thomas Wagner
+- bump to 7.16.2
+- --disable-static
 * Thu Feb 15 2007 - [email protected]
 - bump to 7.16.1
 * Wed Jan  3 2007 - [email protected]
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFEfont-terminus.spec	Mon Jun 04 22:03:35 2007 +0000
@@ -0,0 +1,75 @@
+#
+# spec file for package SFEfont-terminus
+#
+
+%include Solaris.inc
+Name:                    SFEfont-terminus
+Summary:                 terminus - font terminus
+URL:                     http://www.is-vn.bg/hamster
+Version:                 4.20
+Source:                  http://www.is-vn.bg/hamster/terminus-font-%{version}.tar.gz
+Patch1:                  terminus-font-01-x11dir.diff
+
+
+SUNW_BaseDir:            %{_basedir}
+BuildRoot:               %{_tmppath}/%{name}-%{version}-build
+
+
+%include default-depend.inc
+
+
+
+%prep
+%setup -q -n terminus-font-%version
+%patch1 -p1
+
+%build
+
+# CXXFLAGS='-library=stlport4')
+
+PATH=$PATH:/usr/openwin/bin
+
+./configure --prefix=%{_prefix}  \
+            --x11dir=%{_prefix}/openwin/lib/X11/fonts/pcf
+
+#make psf
+#make txt
+#make raw
+make pcf
+
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+
+make install DESTDIR=$RPM_BUILD_ROOT
+
+#make install-acm DESTDIR=$RPM_BUILD_ROOT
+#make install-psf DESTDIR=$RPM_BUILD_ROOT
+#make install-uni DESTDIR=$RPM_BUILD_ROOT
+#make install-ref DESTDIR=$RPM_BUILD_ROOT
+#make install.raw DESTDIR=$RPM_BUILD_ROOT
+#make install-raw DESTDIR=$RPM_BUILD_ROOT
+make install-pcf DESTDIR=$RPM_BUILD_ROOT
+#make install-12b DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+### TODO: post-intall-script with cd /usr/openwin/lib/X11/fonts/pcf; mkfontdir `pwd`
+###make fontdir 
+
+
+%files
+%defattr(-, root, bin)
+%doc README ChangeLog CREDITS COPYING INSTALL NEWS AUTHORS TODO ABOUT-NLS
+%dir %attr (0755, root, bin) %{_basedir}/openwin/lib/X11/fonts/pcf
+%{_basedir}/openwin/lib/X11/fonts/pcf/*
+%dir %attr (0755, root, sys) %{_datadir}
+%{_datadir}/*
+
+
+%changelog
+* Sat May 12 2007  - Thomas Wagner
+- Initial spec
--- a/SFEgmpc-plugin-autoplaylist.spec	Sun Jun 03 12:32:51 2007 +0000
+++ b/SFEgmpc-plugin-autoplaylist.spec	Mon Jun 04 22:03:35 2007 +0000
@@ -8,8 +8,8 @@
 Name:                    SFEgmpc-plugin-autoplaylist
 Summary:                 gmpc-autoplaylist - auto-generate playlists by rulesets  - plugin for gmpc
 URL:                     http://sarine.nl/gmpc-plugins-autoplaylist
-Version:                 0.14.0
-%define gmpc_version 0.14.0
+Version:                 0.15.0
+%define gmpc_version 0.15.0
 Source:                  http://download.sarine.nl/gmpc-%{gmpc_version}/plugins/gmpc-autoplaylist-%{version}.tar.gz
 
 
@@ -30,7 +30,7 @@
 export CC=/usr/sfw/bin/gcc
 export CXX=/usr/sfw/bin/g++
 
-./configure --prefix=%{_prefix}
+CC=/usr/sfw/bin/gcc CXX=/usr/sfw/bin/g++ ./configure --prefix=%{_prefix}
 
 make
 
@@ -53,5 +53,8 @@
 
 
 %changelog
+* Sat May 26 2007  - Thomas Wagner
+- bump to 0.15.0
+- set compiler to gcc
 * Thu Apr 06 2007  - Thomas Wagner
 - Initial spec
--- a/SFEgmpc-plugin-coveramazon.spec	Sun Jun 03 12:32:51 2007 +0000
+++ b/SFEgmpc-plugin-coveramazon.spec	Mon Jun 04 22:03:35 2007 +0000
@@ -8,8 +8,8 @@
 Name:                    SFEgmpc-plugin-coveramazon
 Summary:                 gmpc-coveramazon - fetch cover art and album informaiton from amazon - plugin for gmpc
 URL:                     http://sarine.nl/gmpc-plugins-coveramazon
-Version:                 0.14.0
-%define gmpc_version 0.14.0
+Version:                 0.15.0
+%define gmpc_version 0.15.0
 Source:                  http://download.sarine.nl/gmpc-%{gmpc_version}/plugins/gmpc-coveramazon-%{version}.tar.gz
 
 
@@ -30,7 +30,7 @@
 export CC=/usr/sfw/bin/gcc
 export CXX=/usr/sfw/bin/g++
 
-./configure --prefix=%{_prefix}
+CC=/usr/sfw/bin/gcc CXX=/usr/sfw/bin/g++ ./configure --prefix=%{_prefix}
 
 make
 
@@ -52,5 +52,8 @@
 
 
 %changelog
+* Sat May 26 2007  - Thomas Wagner
+- bump to 0.15.0
+- set compiler to gcc
 * Thu Apr 06 2007  - Thomas Wagner
 - Initial spec
--- a/SFEgmpc-plugin-lastfm.spec	Sun Jun 03 12:32:51 2007 +0000
+++ b/SFEgmpc-plugin-lastfm.spec	Mon Jun 04 22:03:35 2007 +0000
@@ -8,8 +8,8 @@
 Name:                    SFEgmpc-plugin-lastfm
 Summary:                 gmpc-lastfm - fetch artist images from last.fm  - plugin for gmpc
 URL:                     http://sarine.nl/gmpc-plugins-lastfm
-Version:                 0.14.0
-%define gmpc_version 0.14.0
+Version:                 0.15.0
+%define gmpc_version 0.15.0
 Source:                  http://download.sarine.nl/gmpc-%{gmpc_version}/plugins/gmpc-lastfm-%{version}.tar.gz
 
 
@@ -30,7 +30,7 @@
 export CC=/usr/sfw/bin/gcc
 export CXX=/usr/sfw/bin/g++
 
-./configure --prefix=%{_prefix}
+CC=/usr/sfw/bin/gcc CXX=/usr/sfw/bin/g++ ./configure --prefix=%{_prefix}
 
 make
 
@@ -52,5 +52,8 @@
 
 
 %changelog
+* Sat May 26 2007  - Thomas Wagner
+- bump to 0.15.0
+- set compiler to gcc
 * Thu Apr 06 2007  - Thomas Wagner
 - Initial spec
--- a/SFEgmpc-plugin-lyrics.spec	Sun Jun 03 12:32:51 2007 +0000
+++ b/SFEgmpc-plugin-lyrics.spec	Mon Jun 04 22:03:35 2007 +0000
@@ -8,8 +8,8 @@
 Name:                    SFEgmpc-plugin-lyrics
 Summary:                 gmpc-lyrics - fetch lyrics from the internet LyricWiki/LeosLyrics/Lyrics Tracker - plugin for gmpc
 URL:                     http://sarine.nl/gmpc-plugins-lyrics
-Version:                 0.14.0
-%define gmpc_version 0.14.0
+Version:                 0.15.0
+%define gmpc_version 0.15.0
 Source:                  http://download.sarine.nl/gmpc-%{gmpc_version}/plugins/gmpc-lyrics-%{version}.tar.gz
 
 
@@ -30,7 +30,7 @@
 export CC=/usr/sfw/bin/gcc
 export CXX=/usr/sfw/bin/g++
 
-./configure --prefix=%{_prefix}
+CC=/usr/sfw/bin/gcc CXX=/usr/sfw/bin/g++ ./configure --prefix=%{_prefix}
 
 make
 
@@ -52,5 +52,8 @@
 
 
 %changelog
+* Sat May 26 2007  - Thomas Wagner
+- bump to 0.15.0
+- set compiler to gcc
 * Thu Apr 06 2007  - Thomas Wagner
 - Initial spec
--- a/SFEgmpc-plugin-magnatune.spec	Sun Jun 03 12:32:51 2007 +0000
+++ b/SFEgmpc-plugin-magnatune.spec	Mon Jun 04 22:03:35 2007 +0000
@@ -8,8 +8,8 @@
 Name:                    SFEgmpc-plugin-magnatune
 Summary:                 gmpc-magnatune - browse and preview albums from www.magnatune.com and fetch cover art - plugin for gmpc
 URL:                     http://sarine.nl/gmpc-plugins-magnatune
-Version:                 0.14.0
-%define gmpc_version 0.14.0
+Version:                 0.15.0
+%define gmpc_version 0.15.0
 Source:                  http://download.sarine.nl/gmpc-%{gmpc_version}/plugins/gmpc-magnatune-%{version}.tar.gz
 
 
@@ -30,7 +30,7 @@
 export CC=/usr/sfw/bin/gcc
 export CXX=/usr/sfw/bin/g++
 
-./configure --prefix=%{_prefix}
+CC=/usr/sfw/bin/gcc CXX=/usr/sfw/bin/g++ ./configure --prefix=%{_prefix}
 
 make
 
@@ -53,5 +53,8 @@
 
 
 %changelog
+* Sat May 26 2007  - Thomas Wagner
+- bump to 0.15.0
+- set compiler to gcc
 * Thu Apr 06 2007  - Thomas Wagner
 - Initial spec
--- a/SFEgmpc-plugin-mdcover.spec	Sun Jun 03 12:32:51 2007 +0000
+++ b/SFEgmpc-plugin-mdcover.spec	Mon Jun 04 22:03:35 2007 +0000
@@ -8,8 +8,8 @@
 Name:                    SFEgmpc-plugin-mdcover
 Summary:                 gmpc-mdcover - fetch cover art, artist art, album and artist art from the file system - plugin for gmpc
 URL:                     http://sarine.nl/gmpc-plugins-mdcover
-Version:                 0.14.0
-%define gmpc_version 0.14.0
+Version:                 0.15.0
+%define gmpc_version 0.15.0
 Source:                  http://download.sarine.nl/gmpc-%{gmpc_version}/plugins/gmpc-mdcover-%{version}.tar.gz
 
 
@@ -30,7 +30,7 @@
 export CC=/usr/sfw/bin/gcc
 export CXX=/usr/sfw/bin/g++
 
-./configure --prefix=%{_prefix}
+CC=/usr/sfw/bin/gcc CXX=/usr/sfw/bin/g++ ./configure --prefix=%{_prefix}
 
 make
 
@@ -52,5 +52,8 @@
 
 
 %changelog
+* Sat May 26 2007  - Thomas Wagner
+- bump to 0.15.0
+- set compiler to gcc
 * Thu Apr 06 2007  - Thomas Wagner
 - Initial spec
--- a/SFEgmpc-plugin-osd.spec	Sun Jun 03 12:32:51 2007 +0000
+++ b/SFEgmpc-plugin-osd.spec	Mon Jun 04 22:03:35 2007 +0000
@@ -8,8 +8,8 @@
 Name:                    SFEgmpc-plugin-osd
 Summary:                 gmpc-plugin-osd - Xosd On Screen Display - plugin for gmpc
 URL:                     http://sarine.nl/xosd-on-screen-display
-Version:                 0.14.0
-%define gmpc_version 0.14.0
+Version:                 0.15.0
+%define gmpc_version 0.15.0
 Source:                  http://download.sarine.nl/gmpc-%{gmpc_version}/plugins/gmpc-osd-%{version}.tar.gz
 
 
@@ -33,7 +33,7 @@
 export CC=/usr/sfw/bin/gcc
 export CXX=/usr/sfw/bin/g++
 
-./configure --prefix=%{_prefix}
+CC=/usr/sfw/bin/gcc CXX=/usr/sfw/bin/g++ ./configure --prefix=%{_prefix}
 
 make
 
@@ -55,5 +55,8 @@
 
 
 %changelog
+* Sat May 26 2007  - Thomas Wagner
+- bump to 0.15.0
+- set compiler to gcc
 * Thu Apr 06 2007  - Thomas Wagner
 - Initial spec
--- a/SFEgmpc-plugin-qosd.spec	Sun Jun 03 12:32:51 2007 +0000
+++ b/SFEgmpc-plugin-qosd.spec	Mon Jun 04 22:03:35 2007 +0000
@@ -8,8 +8,8 @@
 Name:                    SFEgmpc-plugin-qosd
 Summary:                 gmpc-plugin-qosd - Q On Screen Display - plugin for gmpc - A gnome frontend for the mpd daemon
 URL:                     http://sarine.nl/q-on-screen-display
-Version:                 0.14.0
-%define gmpc_version 0.14.0
+Version:                 0.15.0
+%define gmpc_version 0.15.0
 Source:                  http://download.sarine.nl/gmpc-%{gmpc_version}/plugins/gmpc-qosd-%{version}.tar.gz
 
 
@@ -30,7 +30,7 @@
 export CC=/usr/sfw/bin/gcc
 export CXX=/usr/sfw/bin/g++
 
-./configure --prefix=%{_prefix}
+CC=/usr/sfw/bin/gcc CXX=/usr/sfw/bin/g++ ./configure --prefix=%{_prefix}
 
 make
 
@@ -52,5 +52,8 @@
 
 
 %changelog
+* Sat May 26 2007  - Thomas Wagner
+- bump to 0.15.0
+- set compiler to gcc
 * Thu Apr 06 2007  - Thomas Wagner
 - Initial spec
--- a/SFEgmpc-plugin-serverstats.spec	Sun Jun 03 12:32:51 2007 +0000
+++ b/SFEgmpc-plugin-serverstats.spec	Mon Jun 04 22:03:35 2007 +0000
@@ -8,8 +8,8 @@
 Name:                    SFEgmpc-plugin-serverstats
 Summary:                 gmpc-serverstats - server statistics and database details from mpd server  - plugin for gmpc
 URL:                     http://sarine.nl/gmpc-plugins-serverstats
-Version:                 0.14.0
-%define gmpc_version 0.14.0
+Version:                 0.15.0
+%define gmpc_version 0.15.0
 Source:                  http://download.sarine.nl/gmpc-%{gmpc_version}/plugins/gmpc-serverstats-%{version}.tar.gz
 
 
@@ -30,7 +30,7 @@
 export CC=/usr/sfw/bin/gcc
 export CXX=/usr/sfw/bin/g++
 
-./configure --prefix=%{_prefix}
+CC=/usr/sfw/bin/gcc CXX=/usr/sfw/bin/g++ ./configure --prefix=%{_prefix}
 
 make
 
@@ -53,5 +53,8 @@
 
 
 %changelog
+* Sat May 26 2007  - Thomas Wagner
+- bump to 0.15.0
+- set compiler to gcc
 * Thu Apr 06 2007  - Thomas Wagner
 - Initial spec
--- a/SFEgmpc-plugin-stopbutton.spec	Sun Jun 03 12:32:51 2007 +0000
+++ b/SFEgmpc-plugin-stopbutton.spec	Mon Jun 04 22:03:35 2007 +0000
@@ -8,8 +8,8 @@
 Name:                    SFEgmpc-plugin-stopbutton
 Summary:                 gmpc-stopbutton - adds stop button to main window - plugin for gmpc
 URL:                     http://sarine.nl/gmpc-plugins-stopbutton
-Version:                 0.14.0
-%define gmpc_version 0.14.0
+Version:                 0.15.0
+%define gmpc_version 0.15.0
 Source:                  http://download.sarine.nl/gmpc-%{gmpc_version}/plugins/gmpc-stopbutton-%{version}.tar.gz
 
 
@@ -30,7 +30,7 @@
 export CC=/usr/sfw/bin/gcc
 export CXX=/usr/sfw/bin/g++
 
-./configure --prefix=%{_prefix}
+CC=/usr/sfw/bin/gcc CXX=/usr/sfw/bin/g++ ./configure --prefix=%{_prefix}
 
 make
 
@@ -52,5 +52,8 @@
 
 
 %changelog
+* Sat May 26 2007  - Thomas Wagner
+- bump to 0.15.0
+- set compiler to gcc
 * Thu Apr 06 2007  - Thomas Wagner
 - Initial spec
--- a/SFEgmpc.spec	Sun Jun 03 12:32:51 2007 +0000
+++ b/SFEgmpc.spec	Mon Jun 04 22:03:35 2007 +0000
@@ -7,16 +7,18 @@
 Name:                    SFEgmpc
 Summary:                 gmpc - A gnome frontend for the mpd daemon
 URL:                     http://sarine.nl/gmpc/
-Version:                 0.14.0
-Source:                  http://download.sarine.nl/gmpc-0.14.0/gmpc-%{version}.tar.gz
+Version:                 0.15.0
+Source:                  http://download.sarine.nl/gmpc-0.15.0/gmpc-%{version}.tar.gz
 
 SUNW_BaseDir:            %{_basedir}
 BuildRoot:               %{_tmppath}/%{name}-%{version}-build
 
 BuildRequires:		 SFElibmpd-devel
 BuildRequires:		 SFEcurl-devel
+#test#BuildRequires:           SFEavahi-devel
 Requires:		 SFElibmpd
 Requires:		 SFEcurl
+#test#Requires:		       SFEavahi
 
 %include default-depend.inc
 
@@ -45,7 +47,7 @@
 export CXX=/usr/sfw/bin/g++
 
 #TODO: check --disable-sm 
-./configure --prefix=%{_prefix} \
+CC=/usr/sfw/bin/gcc CXX=/usr/sfw/bin/g++ ./configure --prefix=%{_prefix} \
             --disable-sm
 make
 
@@ -53,15 +55,6 @@
 rm -rf $RPM_BUILD_ROOT
 make install DESTDIR=$RPM_BUILD_ROOT
 
-%if %build_l10n
-#TODO check if needed  # Rename pl_PL dir to pl as pl_PL is a symlink to pl and causing installation
-#TODO check if needed  # problems as a dir.
-#TODO check if needed  cd $RPM_BUILD_ROOT%{_datadir}/locale
-#TODO check if needed  mv pl_PL pl
-%else
-# REMOVE l10n FILES
-rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
-%endif
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -99,5 +92,9 @@
 
 
 %changelog
+* Sat May 26 2007  - Thomas Wagner
+- bump to 0.15.0
+- set compiler to gcc
+- builds with Avahi, if present
 * Thu Apr 06 2007  - Thomas Wagner
 - Initial spec
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFEgtodo2.spec	Mon Jun 04 22:03:35 2007 +0000
@@ -0,0 +1,65 @@
+#
+# spec file for package SFEgtodo2
+#
+# use gcc to compile
+
+%include Solaris.inc
+Name:                    SFEgtodo2
+Summary:                 gtodo2 - A gnome Task-List-Manager
+URL:                     http://sarine.nl/gnome-task-list-manager
+Version:                 0.19.0
+#TODO#   remove -beta 
+Source:                  http://download.sarine.nl/gtodo2/gtodo2-%{version}-beta.tar.gz
+
+SUNW_BaseDir:            %{_basedir}
+BuildRoot:               %{_tmppath}/%{name}-%{version}-build
+
+
+%include default-depend.inc
+
+
+%prep
+%setup -q -n gtodo2-%version
+
+%build
+export LDFLAGS="-lX11"
+
+export CC=/usr/sfw/bin/gcc
+export CXX=/usr/sfw/bin/g++
+
+#TODO: check --disable-sm 
+CC=/usr/sfw/bin/gcc CXX=/usr/sfw/bin/g++ ./configure --prefix=%{_prefix} \
+            --disable-sm
+make
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
+%endif
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-, root, bin)
+%doc README ChangeLog CREDITS COPYING INSTALL NEWS AUTHORS TODO ABOUT-NLS
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/*
+%dir %attr (0755, root, sys) %{_datadir}
+%dir %attr (0755, root, other) %{_datadir}/gtodo2
+%{_datadir}/gtodo2/*
+
+
+%if %build_l10n
+%files l10n
+%defattr (-, root, bin)
+%dir %attr (0755, root, sys) %{_datadir}
+%attr (-, root, other) %{_datadir}/locale
+%endif
+
+
+%changelog
+* Wed May 30 2007  - Thomas Wagner
+- Initial spec
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFEicecast.spec	Mon Jun 04 22:03:35 2007 +0000
@@ -0,0 +1,95 @@
+#
+# spec file for package SFEicecast.spec
+#
+# includes module(s): icecast
+
+
+%include Solaris.inc
+
+%define src_name	icecast
+%define src_url		http://downloads.xiph.org/releases/icecast
+
+Name:                   SFEicecast
+Summary:                icecast, free server software for streaming multimedia
+Version:                2.3.1
+Source:                 %{src_url}/icecast-%{version}.tar.gz
+Patch1:                 icecast-01-CURLOPT_PASSWDFUNCTION.diff 
+SUNW_BaseDir:           /
+BuildRoot:              %{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+
+BuildRequires: SFEcurl-devel
+BuildRequires: SFWoggl
+BuildRequires: SUNWlibtheora-devel
+BuildRequires: SUNWlxml-devel
+BuildRequires: SUNWlxsl-devel
+BuildRequires: SUNWogg-vorbis-devel
+BuildRequires: SUNWopenssl-include
+BuildRequires: SUNWspeex-devel
+BuildRequires: SUNWzlib
+Requires: SFEcurl
+Requires: SFWoggl
+Requires: SUNWlibtheora
+Requires: SUNWlxml
+Requires: SUNWlxsl
+Requires: SUNWogg-vorbis
+Requires: SUNWopenssl-libraries
+Requires: SUNWspeex
+Requires: SUNWzlib
+
+
+%prep
+%setup -q -n %{src_name}-%{version}
+%patch1 -p1
+
+%build
+CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
+if test "x$CPUS" = "x" -o $CPUS = 0; then
+    CPUS=1
+fi
+
+
+./configure --prefix=/usr               \
+            --bindir=/usr/bin           \
+            --mandir=/usr/share/man     \
+            --libdir=/usr/lib           \
+            --datadir=/usr/share        \
+            --libexecdir=/usr/lib       \
+            --sysconfdir=/etc           \
+            --enable-shared             \
+            --disable-static            \
+            --with-vorbis=/usr  
+
+make -j$CPUS 
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+#TODO: doc-section should be cleaned up (2xdoc)
+%files
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/icecast
+%defattr (0755, root, sys)
+%attr (0755, root, sys) %dir %{_sysconfdir}
+%{_sysconfdir}/*
+%dir %attr (0755, root, sys) %{_datadir}
+%dir %attr (0755, root, other) %{_datadir}/doc
+%{_datadir}/doc/*
+%dir %attr (0755, root, other) %{_datadir}/icecast
+%dir %attr (0755, root, other) %{_datadir}/icecast/doc
+%{_datadir}/icecast/doc/*
+%dir %attr (0755, root, other) %{_datadir}/icecast/web
+%{_datadir}/icecast/web/*
+%dir %attr (0755, root, other) %{_datadir}/icecast/admin
+%{_datadir}/icecast/admin/*
+
+
+%changelog
+* Tue May 8 2007 - Thomas Wagner
+- Initial version
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFElibdaemon.spec	Mon Jun 04 22:03:35 2007 +0000
@@ -0,0 +1,85 @@
+
+#
+# Copyright (c) 2006 Sun Microsystems, Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+# Note: This spec file will only work if CC is gcc. Do it at the command line
+# before invoking this spec file (as opposed to putting it in %build below).
+# That way the macros in Solaris.inc will know you've set it.
+
+%include Solaris.inc
+
+Name:                SFElibdaemon
+Summary:             libdaemon
+Version:             0.10
+Source:              http://0pointer.de/lennart/projects/libdaemon/libdaemon-%{version}.tar.gz
+SUNW_BaseDir:        %{_basedir}
+BuildRoot:           %{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+
+%package devel
+Summary:                 %{summary} - development files
+SUNW_BaseDir:            %{_basedir}
+%include default-depend.inc
+Requires: %name
+
+%prep
+%setup -q -n libdaemon-%version
+
+
+%build
+
+CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
+if test "x$CPUS" = "x" -o $CPUS = 0; then
+     CPUS=1
+fi
+
+export CFLAGS="-I/usr/sfw/include -L/usr/sfw/lib -I/opt/sfw/include -L/opt/sfw/lib"
+export CFLAGS="$CFLAGS -D_XOPEN_SOURCE=500 -D__EXTENSIONS__"
+
+export LDFLAGS="%{_ldflags} -lsocket -lnsl -L/usr/sfw/lib"
+#fuer SunCC
+#export LDFLAGS="-lsocket -lnsl -L/usr/sfw/lib"
+#export LDFLAGS="-lsocket -lnsl -L/usr/sfw/lib"
+
+./configure --prefix=%{_prefix}  \
+            --mandir=%{_mandir} \
+	    --localstatedir=%{_localstatedir} \
+	    --sysconfdir=%{_sysconfdir} \
+            --disable-lynx
+
+            
+
+make -j$CPUS 
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+make install DESTDIR=$RPM_BUILD_ROOT
+
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.a
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_libdir}
+%{_libdir}/lib*.so*
+%dir %attr (0755, root, other) %{_libdir}/pkgconfig
+%{_libdir}/pkgconfig/*
+
+%files devel
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_includedir}
+%{_includedir}/*
+
+%changelog
+* Mon May 28 Thomas Wagner
+- split into runtime and -devel
+* 20070130 Thomas Wagner
+- Initial spec
+
--- a/SFElibmpd.spec	Sun Jun 03 12:32:51 2007 +0000
+++ b/SFElibmpd.spec	Mon Jun 04 22:03:35 2007 +0000
@@ -5,14 +5,18 @@
 # package are under the same license as the package itself.
 
 
+# IMPORTANT NOTE: compile with "gcc" - the code uses unnamed unions/structs
+
 %include Solaris.inc
 
 Name:                SFElibmpd
 Summary:             libmpd for gmpc
-Version:             0.13.0
+Version:             0.14.0
 #needed for download-URL:
-%define gmpc_version 0.14.0
+%define gmpc_version 0.15.0
 Source:              http://download.sarine.nl/gmpc-%{gmpc_version}/libmpd-%{version}.tar.gz
+# pls remove patch1 if Version > 0.14.0 has #include <limits.h>
+Patch1:              libmpd-01-libmpdclient-include-limits.h.diff
 
 SUNW_BaseDir:        %{_basedir}
 BuildRoot:           %{_tmppath}/%{name}-%{version}-build
@@ -28,6 +32,8 @@
 
 %prep
 %setup -q -n libmpd-%version
+# pls remove patch1 if Version > 0.14.0 has #include <limits.h>
+%patch1 -p1
 
 
 %build
@@ -37,14 +43,13 @@
      CPUS=1
 fi
 
-export CC=/usr/sfw/bin/gcc 
-export CXX=/usr/sfw/bin/g++
 export CFLAGS="-O4 -fPIC -DPIC -Xlinker -i -fno-omit-frame-pointers"
 export LDFLAGS="%_ldflags"                                          
  
-  
+export CC=/usr/sfw/bin/gcc
+export CXX=/usr/sfw/bin/g++
 
-./configure --prefix=%{_prefix} \
+CC=/usr/sfw/bin/gcc CXX=/usr/sfw/bin/g++ ./configure --prefix=%{_prefix} \
             --mandir=%{_mandir} \
             --enable-static=no
 
@@ -78,6 +83,9 @@
 
 
 %changelog
+* Sat May 26 2007  - Thomas Wagner
+- bump to 0.14.0 (corresponding to gmpc version 0.15.0)
+- added patch1, pls remove this if Version > 0.14.0 has #include <limits.h>
 * 20070406 Thomas Wagner
 - Initial spec
 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFElibsamplerate.spec	Mon Jun 04 22:03:35 2007 +0000
@@ -0,0 +1,80 @@
+
+#
+# Copyright (c) 2006 Sun Microsystems, Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+
+
+%include Solaris.inc
+
+Name:                SFElibsamplerate
+Summary:             libsamplerate - Sample Rate Converter for audio
+Version:             0.1.2
+Source:              http://www.mega-nerd.com/SRC/libsamplerate-%{version}.tar.gz
+
+SUNW_BaseDir:        %{_basedir}
+BuildRoot:           %{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+
+
+%package devel
+Summary:                 %{summary} - development files
+SUNW_BaseDir:            %{_basedir}
+%include default-depend.inc
+Requires: %name
+
+
+%prep
+%setup -q -n libsamplerate-%version
+
+
+%build
+
+CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
+if test "x$CPUS" = "x" -o $CPUS = 0; then
+     CPUS=1
+fi
+
+export CFLAGS="%optflags"
+export LDFLAGS="%_ldflags"
+
+./configure --prefix=%{_prefix} \
+            --mandir=%{_mandir} \
+            --enable-static=no
+
+            
+
+make -j$CPUS 
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+make install DESTDIR=$RPM_BUILD_ROOT
+
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/*
+%dir %attr (0755, root, bin) %{_libdir}
+%{_libdir}/lib*
+%dir %attr (0755, root, other) %{_libdir}/pkgconfig
+%{_libdir}/pkgconfig/*
+
+
+
+%files devel
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_includedir}
+%{_includedir}/*
+
+
+%changelog
+* 20070522 Thomas Wagner
+- Initial spec
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFElibshout.spec	Mon Jun 04 22:03:35 2007 +0000
@@ -0,0 +1,104 @@
+#
+# spec file for package SFElibshout.spec
+#
+# includes module(s): libshout
+#
+
+%include Solaris.inc
+
+%define src_name	libshout
+%define src_url		http://downloads.xiph.org/releases/libshout
+
+Name:                   SFElibshout
+Summary:                libshout, Library which can be used to write a source client like ices
+Version:                2.2.2
+Source:                 %{src_url}/libshout-%{version}.tar.gz
+SUNW_BaseDir:           /
+BuildRoot:              %{_tmppath}/%{name}-%{version}-build
+%include default-depend.inc
+
+BuildRequires: SFWoggl
+BuildRequires: SUNWlibtheora-devel
+BuildRequires: SUNWlxml-devel
+BuildRequires: SUNWlxsl-devel
+BuildRequires: SUNWogg-vorbis-devel
+# TODO needed? BuildRequires: SUNWspeex-devel
+Requires: SFWoggl
+Requires: SUNWlibtheora
+Requires: SUNWlxml
+Requires: SUNWlxsl
+Requires: SUNWogg-vorbis
+# TODO needed? Requires: SUNWspeex
+
+%package devel
+Summary:                 %{summary} - development files
+SUNW_BaseDir:            %{_basedir}
+%include default-depend.inc
+Requires: %name
+
+
+
+%prep
+%setup -q -n %{src_name}-%{version}
+
+%build
+CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
+if test "x$CPUS" = "x" -o $CPUS = 0; then
+    CPUS=1
+fi
+
+
+export CFLAGS="%optflags -I/usr/sfw/include -DANSICPP -D_AVL_H"
+export LDFLAGS="%_ldflags"
+
+./configure --prefix=/usr               \
+            --bindir=/usr/bin           \
+            --mandir=/usr/share/man     \
+            --libdir=/usr/lib           \
+            --datadir=/usr/share        \
+            --libexecdir=/usr/lib       \
+            --sysconfdir=/etc           \
+            --enable-shared             \
+            --disable-static            \
+
+make -j$CPUS 
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+make install DESTDIR=$RPM_BUILD_ROOT
+
+rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
+rmdir $RPM_BUILD_ROOT%{_bindir}
+
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr (-, root, bin)
+#below: usr/bin was created but never installed
+%dir %attr (0755, root, sys) /usr
+%dir %attr (0755, root, bin) %{_libdir}
+%{_libdir}/*so*
+%dir %attr (0755, root, other) %{_libdir}/pkgconfig
+%{_libdir}/pkgconfig/*
+%dir %attr (0755, root, sys) %{_datadir}
+%dir %attr (0755, root, other) %{_datadir}/doc
+%{_datadir}/doc/*
+%dir %attr (0755, root, other) %{_datadir}/aclocal
+%{_datadir}/aclocal/*
+
+
+
+%files devel
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_includedir}
+%{_includedir}/*
+
+
+
+%changelog
+* Tue May 8 2007 - Thomas Wagner
+- Initial version
--- a/SFElynx.spec	Sun Jun 03 12:32:51 2007 +0000
+++ b/SFElynx.spec	Mon Jun 04 22:03:35 2007 +0000
@@ -7,8 +7,8 @@
 
 Name:		SFElynx
 Summary:	Text mode browser
-Version:	2.8.6rel.4
-Source:		http://lynx.isc.org/current/lynx%{version}.tar.bz2
+Version:	2.8.6
+Source:		http://lynx.isc.org/lynx%{version}/lynx%{version}.tar.bz2
 Patch1:		lynx-01-color.diff
 SUNW_BaseDir:	%{_basedir}
 BuildRoot:	%{_tmppath}/%{name}-%{version}-build
@@ -74,5 +74,7 @@
 %{_sysconfdir}
 
 %changelog
+* Sat May 26 2007 - Thomas Wagner
+- version bump to 2.8.6, new download-URL since not in /current/-diry
 * Fri Apr 20 2007 - Doug Scott
 - Initial spec
--- a/SFEmpd.spec	Sun Jun 03 12:32:51 2007 +0000
+++ b/SFEmpd.spec	Mon Jun 04 22:03:35 2007 +0000
@@ -17,10 +17,11 @@
 
 Name:                SFEmpd
 Summary:             Daemon for remote access music playing & managing playlists
-Version:             0.12.2
+Version:             0.13.0
 Source:              http://www.musicpd.org/uploads/files/mpd-%{version}.tar.bz2
 Patch1:              mpd-01-include-ao-mpdconf.example.diff
 Patch2:              mpd-02-filesystem_charset-UTF-8-mpdconf.example.diff
+Patch3:              mpd-03-id3-tags-UTF-8-mpdconf.example.diff
 
 SUNW_BaseDir:        %{_basedir}
 BuildRoot:           %{_tmppath}/%{name}-%{version}-build
@@ -34,6 +35,9 @@
 BuildRequires: SUNWogg-vorbis-devel
 BuildRequires: SUNWgnome-audio-devel
 BuildRequires: SUNWflac-devel
+BuildRequires: SFElibshout-devel
+#TODO# BuildRequires: SFElibpulse-devel
+BuildRequires: SFEavahi-devel
 Requires: SFElibao
 Requires: SFElibmpcdec
 Requires: SFElibmad
@@ -43,6 +47,9 @@
 Requires: SUNWogg-vorbis
 Requires: SUNWgnome-audio
 Requires: SUNWflac
+Requires: SFElibshout
+#TODO# Requires: SFElibpulse-devel
+Requires: SFEavahi
 
 %prep
 %setup -q -n mpd-%version
@@ -59,19 +66,17 @@
 export CFLAGS="%optflags"
 export LDFLAGS="%{_ldflags}"
 
-export PKG_CONFIG=/usr/lib/pkgconfig
 
 # Note: mp3 decoding and id3tag support is not configured 
 # in here (it probably should be though)
 
+#test#libtoolize --force
+
 ./configure --prefix=%{_prefix}  \
             --mandir=%{_mandir}  \
-            --disable-flac       \
-            --disable-oggflac    \
 	    --enable-ao          \
-	    --enable-shout       
-
-#	    --disable-id3
+	    --enable-shout       \
+	    --enable-pulse
 
 make -j$CPUS
 
@@ -105,6 +110,23 @@
 %{_datadir}/doc/*
 
 %changelog
+* Mon May 28 2007 Thomas Wagner
+- bump to 0.13.0
+- --enable-flac --enable-oggflac
+  mpd now compiles with newer flac versions
+- --enable-shout for buffered streaming to the net in ogg format
+- add depency SFElibshout(-devel)
+- if SFEavahi is present, mpd resources will be announced with
+  zeroconf/avahi/mDNS broadcasts
+- patch3: make id3_charset in mpdconf.example default to UTF-8
+  NOTE: If files with special characters in id3_tags are missing in your
+  database, then update your existing /etc/mpd.conf|~/.mpdconf to set
+      id3v1_encoding  "UTF-8"
+  and recreate the db (mpd --create-db).
+- removed wrong export PKG_CONFIG=/usr/lib/pkgconfig
+* May 17 2007 - Thomas Wagner
+- --enable-shout - you need gcc to have configure detect shout libs
+- added dependcies SFElibshout(-devel)
 * Thu Apr 26 2007 - Thomas Wagner
 - --disable-flac, --disable-oggflac
   mpd possibly has to be updated to reflect new libFLAC includes
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFEpavumeter.spec	Mon Jun 04 22:03:35 2007 +0000
@@ -0,0 +1,97 @@
+#
+# Copyright (c) 2006 Sun Microsystems, Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+
+
+%include Solaris.inc
+
+Name:                SFEpavumeter
+Summary:             pavumeter - PulseAudio Volume Meter, a simple GTK volume meter for the PulseAudio sound server
+Version:             0.9.2
+Source:              http://0pointer.de/lennart/projects/pavumeter/pavumeter-%{version}.tar.gz
+
+SUNW_BaseDir:        %{_basedir}
+BuildRoot:           %{_tmppath}/%{name}-%{version}-build
+
+%include default-depend.inc
+
+
+#TODO are dependencies complete? 
+BuildRequires: SFEgtkmm-devel
+BuildRequires: SFEpulseaudio-devel
+BuildRequires: SFElynx
+BuildRequires: SFElynx
+Requires: SFEgtkmm
+Requires: SFEpulseaudio
+Requires: SFElynx
+Requires: SFElynx
+
+
+#%package 
+#Name:			 SFElibpavumeter
+#Summary:                 %{summary} - library files
+#SUNW_BaseDir:            %{_basedir}
+#%include default-depend.inc
+#Requires: %name
+
+
+
+%package devel
+Summary:                 %{summary} - development files
+SUNW_BaseDir:            %{_basedir}
+%include default-depend.inc
+Requires: %name
+
+
+%prep
+%setup -q -n pavumeter-%version
+#%patch1 -p1
+#%patch2 -p1
+
+%build
+
+CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
+if test "x$CPUS" = "x" -o $CPUS = 0; then
+     CPUS=1
+fi
+
+#_XGP4_2 and __EXTENSIONS__ for rtp.c to find all typedefs
+export CFLAGS="-D_XPG4_2 -D__EXTENSIONS__ %optflags"
+#export LDFLAGS="%{_ldflags} -lxnet -lgobject-2.0"
+export LDFLAGS="%{_ldflags}"
+
+./configure --prefix=%{_prefix}         \
+            --mandir=%{_mandir}         \
+            --libdir=%{_libdir}         \
+            --libexecdir=%{_libexecdir} \
+            --sysconfdir=%{_sysconfdir}
+
+
+
+make -j$CPUS
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+make install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/*
+%defattr (-, root, sys)
+%dir %attr (0755, root, sys) %{_datadir}
+%dir %attr (0755, root, other) %{_datadir}/applications
+%{_datadir}/applications/*
+
+
+
+%changelog
+* Tue May 23 2007 - Thomas Wagner
+- Initial spec
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFEpulseaudio.spec	Mon Jun 04 22:03:35 2007 +0000
@@ -0,0 +1,95 @@
+#
+# Copyright (c) 2006 Sun Microsystems, Inc.
+# This file and all modifications and additions to the pristine
+# package are under the same license as the package itself.
+#
+
+
+%include Solaris.inc
+
+Name:                SFEpulseaudio
+Summary:             pulseaudio - stream audio to clients
+Version:             0.9.5
+Source:              http://0pointer.de/lennart/projects/pulseaudio/pulseaudio-%{version}.tar.gz
+
+#SUNW_BaseDir:        %{_basedir}
+SUNW_BaseDir:        /
+BuildRoot:           %{_tmppath}/%{name}-%{version}-build
+
+%include default-depend.inc
+
+
+#TODO are dependencies complete? 
+BuildRequires: SFElibsndfile-devel
+BuildRequires: SUNWliboil-devel
+BuildRequires: SFElibsamplerate-devel
+Requires: SFElibsndfile
+Requires: SUNWliboil
+Requires: SFElibsamplerate
+
+%package devel
+Summary:                 %{summary} - development files
+SUNW_BaseDir:            %{_basedir}
+%include default-depend.inc
+Requires: %name
+
+
+%prep
+%setup -q -n pulseaudio-%version
+
+%build
+
+CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
+if test "x$CPUS" = "x" -o $CPUS = 0; then
+     CPUS=1
+fi
+
+#_XGP4_2 and __EXTENSIONS__ for rtp.c to find all typedefs
+export CFLAGS="-D_XPG4_2 -D__EXTENSIONS__ %optflags"
+export LDFLAGS="%{_ldflags} -lxnet -lgobject-2.0"
+
+./configure --prefix=%{_prefix}         \
+            --mandir=%{_mandir}         \
+            --libdir=%{_libdir}         \
+            --libexecdir=%{_libexecdir} \
+            --sysconfdir=%{_sysconfdir}
+
+
+
+make -j$CPUS
+
+%install
+rm -rf $RPM_BUILD_ROOT
+
+make install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+
+%files
+%defattr (-, root, bin)
+%dir %attr (0755, root, sys) /usr
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/*
+%defattr (0755, root, sys)
+%attr (0755, root, sys) %dir %{_sysconfdir}
+%{_sysconfdir}/*
+%defattr (-, root, bin)
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_libexecdir}
+%{_libexecdir}/pulse*
+%{_libexecdir}/lib*
+%dir %attr (0755, root, other) %{_libdir}/pkgconfig
+%{_libdir}/pkgconfig/*
+
+%files devel
+%defattr (-, root, bin)
+%dir %attr (0755, root, bin) %{_includedir}
+%{_includedir}/*
+
+
+
+%changelog
+* Tue May 22 2007 - Thomas Wagner
+- Initial spec
--- a/SFExchat.spec	Sun Jun 03 12:32:51 2007 +0000
+++ b/SFExchat.spec	Mon Jun 04 22:03:35 2007 +0000
@@ -10,7 +10,7 @@
 
 Name:                    SFExchat
 Summary:                 XChat IRC Client
-Version:                 2.8.0
+Version:                 2.8.2
 Source:                  http://www.xchat.org/files/source/2.8/xchat-%{version}.tar.bz2
 Patch1:                  xchat-01-gettext.diff
 Patch2:                  xchat-02-zero-index.diff
@@ -62,7 +62,7 @@
 export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
 export CPPFLAGS="-I/usr/sfw/include"
 export LDFLAGS="-L/usr/sfw/lib -R/usr/sfw/lib"
-export MSGFMT="/usr/bin/msgfmt"
+export MSGFMT="/opt/sfw/bin/msgfmt"
 
 glib-gettextize -f
 libtoolize --copy --force
@@ -155,6 +155,10 @@
 %endif
 
 %changelog
+* Tue May 29 2007 - Thomas Wagner
+- bump to 2.8.2
+- /usr/bin/msgfmt errors, use /opt/sfw/bin/msgfmt
+- reworked patch for 2.8.2
 * Sun Jan  7 2007 - [email protected]
 - bump to 2.8.0, merge patches, update %files
 * Mon Jul 31 2006 - [email protected]
--- a/SFExosd.spec	Sun Jun 03 12:32:51 2007 +0000
+++ b/SFExosd.spec	Mon Jun 04 22:03:35 2007 +0000
@@ -2,6 +2,8 @@
 # spec file for package SFExosd
 #
 
+# Note: builds only with  gcc !
+
 %include Solaris.inc
 Name:                    SFExosd
 Summary:                 xosd - simple library to display shaped text on X Display
@@ -38,7 +40,8 @@
 
 %build
 
-./configure --prefix=%{_prefix}  \
+
+CC=/usr/sfw/bin/gcc CXX=/usr/sfw/bin/g++ ./configure --prefix=%{_prefix}  \
             --mandir=%{_mandir}   \
             --disable-static
 
@@ -50,20 +53,10 @@
 make install DESTDIR=$RPM_BUILD_ROOT
 
 #empty directories (xmms):
-rm -r $RPM_BUILD_ROOT/opt
+test -d $RPM_BUILD_ROOT/opt && rm -r $RPM_BUILD_ROOT/opt
 
 rm -r $RPM_BUILD_ROOT/%{_libdir}/*la
 
-%if %build_l10n
-#TODO check if needed  # Rename pl_PL dir to pl as pl_PL is a symlink to pl and causing installation
-#TODO check if needed  # problems as a dir.
-#TODO check if needed  cd $RPM_BUILD_ROOT%{_datadir}/locale
-#TODO check if needed  mv pl_PL pl
-%else
-# REMOVE l10n FILES
-rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
-%endif
-
 %clean
 rm -rf $RPM_BUILD_ROOT
 
@@ -100,5 +93,9 @@
 
 
 %changelog
+* Thu May 31 2007  - Thomas Wagner
+- force compiler to gcc.
+- conditional rm -r $RPM_BUILD_ROOT/opt (really needed?)
+- builds only with gcc
 * Thu Apr 07 2007  - Thomas Wagner
 - Initial spec
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/avahi-01-avahi-utils_stdb.c-prototype.diff	Mon Jun 04 22:03:35 2007 +0000
@@ -0,0 +1,11 @@
+--- avahi-0.6.19/avahi-utils/stdb.c.orig	2007-04-13 00:14:48.000000000 +0200
++++ avahi-0.6.19/avahi-utils/stdb.c	2007-05-29 03:19:29.536804528 +0200
+@@ -190,7 +190,7 @@
+             key = gdbm_nextkey(gdbm_file, key);
+ #endif
+ #ifdef HAVE_DBM
+-            key = dbm_nextkey(dbm_file, key);
++            key = dbm_nextkey(dbm_file);
+ #endif
+         }
+ 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/icecast-01-CURLOPT_PASSWDFUNCTION.diff	Mon Jun 04 22:03:35 2007 +0000
@@ -0,0 +1,47 @@
+URL: http://www.nabble.com/Install-problem-t3597301.html
+Re: Install problem
+Click to flag this post 3 stars [3 stars] [3 stars]
+
+by Karl Heyes Apr 17, 2007; 10:27pm :: Rate this Message: - Use ratings to moderate (?)
+
+Reply | Reply to Author | View Threaded | Show Only this Message
+riscphree wrote:
+> I get this error when installing icecast using the 'make' command. I
+> used the latest version of the dependencies:
+
+[stuff deleted from original posting ...]
+
+yeah, latest libcurl (7.16) dropped a setting, the fix should be
+trivial, I've attached a diff below if you want to try it out.
+
+karl. 
+
+--- icecast-2.3.1/src/auth_url.c.orig	Mi Nov 30 19:16:17 2005
++++ icecast-2.3.1/src/auth_url.c	Mi Mai  9 00:31:29 2007
+@@ -111,7 +111,7 @@
+     free (url);
+ }
+ 
+-
++#ifdef CURLOPT_PASSWDFUNCTION
+ /* make sure that prompting at the console does not occur */
+ static int my_getpass(void *client, char *prompt, char *buffer, int buflen)
+ {
+@@ -118,6 +118,7 @@
+     buffer[0] = '\0';
+     return 0;
+ }
++#endif
+ 
+ 
+ static int handle_returned_header (void *ptr, size_t size, size_t nmemb, void *stream)
+@@ -518,7 +519,9 @@
+     curl_easy_setopt (url_info->handle, CURLOPT_WRITEDATA, url_info->handle);
+     curl_easy_setopt (url_info->handle, CURLOPT_NOSIGNAL, 1L);
+     curl_easy_setopt (url_info->handle, CURLOPT_TIMEOUT, 15L);
++#ifdef CURLOPT_PASSWDFUNCTION
+     curl_easy_setopt (url_info->handle, CURLOPT_PASSWDFUNCTION, my_getpass);
++#endif
+     curl_easy_setopt (url_info->handle, CURLOPT_ERRORBUFFER, &url_info->errormsg[0]);
+ 
+     if (url_info->username && url_info->password)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/libmpd-01-libmpdclient-include-limits.h.diff	Mon Jun 04 22:03:35 2007 +0000
@@ -0,0 +1,12 @@
+This is already fixed in the CVS version (should be obsolete in > 0.14.0)
+
+--- libmpd-0.14.0/src/libmpdclient.c.orig	2007-05-26 17:06:15.058485006 +0200
++++ libmpd-0.14.0/src/libmpdclient.c	2007-05-26 17:02:10.472415458 +0200
+@@ -41,6 +41,7 @@
+ #include <unistd.h>
+ #include <stdlib.h>
+ #include <fcntl.h>
++#include <limits.h>
+ 
+ #ifdef WIN32
+ #  include <ws2tcpip.h>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/mpd-03-id3-tags-UTF-8-mpdconf.example.diff	Mon Jun 04 22:03:35 2007 +0000
@@ -0,0 +1,10 @@
+--- mpd-0.13.0/doc/mpdconf.example.orig	2007-05-28 15:37:29.000000000 +0200
++++ mpd-0.13.0/doc/mpdconf.example	2007-05-29 01:42:41.216630386 +0200
+@@ -252,6 +252,7 @@
+ # The encoding that ID3v1 tags should be converted from.
+ #
+ #id3v1_encoding                  "ISO-8859-1"
++id3v1_encoding                  "UTF-8"
+ #
+ ################################################################
+ 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/terminus-font-01-x11dir.diff	Mon Jun 04 22:03:35 2007 +0000
@@ -0,0 +1,11 @@
+--- terminus-font-4.20/Makefile.orig	2007-06-03 23:00:24.000000000 +0200
++++ terminus-font-4.20/Makefile	2007-06-03 23:04:53.631956141 +0200
+@@ -79,7 +79,7 @@
+ DESTDIR	= 
+ prefix	= /usr
+ psfdir	= $(prefix)/share/consolefonts
+-x11dir	= $(prefix)/X11R6/lib/X11/fonts/local
++x11dir	= $(prefix)/openwin/lib/X11/fonts/pcf
+ 
+ install: $(PSF) $(PCF)
+ 	mkdir -p $(DESTDIR)$(psfdir)
--- a/patches/xchat-01-gettext.diff	Sun Jun 03 12:32:51 2007 +0000
+++ b/patches/xchat-01-gettext.diff	Mon Jun 04 22:03:35 2007 +0000
@@ -3,7 +3,7 @@
 @@ -26,7 +26,13 @@
  AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE",[Gettext package name])
  
- ALL_LINGUAS="be cs de el es fi fr gl hu it ja ko lt nl pa pt ru sq sr sv vi zh_TW"
+ ALL_LINGUAS="be ca cs de el es fi fr gl hu it ja ko lt nl pa pt ru sq sr sv uk vi zh_CN zh_TW"
 -AM_GNU_GETTEXT
 +AM_GLIB_GNU_GETTEXT
 +USE_INCLUDED_LIBINTL=no