Uploading the 29 spec outputs from the hackathon
authoropensoars
Sat, 22 Sep 2007 02:40:49 +0000
changeset 505 d146303e26fd
parent 504 a6c62518d95d
child 506 f3d4543a3e06
Uploading the 29 spec outputs from the hackathon
SFEafio.spec
SFEarj.spec
SFEasterisk.spec
SFEastyle.spec
SFEboost-static.spec
SFEeasytag.spec
SFEgdal.spec
SFEgeany-multipkg.spec
SFEgnomad2.spec
SFEgtkglext.spec
SFEhtml-tidy.spec
SFElcab.spec
SFElibcryptopp.spec
SFElibnjb.spec
SFElibogg.spec
SFElibpng.spec
SFElibstatgab.spec
SFElibuninum.spec
SFElibutf8proc.spec
SFEmedit.spec
SFEmrxvt.spec
SFEmsort.spec
SFEpcre.spec
SFEproj4.spec
SFEspeex.spec
SFEstreamripper.spec
SFEtre.spec
SFEwebcpp.spec
SFExtail.spec
patches/afio-01-2.5.gcc.diff
patches/arj-01-3.10.22.gcc.diff
patches/asterisk-01-include.relocate.diff
patches/easytag2.1-01-libnsl.diff
patches/geany-01-V0.11.sunpro.diff
patches/gnomad2-01-2.8.13_p1_LDADD.diff
patches/libnjb-01-2.2.5-p1-makefilechanges.diff
patches/medit-01-0.8.9-solaris.sunstudio12.diff
patches/mrxvt-01-0.5.2.sunstudio.diff
patches/tidy-01-051026.diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFEafio.spec	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,60 @@
+#
+# spec file for package SFEafio.spec
+#
+# includes module(s): afio
+#
+%include Solaris.inc
+
+%define src_name	afio
+%define src_url		http://www.ibiblio.org/pub/linux/system/backup/
+%define src_version 2.5
+# =========================================================================== 
+#                    SVR4 required definitions
+# =========================================================================== 
+SUNW_Pkg: SFE%{src_name}-%{base_arch}
+SUNW_ProdVers:	%{src_version}
+SUNW_BaseDir:	%{_basedir}
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Tag definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+Name:                   SFEafio
+Summary:                AFIO - An archiving engine capable of cpio compatible output
+Version:                %{src_version}
+Source:                 %{src_url}/%{src_name}-%{version}.tgz
+SUNW_BaseDir:           %{_basedir}
+BuildRoot:              %{_tmppath}/%{name}-%{version}-build
+URL:                    http://members.brabant.chello.nl/~k.holtman, http://members.chello.nl/~k.holtman
+Patch0:                 %{src_name}-01-%{version}.gcc.diff
+
+Requires: SUNWcsl
+Requires: SUNWlibms
+BuildRequires: SUNWgcc
+
+%prep
+%setup -q -n %{src_name}-%{version}
+%patch0 -p1
+
+%build
+CC=gcc CXX=g++ make 
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install DESTDIR=$RPM_BUILD_ROOT PREFIX=%{_prefix}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+
+%dir %attr(0755,root,bin) %{_bindir}
+%{_bindir}/*
+
+%dir %attr(0755,root,bin) %{_mandir}
+%{_mandir}/man1/*
+
+%changelog
+* Sat Aug 11 2007 - [email protected]
+- Initial version
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFEarj.spec	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,69 @@
+#
+# spec file for package SFEarj.spec
+#
+# includes module(s): arj
+#
+%include Solaris.inc
+
+%define src_name	arj
+%define src_url		http://testcase.newmail.ru
+%define src_version 3.10.22
+# =========================================================================== 
+#                    SVR4 required definitions
+# =========================================================================== 
+SUNW_Pkg: SFE%{src_name}-%{base_arch}
+SUNW_ProdVers:	%{src_version}
+SUNW_BaseDir:	%{_basedir}
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Tag definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+
+Name:                   SFEarj
+Summary:                ARJ - File archiving utlitity
+Version:                %{src_version}
+Source:                 %{src_url}/files/%{src_name}-%{version}.tar.gz
+SUNW_BaseDir:           %{_basedir}
+BuildRoot:              %{_tmppath}/%{name}-%{version}-build
+Patch0:                 %{src_name}-01-%{version}.gcc.diff
+
+Requires: SUNWcsl
+Requires: SUNWlibms
+BuildRequires: SUNWgcc
+
+%prep
+%setup -q -n %{src_name}-%{version}
+%patch0 -p1
+cd gnu
+autoconf
+./configure --prefix=%{_prefix} \
+            --bindir=%{_bindir} \
+            --mandir=%{_mandir} \
+            --libdir=%{_libdir}
+cd ..
+
+%build
+CC=gcc CXX=g++ make 
+
+%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}/*
+
+%dir %attr(0755,root,bin) %{_libdir}
+%{_libdir}/*
+
+%dir %attr(0755,root,bin) %{_mandir}
+%{_mandir}/*
+
+%changelog
+* Sat Aug 11 2007 - [email protected]
+- Initial version
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFEasterisk.spec	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,121 @@
+# =========================================================================== 
+#                    Spec File
+# =========================================================================== 
+%include Solaris.inc
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Software specific variable definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%define src_name	   asterisk
+%define src_version    1.4.10.1
+%define pkg_release	   1
+%define _varetcdir     /var/etc
+%define _varlogdir     /var/log
+%define _varoptdir     /var/opt
+%define _varrundir     /var/run
+%define _varspooldir   /var/spool
+%define _optdir        /opt
+%define _usrincludedir /usr/include
+
+# =========================================================================== 
+#                    SVR4 required definitions
+# =========================================================================== 
+SUNW_Pkg: SFE%{src_name}-%{base_arch}
+SUNW_ProdVers:	%{src_version}
+SUNW_BaseDir:	/
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Tag definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+Name:         	%{src_name}
+Summary:      	Asterisk : Complete IP PBX in software
+Version:      	%{src_version}
+Release:      	%{pkg_release}
+License:      	GPL
+Group:          Communication
+Source:         http://downloads.digium.com/pub/asterisk/releases/%{src_name}-%{version}.tar.gz
+Patch:        	asterisk-01-include.relocate.diff
+Vendor:       	http://www.asterisk.org
+URL:            http://www.asterisk.org
+Packager:     	Shivakumar GN
+BuildRoot:		%{_tmppath}/%{src_name}-%{version}-build
+
+#Requires:      
+#BuildRequires: 
+
+%description 
+Asterisk is a complete IP PBX in software. It runs on a wide variety of operating systems and provides all of the features one would expect from a PBX including many advanced features that are often associated with high end (and high cost) proprietary PBXs. Asterisk supports Voice over IP in many protocols, and can interoperate with almost all standards-based telephony equipment using relatively inexpensive hardware.
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Prep-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%prep 
+%setup -q -n %{src_name}-%{version}
+CC=gcc
+CXX=g++
+rm -rf ./grep
+ln -s /usr/sfw/bin/ggrep ./grep
+PATH="`pwd`:$PATH"
+echo "`type grep`"
+./configure --prefix=%{_prefix}
+
+%patch0 -p 1
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Build-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%build
+make
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Install-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+
+%install
+rm ./grep
+ln -s /usr/sfw/bin/ggrep ./grep
+PATH="`pwd`:$PATH"
+echo "`type grep`"
+make install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+# File permissions, ownership information. Note the difference between 
+# bin(_bindir),share(_datadir) & share/applications
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+%files
+%defattr(-,root,bin)
+
+%dir %attr (0755, root, sys) %{_varoptdir}/%{src_name}
+%{_varoptdir}/%{src_name}/*
+
+%dir %attr (0755, root, sys) %{_varetcdir}/%{src_name}
+
+%dir %attr (0755, root, sys) %{_varlogdir}/%{src_name}
+%{_varlogdir}/%{src_name}/*
+
+%dir %attr (0755, root, sys) %{_varrundir}/%{src_name}
+
+%dir %attr (0755, root, sys) %{_varspooldir}/%{src_name}
+%{_varspooldir}/%{src_name}/*
+
+%dir %attr (0755, root, bin) %{_optdir}/%{src_name}/bin
+%dir %attr (0755, root, bin) %{_optdir}/%{src_name}/sbin
+%{_optdir}/%{src_name}/sbin/*
+
+%dir %attr (0755, root, sys) %{_optdir}/%{src_name}/include
+%{_optdir}/%{src_name}/include/*
+
+%dir %attr (0755, root, sys) %{_optdir}/%{src_name}/lib
+%{_optdir}/%{src_name}/lib/*
+
+%dir %attr (0755, root, sys) %{_optdir}/%{src_name}/man
+%{_optdir}/%{src_name}/man/*
+
+
+
+%changelog
+* 2007.Aug.11 - <shivakumar dot gn at gmail dot com>
+- Initial spec.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFEastyle.spec	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,94 @@
+# =========================================================================== 
+#                    Spec File
+# =========================================================================== 
+%include Solaris.inc
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Software specific variable definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%define src_name	astyle
+%define src_version	1.18
+%define pkg_release	1
+%define src_tarball %{src_name}_%{src_version}__linux.tar.gz
+
+# =========================================================================== 
+#                    SVR4 required definitions
+# =========================================================================== 
+SUNW_Pkg: SFE%{src_name}-%{base_arch}
+SUNW_ProdVers:	%{src_version}
+SUNW_BaseDir:	%{_basedir}
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Tag definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+Name:         	%{src_name}
+Summary:      	astyle : source code indenter, formatter, and beautifier for the C, C++, C# and Java programming languages
+Version:      	%{src_version}
+Release:      	%{pkg_release}
+License:      	GPLv2
+Group:          Development/Tools
+Source:         http://jaist.dl.sourceforge.net/sourceforge/astyle/%{src_tarball}
+URL:            http://astyle.sourceforge.net
+Packager:     	Shivakumar GN
+BuildRoot:		%{_tmppath}/%{src_name}-%{version}-build
+
+
+#Ideally these should be included for requires: glib2, gtk2, pango
+#Requires:      
+#BuildRequires: 
+
+%description 
+Artistic Style is a source code indenter, formatter, and beautifier for the C, C++, C# and Java programming languages.
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Packages to build
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+
+#%package -n SFE%{src_name}-l10n
+#Summary:                 %{summary} - l10n files
+#SUNW_BaseDir:            %{_basedir}
+#Requires:                %{name}
+
+#%package -n SFEgeany-docs
+#Summary:                 %{summary} - documentation, man pages
+#SUNW_BaseDir:            %{_basedir}
+#Requires:                %{name}
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Prep-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%prep 
+%setup -q -n %{name}
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Build-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%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 CXXFLAGS="%cxx_optflags"
+export LDFLAGS="%_ldflags"
+
+cd src
+make -j$CPUS
+
+%install
+mkdir -p $RPM_BUILD_ROOT/%{_bindir}
+install -m 755 -c ./src/astyle $RPM_BUILD_ROOT%{_bindir}/
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(0755,root,bin)
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/*
+
+
+%changelog
+* 2007.Aug.08 - <shivakumar dot gn at gmail dot com>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFEboost-static.spec	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,85 @@
+# =========================================================================== 
+#                    Spec File
+# =========================================================================== 
+%include Solaris.inc
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Software specific variable definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%define src_name	boost
+%define src_version	1_34_1
+%define deploy_version	1.34.1
+%define pkg_release	1
+
+# =========================================================================== 
+#                    SVR4 required definitions
+# =========================================================================== 
+SUNW_Pkg:       SFE%{src_name}-%{base_arch}
+SUNW_ProdVers:	%{deploy_version}
+SUNW_BaseDir:	%{_basedir}
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Tag definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+Name:         	%{src_name}
+Summary:      	Boost library for static compilation (source only)
+Version:      	%{src_version}
+Release:      	%{pkg_release}
+License:      	Boost Software License
+Group:          Developement
+Source:         http://jaist.dl.sourceforge.net/sourceforge/boost/%{src_name}_%{version}.tar.bz2
+#Patch:        	yourpatch-name
+Vendor:       	http://www.boost.org
+URL:            http://www.boost.org
+Packager:     	Shivakumar GN
+BuildRoot:		%{_tmppath}/%{src_name}-%{version}-build
+
+#Requires:      
+#BuildRequires: 
+
+%description 
+Boost library for static compilation (source only)
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Prep-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%prep
+%setup -q -n %{src_name}_%{version}
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Build-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%build
+echo "boost library does not need a build..."
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Install-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+
+%install
+#Using install command is technically more appropriate
+mkdir -p $RPM_BUILD_ROOT/%{_prefix}/%{src_name}-%{deploy_version}/
+cp -r . $RPM_BUILD_ROOT/%{_prefix}/%{src_name}-%{deploy_version}/
+rm -f $RPM_BUILD_ROOT/%{_prefix}/%{src_name}-%{deploy_version}/.pkgbuild.build.sh
+rm -f $RPM_BUILD_ROOT/%{_prefix}/%{src_name}-%{deploy_version}/.pkgbuild.install.sh
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+# File permissions, ownership information. Note the difference between 
+# bin(_bindir),share(_datadir) & share/applications
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+%files
+%defattr(-,root,bin)
+%dir %attr (0755, root, bin) %{_prefix}/%{src_name}-%{deploy_version}
+%{_prefix}/%{src_name}-%{deploy_version}/*
+
+
+#%dir %attr (0755, root, other) %{_datadir}/applications
+#%{_datadir}/applications/*
+
+
+
+%changelog
+* 2007.Aug.11 - <shivakumar dot gn at gmail dot com>
+- Initial spec.
--- a/SFEeasytag.spec	Fri Sep 21 08:37:25 2007 +0000
+++ b/SFEeasytag.spec	Sat Sep 22 02:40:49 2007 +0000
@@ -1,111 +1,88 @@
-#
-# spec file for package SFEeasytag
-#
-# includes module(s): SFEeasytag
-#
+# =========================================================================== 
+#                    Spec File
+# =========================================================================== 
 %include Solaris.inc
 
-Name:                    SFEeasytag
-Summary:                 EasyTag - Modify ID3 Tags
-Version:                 1.99.13
-Source:                  http://easynews.dl.sourceforge.net/sourceforge/easytag/easytag-%{version}.tar.bz2
-Patch1:                  easytag-01-stdc++.diff
-URL:			 http://easytag.sourceforge.net/
-SUNW_BaseDir:            %{_basedir}
-BuildRoot:               %{_tmppath}/%{name}-%{version}-build
-%include default-depend.inc
-Requires: SFEid3lib
-Requires: SUNWgnome-libs
-Requires: SUNWzlib
-Requires: SUNWogg-vorbis
-Requires: SUNWflac
-#FIXME: version 1.99.12 doesn't seem to be compatible with
-#       faad2 2.0
-#Requires: SFEfaad2
-BuildRequires: SFEid3lib-devel
-BuildRequires: SUNWgnome-libs-devel
-BuildRequires: SUNWgnome-base-libs-devel
-BuildRequires: SUNWogg-vorbis-devel
-BuildRequires: SUNWflac-devel
-#FIXME BuildRequires: SFEfaad2-devel
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Software specific variable definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%define src_name	easytag
+%define src_version	2.1
+%define pkg_release	1
+
+# =========================================================================== 
+#                    SVR4 required definitions
+# =========================================================================== 
+SUNW_Pkg: SFE%{src_name}-%{base_arch}
+SUNW_ProdVers:	%{src_version}
+SUNW_BaseDir:	%{_basedir}
 
-%if %build_l10n
-%package l10n
-Summary:                 %{summary} - l10n files
-SUNW_BaseDir:            %{_basedir}
-%include default-depend.inc
-Requires:                %{name}
-%endif
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Tag definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+Name:         	%{src_name}
+Summary:      	Easytag :  EasyTAG - Tag editor for MP3, Ogg Vorbis files and more
+Version:      	%{src_version}
+Release:      	%{pkg_release}
+License:      	GPL
+Group:          Entertainment
+Source:         http://nchc.dl.sourceforge.net/sourceforge/easytag/%{src_name}-%{version}.tar.bz2
+Patch:        	easytag2.1-01-libnsl.diff
+Vendor:       	http://easytag.sourceforge.net
+URL:            http://easytag.sourceforge.net
+Packager:     	Shivakumar GN
+BuildRoot:		%{_tmppath}/%{src_name}-%{version}-build
 
-%prep
-%setup -q -n easytag-%version
-%patch1 -p1
+#Requires:      
+#BuildRequires: 
+
+%description 
+EasyTAG - Tag editor for MP3, Ogg Vorbis files and more
 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Prep-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%prep 
+%setup -q -n %{src_name}-%{version}
+./configure --prefix=%{_prefix}
+
+%patch0 -p 1
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Build-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
 %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 CXXFLAGS="%cxx_optflags"
-export LDFLAGS="%{_ldflags} -lsocket -lnsl"
-glib-gettextize -f
-aclocal
-libtoolize -f
-automake -a -c -f
-autoconf
-./configure --prefix=%{_prefix} \
-	--mandir=%{_mandir} --bindir=%{_bindir}         \
-        --libdir=%{_libdir}         \
-        --includedir=%{_includedir} \
-        --disable-mp4
-make -j$CPUS
+make
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Install-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
 
 %install
-rm -rf $RPM_BUILD_ROOT
-make DESTDIR=$RPM_BUILD_ROOT install
-
-%if %build_l10n
-%else
-# REMOVE l10n FILES
-rm -rf $RPM_BUILD_ROOT%{_datadir}/locale
-%endif
+make install DESTDIR=$RPM_BUILD_ROOT
 
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+# File permissions, ownership information. Note the difference between 
+# bin(_bindir),share(_datadir) & share/applications
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 %files
-%defattr (-, root, bin)
+%defattr(-,root,bin)
 %dir %attr (0755, root, bin) %{_bindir}
 %{_bindir}/*
+
+%dir %attr (0755, root, sys) %{_prefix}/man
+%{_prefix}/man/*
+
 %dir %attr (0755, root, sys) %{_datadir}
+%{_datadir}/pixmaps
+%{_datadir}/%{src_name}
+
 %dir %attr (0755, root, other) %{_datadir}/applications
 %{_datadir}/applications/*
-%{_datadir}/easytag
-%dir %attr (0755, root, bin) %{_mandir}
-%dir %attr (0755, root, bin) %{_mandir}/man*
-%{_mandir}/man*/*
-%dir %attr (0755, root, other) %{_datadir}/pixmaps
-%{_datadir}/pixmaps/*
-
-%if %build_l10n
-%files l10n
-%defattr (-, root, bin)
-%dir %attr (0755, root, sys) %{_datadir}
-%attr (-, root, other) %{_datadir}/locale
-%endif
 
 %changelog
-* Fri Jan 05 2007 - [email protected]
-- Bump to 1.99.13.
-- Fri Jun 23 2006 - [email protected]
-- rename to SFEeasytag
-- clean up env variables
-- add patch stdc++.diff which changes some GNU specific libs to Solaris
-  specific ones
-- autotoolize
-- fix file attributes
-- create l10n package
-- add missing deps
-* Fri May 10 2006 - [email protected]
-- Initial spec
+* 2007.Aug.11 - <shivakumar dot gn at gmail dot com>
+- Initial spec.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFEgdal.spec	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,100 @@
+# =========================================================================== 
+#                    Spec File
+# =========================================================================== 
+%include Solaris.inc
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Software specific variable definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%define src_name	gdal
+%define src_version	1.4.2
+%define pkg_release	1
+
+# %{_topdir} is by default set to RPM_BUILD_ROOT
+# Default path for RPM_BUILD_ROOT is /var/tmp/pkgbuild-{username}
+# Install the software here as part of package building steps
+
+# =========================================================================== 
+#                    SVR4 required definitions
+# =========================================================================== 
+SUNW_Pkg: SFE%{src_name}-%{base_arch}
+SUNW_ProdVers:	%{src_version}
+SUNW_BaseDir:	%{_basedir}
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Tag definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+Name:         	%{src_name}
+Summary:      	GDAL - Geospatial Data Abstraction Library
+Version:      	%{src_version}
+Release:      	%{pkg_release}
+License:      	X/MIT
+Group:          Library
+Source:         http://download.osgeo.org/gdal/%{src_name}-%{version}.tar.gz
+#Patch:        	yourpatch-name
+Vendor:       	http://www.gdal.org
+URL:            http://www.gdal.org
+Packager:     	Shivakumar GN
+BuildRoot:		%{_tmppath}/%{src_name}-%{version}-build
+
+#Requires:      
+#BuildRequires: 
+
+%description 
+GDAL - Geospatial Data Abstraction Library
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Prep-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%prep 
+%setup -q -n %{src_name}-%{version}
+CC=gcc
+CXX=g++
+./configure --prefix=%{_prefix}
+
+#%patch0 -p 1
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Build-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%build
+make
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Install-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+# File permissions, ownership information. Note the difference between 
+# bin(_bindir),share(_datadir) & share/applications
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+%files
+%defattr(-,root,bin)
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/*
+
+%dir %attr (0755, root, sys) %{_includedir}
+%{_includedir}/*
+
+%dir %attr (0755, root, sys) %{_libdir}
+%{_libdir}/*
+
+%dir %attr (0755, root, sys) %{_datadir}
+%{_datadir}/gdal
+
+%dir %attr (0755, root, sys) %{_prefix}/man
+%{_prefix}/man/*
+
+#%dir %attr (0755, root, bin) %{_libdir}/python2.4
+#%{_libdir}/python2.4/site-packages/*
+
+
+%changelog
+* 2007.Aug.11 - <shivakumar dot gn at gmail dot com>
+- Initial spec.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFEgeany-multipkg.spec	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,131 @@
+# =========================================================================== 
+#                    Spec File for Geany
+# =========================================================================== 
+%include Solaris.inc
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Software specific variable definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%define src_name	geany
+%define src_version	0.11
+%define pkg_release	1
+
+# %{_topdir} is by default set to RPM_BUILD_ROOT
+# Default path for RPM_BUILD_ROOT is /var/tmp/pkgbuild-{username}
+# Install the software here as part of package building steps
+
+# =========================================================================== 
+#                    SVR4 required definitions
+# =========================================================================== 
+SUNW_Pkg: SFE%{src_name}-%{base_arch}
+SUNW_ProdVers:	%{src_version}
+SUNW_BaseDir:	%{_basedir}
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Tag definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+Name:         	%{src_name}
+Summary:      	Geany - Light weight text editor/IDE
+Version:      	%{src_version}
+Release:      	%{pkg_release}
+License:      	GPLv2
+Group:          Development/Tools
+Source:         http://files.uvena.de/geany/%{src_name}-%{version}.tar.bz2
+Patch:        	geany-01-V0.11.sunpro.diff
+Vendor:       	Enrico Troger,Nick Treleaven,Frank Lanitz
+URL:            http://geany.uvena.de/
+Packager:     	Shivakumar GN
+BuildRoot:		%{_tmppath}/%{src_name}-%{version}-build
+
+#Ideally these should be included for requires: glib2, gtk2, pango
+#Requires:      
+#BuildRequires: 
+
+%description 
+Geany is a small and fast editor with basic features of an integrated development environment.
+
+Some features:
+- syntax highlighting
+- code completion
+- code folding
+- call tips
+- folding
+- many supported filetypes like C, Java, PHP, HTML, Python, Perl, Pascal
+- symbol lists
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Packages to build
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+
+%package -n SFEgeany-l10n
+Summary:                 %{summary} - l10n files
+SUNW_BaseDir:            %{_basedir}
+Requires:                %{name}
+
+%package -n SFEgeany-docs
+Summary:                 %{summary} - documentation, man pages
+SUNW_BaseDir:            %{_basedir}
+Requires:                %{name}
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Prep-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%prep 
+%setup -q -n %{src_name}-%{version}
+./configure --prefix=%{_prefix}
+
+%patch0 -p 1
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Build-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%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 CXXFLAGS="%cxx_optflags"
+export LDFLAGS="%_ldflags"
+
+make -j$CPUS
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(0755,root,bin)
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/*
+%dir %attr (0755, root, sys) %{_datadir}
+%{_datadir}/applications
+%{_datadir}/geany
+%{_datadir}/pixmaps
+
+%files -n SFEgeany-l10n
+%defattr (-, root, bin)
+%dir %attr (0755, root, sys) %{_datadir}
+%attr (-, root, other) %{_datadir}/locale
+
+%files -n SFEgeany-docs
+%defattr (-, root, sys)
+%dir %attr (0755, root, sys) %{_datadir}
+%{_datadir}/doc
+%{_datadir}/man
+
+
+%changelog
+* 2007.Aug.08 - <shivakumar dot gn at gmail dot com>
+- Use of %package & %files for sub-package creation
+  (base pkg, doc pkg, l10n pkg)
+- Introduction of custom compile/link flags
+- Make uses multiple CPU systems for parallelism
+* 2007.Aug.08 - <shivakumar dot gn at gmail dot com>
+- Use of include files for common definitions
+* 2007.Aug.07 - <shivakumar dot gn at gmail dot com>
+- Initial spec. Example for a badly designed but working spec
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFEgnomad2.spec	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,75 @@
+# =========================================================================== 
+#                    Spec File for Geany
+# =========================================================================== 
+%include Solaris.inc
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Software specific variable definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%define src_name	gnomad2
+%define src_version	2.8.13
+%define pkg_release	1
+
+# %{_topdir} is by default set to RPM_BUILD_ROOT
+# Default path for RPM_BUILD_ROOT is /var/tmp/pkgbuild-{username}
+# Install the software here as part of package building steps
+
+# =========================================================================== 
+#                    SVR4 required definitions
+# =========================================================================== 
+SUNW_Pkg: SFE%{src_name}
+SUNW_ProdVers:	%{src_version}
+SUNW_BaseDir:	%{_basedir}
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Tag definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+Name:         	%{src_name}
+Summary:      	Gnomad2 is a GTK+ music manager for Creative Zen
+Version:      	%{src_version}
+Release:      	%{pkg_release}
+License:      	GPLv2 license
+Group:          Multimedia/Audio Manager
+Source:         http://jaist.dl.sourceforge.net/sourceforge/gnomad2/%{src_name}-%{version}.tar.gz
+Requires: 	SFElibnjb
+Requires:	SFElibid3tag
+Requires:   SFElibnjb
+BuildRequires:	SFElibid3tag-devel
+
+Patch:        	gnomad2-01-2.8.13_p1_LDADD.diff
+Vendor:       	Linus Walleij
+URL:            http://gnomad2.sourceforge.net
+Packager:     	Anil Gulecha, Indraneel RR
+BuildRoot:	%{_tmppath}/%{src_name}-%{version}-build
+
+%description 
+Gnomad2 is a GTK+ music manager and swiss army knife for the Creative Labs NOMAD
+and Zen range plus the Dell DJ devices using the Portable Digital Entertainment (PDE) protocol. 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Prep-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%prep 
+%setup -q -n %{src_name}-%{version}
+./configure --prefix=%{_prefix}
+
+%patch0 -p 1
+
+%build
+make
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(0755,root,bin)
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/*
+%dir %attr (0755, root, sys) %{_datadir}
+%{_datadir}/*
+
+%changelog
+* 2007.Aug.11 - Anil Gulecha, Indraneel RR
+- Initial spec.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFEgtkglext.spec	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,90 @@
+# =========================================================================== 
+#                    Spec File
+# =========================================================================== 
+%include Solaris.inc
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Software specific variable definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%define src_name	gtkglext
+%define src_version	1.2.0
+%define pkg_release	1
+
+# %{_topdir} is by default set to RPM_BUILD_ROOT
+# Default path for RPM_BUILD_ROOT is /var/tmp/pkgbuild-{username}
+# Install the software here as part of package building steps
+
+# =========================================================================== 
+#                    SVR4 required definitions
+# =========================================================================== 
+SUNW_Pkg: SFE%{src_name}-%{base_arch}
+SUNW_ProdVers:	%{src_version}
+SUNW_BaseDir:	%{_basedir}
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Tag definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+Name:         	%{src_name}
+Summary:      	GtkGLExt is an OpenGL extension to GTK+ 2.0 or later
+Version:      	%{src_version}
+Release:      	%{pkg_release}
+License:      	LGPL
+#Group:          
+Source:         http://nchc.dl.sourceforge.net/sourceforge/gtkglext/%{src_name}-%{version}.tar.bz2
+#Patch:        	yourpatch-name
+Vendor:       	http://gtkglext.sourceforge.net
+URL:            http://gtkglext.sourceforge.net
+Packager:     	Shivakumar GN
+BuildRoot:		%{_tmppath}/%{src_name}-%{version}-build
+
+#Requires:      
+#BuildRequires: 
+
+%description
+GtkGLExt is an OpenGL extension to GTK+ 2.0 or later
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Prep-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%prep 
+%setup -q -n %{src_name}-%{version}
+./configure --prefix=%{_prefix}
+
+#%patch0 -p 1
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Build-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%build
+make
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Install-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+# File permissions, ownership information. Note the difference between 
+# bin(_bindir),share(_datadir) & share/applications
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+%files
+%files
+%defattr(-,root,bin)
+%dir %attr (0755, root, sys) %{_includedir}
+%{_includedir}/*
+
+%dir %attr (0755, root, sys) %{_libdir}
+%{_libdir}/*
+
+%dir %attr (0755, root, sys) %{_datadir}
+%{_datadir}/*
+
+
+%changelog
+* 2007.Aug.11 - <shivakumar dot gn at gmail dot com>
+- Initial spec.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFEhtml-tidy.spec	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,95 @@
+# ===========================================================================
+#                    Spec File for Html Tidy
+# ===========================================================================
+%include Solaris.inc
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+# Software specific variable definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+%define src_name	tidy
+%define src_version	051026
+%define pkg_release	1
+
+%define deploy_prefix	/usr/local
+
+
+# %{_topdir} is by default set to RPM_BUILD_ROOT
+# Default path for RPM_BUILD_ROOT is /var/tmp/pkgbuild-{username}
+# Install the software here as part of package building steps
+
+# =========================================================================== 
+#                    SVR4 required definitions
+# =========================================================================== 
+SUNW_Pkg:	SFE%{src_name}-%{base_arch}
+SUNW_ProdVers:	${src_version}
+SUNW_BaseDir:	%{_basedir}
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Tag definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+Name:         	%{src_name}
+Summary:      	HTML parser and pretty printer
+Version:      	%{src_version}
+Release:      	%{pkg_release}
+License:      	W3C license
+Group:          Application/Web
+Source:	        http://tidy.sourceforge.net/src/old/%{src_name}_src_%{src_version}.tgz
+Patch:        	tidy-01-051026.diff
+Vendor:       	Dave Raggett
+URL:            http://tidy.sourceforge.net
+Packager:     	Ravi,Saurabh
+BuildRoot:		%{_tmppath}/%{src_name}-%{version}-build
+
+
+#Ideally these should be included for requires: glib2, gtk2, pango
+#Requires:      
+#BuildRequires: 
+
+%description 
+HTML Tidy is an open source program and library for checking and generating clean XHTML/HTML.
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Prep-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%prep 
+%setup -q -n %{src_name}
+
+%patch0 -p 1
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Build-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%build
+cd build/gmake
+make
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Install-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+
+%install
+cd build/gmake
+make install DESTDIR=$RPM_BUILD_ROOT
+
+echo "_prefix  %{_prefix}"
+echo "RPM   $RPM_BUILD_ROOT"
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+# File permissions, ownership information. Note the difference between 
+# bin(_bindir),share(_datadir) & share/applications
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+%files
+%defattr(-,root,bin)
+
+%dir %attr (0755, root, bin)  %{deploy_prefix}/bin
+%{deploy_prefix}/bin/*
+%dir %attr (0755, root, bin) %{deploy_prefix}/lib
+%{deploy_prefix}/lib/*
+%dir %attr (0755, root, bin) %{deploy_prefix}/include
+%{deploy_prefix}/include/*
+
+%changelog
+* 2007.06.25 - Ravibharadwaj & Saurabh vyas
+- Initial spec
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFElcab.spec	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,56 @@
+#
+# spec file for package SFElcab.spec
+#
+# includes module(s): lcab
+#
+%include Solaris.inc
+
+%define src_name	lcab
+%define src_version 1.0b12
+%define src_url	    http://coding.wooyayhoopla.be/lcab/sources/
+
+# =========================================================================== 
+#                    SVR4 required definitions
+# =========================================================================== 
+SUNW_Pkg:	SFE%{src_name}-%{base_arch}
+SUNW_ProdVers:	${src_version}
+SUNW_BaseDir:	%{_basedir}
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Tag definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+Name:                   SFElcab
+Summary:                lcab - Microsoft cabinet file creator
+Version:                %{src_version}
+Source:                 %{src_url}/%{src_name}-%{version}.tar.gz
+SUNW_BaseDir:           %{_basedir}
+BuildRoot:              %{_tmppath}/%{name}-%{version}-build
+
+Requires: SUNWcsl
+Requires: SUNWlibms
+
+%prep
+%setup -q -n %{src_name}-%{version}
+autoreconf
+./configure --prefix=%{_prefix} \
+            --bindir=%{_bindir} 
+%build
+make 
+
+%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}/*
+
+%changelog
+* Sat Aug 11 2007 - [email protected]
+- Initial version
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFElibcryptopp.spec	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,63 @@
+#
+# spec file for package SFElibcryptocpp.spec
+#
+# includes module(s): libcryptopp
+#
+%include Solaris.inc
+
+%define src_name	cryptopp
+%define src_version	551
+%define pkg_release	1
+
+# =========================================================================== 
+#                    SVR4 required definitions
+# =========================================================================== 
+SUNW_Pkg:	SFE%{src_name}-%{base_arch}
+SUNW_ProdVers:	${src_version}
+SUNW_BaseDir:	%{_basedir}
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Tag definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+Name:                   SFElibcryptopp
+Summary:                libcrypto++ - C++ class library of cryptographic algorithms
+Version:                551
+Source:                 %{src_url}/%{src_name}%{version}.zip
+SUNW_BaseDir:           %{_basedir}
+BuildRoot:              %{_tmppath}/%{name}-%{version}-build
+
+Requires: SUNWcsl
+Requires: SUNWlibms
+#BuildRequires: 
+
+%prep
+%setup -c -q -n %{src_name}%{version}
+
+%build
+export CC=/opt/SUNWspro/bin/cc
+export CXX=/opt/SUNWspro/bin/CC
+make 
+
+%install
+rm -rf $RPM_BUILD_ROOT
+make install PREFIX=$RPM_BUILD_ROOT%{_basedir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+
+%dir %attr(0755,root,bin) %{_bindir}
+%{_bindir}/*
+
+%dir %attr(0755,root,bin) %{_includedir}
+%{_includedir}/*
+
+%dir %attr(0755,root,bin) %{_libdir}
+%{_libdir}/*
+
+%changelog
+* Sat Aug 11 2007 - [email protected]
+- Initial version
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFElibnjb.spec	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,81 @@
+# =========================================================================== 
+#                    Spec File for Geany
+# =========================================================================== 
+%include Solaris.inc
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Software specific variable definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%define src_name	libnjb
+%define src_version	2.2.5
+%define pkg_release	1
+
+# %{_topdir} is by default set to RPM_BUILD_ROOT
+# Default path for RPM_BUILD_ROOT is /var/tmp/pkgbuild-{username}
+# Install the software here as part of package building steps
+
+# =========================================================================== 
+#                    SVR4 required definitions
+# =========================================================================== 
+SUNW_Pkg: SFE%{src_name}-%{base_arch}
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Tag definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+Name:         	%{src_name}
+Summary:      	C library and API for communicating with creative and other audio players
+Version:      	%{src_version}
+Release:      	%{pkg_release}
+License:      	BSD license
+Group:          Library
+Source:         http://nchc.dl.sourceforge.net/sourceforge/libnjb/%{src_name}-%{version}.tar.gz
+Patch:        	libnjb-01-2.2.5-p1-makefilechanges.diff
+Vendor:       	John Mechalas
+URL:            http://libnjb.sourceforge.net
+Packager:     	Anil Gulecha
+BuildRoot:		%{_tmppath}/%{src_name}-%{version}-build
+
+
+
+%description 
+libnjb is a C library and API for communicating with the Creative Nomad JukeBox
+ and Dell DJ digital audio players under BSD, Linux, Mac OS X and Windows. 
+ 
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Prep-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%prep 
+%setup -q -n %{src_name}-%{version}
+export ac_cv_func_malloc_0_nonnull=yes
+export CPPFLAGS=-I/usr/sfw/include
+export LDFLAGS=-L/usr/sfw/lib
+./configure --prefix=%{_prefix}
+
+%patch0 -p 1
+
+%build
+make
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(0755,root,bin)
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/*
+
+%dir %attr (0755, root, bin) %{_includedir}
+%{_includedir}/*
+
+%dir %attr (0755, root, bin) %{_libdir}
+%{_libdir}/*
+
+
+%changelog
+* 2007.Aug.11 - Anil
+- Initial spec.
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFElibogg.spec	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,87 @@
+# =========================================================================== 
+#                    Spec File
+# =========================================================================== 
+%include Solaris.inc
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Software specific variable definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%define src_name	libogg
+%define src_version	1.1.3
+%define pkg_release	1
+
+# =========================================================================== 
+#                    SVR4 required definitions
+# =========================================================================== 
+SUNW_Pkg: SFE%{src_name}-%{base_arch}
+SUNW_ProdVers:	%{src_version}
+SUNW_BaseDir:	%{_basedir}
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Tag definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+Name:         	%{src_name}
+Summary:      	libogg - ogg vorbis library
+Version:      	%{src_version}
+Release:      	%{pkg_release}
+License:      	GPLv2
+Group:          Development/Tools
+Source:         http://downloads.xiph.org/releases/ogg/%{src_name}-%{version}.tar.gz
+URL:            http://www.xiph.org
+Packager:     	Shivakumar GN
+BuildRoot:		%{_tmppath}/%{src_name}-%{version}-build
+
+
+#Ideally these should be included for requires: glib2, gtk2, pango
+#Requires:      
+#BuildRequires: 
+
+%description 
+libogg - ogg vorbis library
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Prep-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%prep 
+%setup -q -n %{src_name}-%{version}
+./configure --prefix=%{_prefix}
+
+#%patch0 -p 1
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Build-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%build
+make
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Install-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+# File permissions, ownership information. Note the difference between 
+# bin(_bindir),share(_datadir) & share/applications
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+%files
+%defattr(-,root,bin)
+
+%dir %attr (0755, root, bin) %{_libdir}
+%{_libdir}/*
+
+%dir %attr (0755, root, sys) %{_datadir}
+%{_datadir}/aclocal
+%{_datadir}/doc
+
+%dir %attr (0755, root, sys) %{_prefix}/include
+%{_prefix}/include/ogg
+
+
+%changelog
+* 2007.Aug.11 - <shivakumar dot gn at gmail dot com>
+- Initial spec.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFElibpng.spec	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,82 @@
+# =========================================================================== 
+#                    Spec File
+# =========================================================================== 
+%include Solaris.inc
+
+%define src_name	libpng
+%define src_version	1.2.18
+%define pkg_release	1
+
+# =========================================================================== 
+#                    SVR4 required definitions
+# =========================================================================== 
+SUNW_Pkg: SFE%{src_name}-%{base_arch}
+SUNW_ProdVers:	%{src_version}
+SUNW_BaseDir:	%{_basedir}
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Tag definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+Name:         	%{src_name}
+Summary:      	libpng - reference library for use in applications that create and manipulate PNG (Portable Network Graphics) raster image files
+Version:      	%{src_version}
+Release:      	%{pkg_release}
+License:      	http://www.libpng.org/pub/png/src/libpng-LICENSE.txt
+Source:         http://jaist.dl.sourceforge.net/sourceforge/%{src_name}/%{src_name}-%{version}.tar.bz2
+URL:            http://www.libpng.org
+Packager:     	Shivakumar GN
+BuildRoot:		%{_tmppath}/%{src_name}-%{version}-build
+
+#Requires:      
+#BuildRequires: 
+
+%description 
+libpng - reference library for use in applications that create and manipulate PNG (Portable Network Graphics) raster image files
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Prep-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%prep 
+%setup -q -n %{src_name}-%{version}
+./configure --prefix=%{_prefix}
+
+#%patch0 -p 1
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Build-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%build
+make
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Install-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+# File permissions, ownership information. Note the difference between 
+# bin(_bindir),share(_datadir) & share/applications
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+%files
+%defattr(-,root,bin)
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/*
+
+%dir %attr (0755, root, sys) %{_libdir}
+%{_libdir}/*
+
+%dir %attr (0755, root, sys) %{_datadir}
+%{_datadir}/man
+
+%dir %attr (0755, root, sys) %{_includedir}
+%{_includedir}/*
+
+
+%changelog
+* 2007.Aug.11 - <shivakumar dot gn at gmail dot com>
+- Initial spec.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFElibstatgab.spec	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,68 @@
+#
+# spec file for package SFElibstatgrab.spec
+#
+# includes module(s): libstatgrab
+#
+%include Solaris.inc
+
+%define src_name	libstatgrab
+%define src_url	    http://ftp.uk.i-scream.org/sites/ftp.i-scream.org/pub/i-scream/libstatgrab
+%define src_version	0.15
+%define pkg_release	1
+
+SUNW_Pkg: SFE%{src_name}-%{base_arch}
+SUNW_ProdVers:	%{src_version}
+SUNW_BaseDir:	%{_basedir}
+
+Name:                   SFElibstatgrab
+Summary:                libstatgrab - Cross platform library to access system statistics
+Version:                0.15
+Source:                 %{src_url}/%{src_name}-%{version}.tar.gz
+SUNW_BaseDir:           %{_basedir}
+BuildRoot:              %{_tmppath}/%{name}-%{version}-build
+
+Requires: SUNWcsl
+Requires: SUNWlibms
+BuildRequires: SUNWgcc
+
+%prep
+%setup -q -n %{src_name}-%{version}
+export CC=gcc
+export CXX=g++
+export CFLAGS="-I /usr/gnu/include"
+export LDFLAGS="-R /usr/gnu/lib"
+./configure --prefix=%{_prefix} \
+            --bindir=%{_bindir} \
+            --mandir=%{_mandir} \
+            --includedir=%{_includedir} \
+            --libdir=%{_libdir} \
+            --with-curses-prefix=/usr/gnu
+%build
+make 
+
+%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}/*
+
+%dir %attr(0755,root,bin) %{_libdir}
+%{_libdir}/*
+
+%dir %attr(0755,root,bin) %{_mandir}
+%{_mandir}/*
+
+%dir %attr(0755,root,bin) %{_includedir}
+%{_includedir}/*
+
+%changelog
+* Sat Aug 11 2007 - [email protected]
+- Initial version
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFElibuninum.spec	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,65 @@
+#
+# spec file for package SFElibuninum.spec
+#
+# includes module(s): libuninum
+#
+%include Solaris.inc
+
+%define src_name	libuninum
+%define src_url	    http://billposer.org/Software/Downloads
+%define src_version	2.5
+%define pkg_release	1
+
+SUNW_Pkg: SFE%{src_name}
+SUNW_ProdVers:	%{src_version}
+SUNW_BaseDir:	%{_basedir}
+
+Name:                   SFElibuninum
+Summary:                libuninum - A Library for converting Unicode strings to numbers and numbers to Unicode strings
+Version:                2.5
+Source:                 %{src_url}/%{src_name}-%{version}.tar.bz2
+SUNW_BaseDir:           %{_basedir}
+BuildRoot:              %{_tmppath}/%{name}-%{version}-build
+
+Requires: SUNWcsl
+Requires: SUNWlibms
+Requires: SFEgmp
+BuildRequires: SFEgmp-devel
+
+%prep
+%setup -q -n %{src_name}-%{version}
+./configure --prefix=%{_prefix} \
+            --bindir=%{_bindir} \
+            --mandir=%{_mandir} \
+            --includedir=%{_includedir} \
+            --libdir=%{_libdir} \
+            --disable-allocaok
+%build
+make 
+
+%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}/*
+
+%dir %attr(0755,root,bin) %{_libdir}
+%{_libdir}/*
+
+%dir %attr(0755,root,bin) %{_mandir}
+%{_mandir}/*
+
+%dir %attr(0755,root,bin) %{_includedir}
+%{_includedir}/*
+
+%changelog
+* Sat Aug 11 2007 - [email protected]
+- Initial version
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFElibutf8proc.spec	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,55 @@
+#
+# spec file for package SFElibutf8proc.spec
+#
+# includes module(s): libutf8proc
+#
+%include Solaris.inc
+
+%define src_name	utf8proc
+%define src_url		http://www.flexiguided.de/pub
+%define src_version	1.1.2
+%define pkg_release	1
+
+SUNW_Pkg: SFE%{src_name}-%{base_arch}
+SUNW_ProdVers:	%{src_version}
+SUNW_BaseDir:	%{_basedir}
+
+Name:                   SFElibutf8proc
+Summary:                UTF-8 Processing Library
+Version:                v1.1.2
+Source:                 %{src_url}/%{src_name}-%{version}.tar.gz
+SUNW_BaseDir:           %{_basedir}
+BuildRoot:              %{_tmppath}/%{name}-%{version}-build
+
+Requires: SUNWcsl
+Requires: SUNWlibms
+
+%prep
+%setup -q -n %{src_name}
+
+%build
+make c-library
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d -m 0755 $RPM_BUILD_ROOT%{_libdir}
+install -d -m 0755 $RPM_BUILD_ROOT%{_includedir}
+install -m 0755 libutf8proc.a $RPM_BUILD_ROOT%{_libdir}/libutf8proc.a
+install -m 0755 utf8proc.h $RPM_BUILD_ROOT%{_includedir}/utf8proc.h
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+
+%dir %attr(0755,root,bin) %{_libdir}
+%{_libdir}/*
+
+%dir %attr(0755,root,bin) %{_includedir}
+%{_includedir}/*
+
+%changelog
+* Sat Aug 11 2007 - [email protected]
+- Initial version
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFEmedit.spec	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,85 @@
+# =========================================================================== 
+#                    Spec File
+# =========================================================================== 
+%include Solaris.inc
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Software specific variable definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%define src_name	medit
+%define src_version	0.8.9
+%define pkg_release	1
+
+# =========================================================================== 
+#                    SVR4 required definitions
+# =========================================================================== 
+SUNW_Pkg: SFE%{src_name}-%{base_arch}
+SUNW_ProdVers:	%{src_version}
+SUNW_BaseDir:	%{_basedir}
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Preamble 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+Name:         	%{src_name}
+Summary:      	Text editor
+Version:      	%{src_version}
+Release:      	%{pkg_release}
+License:      	GPLv2
+Group:          Development/Tools
+Source:         http://jaist.dl.sourceforge.net/sourceforge/mooedit/%{src_name}-%{src_version}.tar.bz2
+Patch:		    medit-01-0.8.9-solaris.sunstudio12.diff
+Vendor:       	medit
+URL:            http://mooedit.sourceforge.net
+Packager:     	Komala, Jayanthi
+BuildRoot:		%{_tmppath}/%{name}-%{version}-build
+#BuildRoot:     %{_builddir}/%{name}-root
+
+%description 
+GNU auotool
+
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Prep-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%prep 
+%setup -q
+CC=gcc
+export CC
+./configure --prefix=%{_prefix} \
+            --bindir=%{_bindir} \
+            --mandir=%{_mandir} \
+            --libdir=%{_libdir}
+
+%patch0 -p 1
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Build-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%build
+make
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(-,root,root)
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/*
+
+%dir %attr (0755, root, sys) %{_datadir}
+%{_datadir}/applications
+%{_datadir}/icons
+%{_datadir}/moo
+%{_datadir}/man
+%{_datadir}/mime
+%{_datadir}/pixmaps
+%{_datadir}/locale
+%{_basedir}/lib
+%{_basedir}/include
+
+
+%changelog
+* By Komala, Jayanthi
+- Initial spec
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFEmrxvt.spec	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,72 @@
+#
+# spec file for package SFEmrxvt
+#
+# includes module(s): Mrxvt
+#
+%include Solaris.inc
+
+%define src_name	mrxvt
+%define src_version	0.5.2
+%define pkg_release	1
+
+SUNW_Pkg: SFE%{src_name}-%{base_arch}
+SUNW_ProdVers:	%{src_version}
+SUNW_BaseDir:	/
+
+Name:                    SFEmrxvt
+Summary:                 Mrxvt - A light weight terminal emulator
+Version:                 %{src_version}
+Source:                  http://umn.dl.sourceforge.net/sourceforge/materm/%{src_name}-%{version}.tar.gz
+URL:                     http://materm.sourceforge.net/wiki/Main/HomePage
+#SUNW_BaseDir:            %{_basedir}
+BuildRoot:               %{_tmppath}/%{name}-%{version}-build
+Patch0:                  mrxvt-01-%{version}.sunstudio.diff
+
+Requires: SUNWcsu
+
+%prep
+%setup -q -n %{src_name}-%version
+%patch0 -p1
+
+%build
+./configure --prefix=%{_prefix} \
+            --mandir=%{_mandir} \
+            --libdir=%{_libdir} \
+            --libexecdir=%{_libexecdir} \
+            --infodir=%{_infodir} \
+            --sysconfdir=%{_sysconfdir} \
+            --datadir=%{_datadir} \
+            --enable-24bits --enable-xft --with-term=xterm
+make
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, sys)
+
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/*
+
+%dir %attr (0755, root, sys) %{_datadir}
+%dir %attr (0755, root, other) %{_datadir}/doc
+%dir %attr (0755, root, other) %{_datadir}/doc/mrxvt
+%{_datadir}/doc/mrxvt/*
+%dir %attr (0755, root, other) %{_datadir}/pixmaps
+%{_datadir}/pixmaps/*
+
+%dir %attr(0755, root, bin) %{_mandir}
+%dir %attr(0755, root, bin) %{_mandir}/man1
+%{_mandir}/man1/*
+
+%dir %attr(0755, root, sys) %{_sysconfdir}
+%dir %attr(0755, root, sys) %{_sysconfdir}/mrxvt
+%{_sysconfdir}/mrxvt/*
+
+%changelog
+* Sat Aug 11 2007 - [email protected]
+- Initial mrxvt spec file
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFEmsort.spec	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,66 @@
+#
+# spec file for package SFEmsort.spec
+#
+# includes module(s): msort
+#
+%include Solaris.inc
+
+%define src_name	msort
+%define src_url	    http://billposer.org/Software/Downloads
+%define src_version	8.40
+%define pkg_release	1
+
+SUNW_Pkg: SFE%{src_name}-%{base_arch}
+SUNW_ProdVers:	%{src_version}
+SUNW_BaseDir:	%{_basedir}
+
+Name:                   SFEmsort
+Summary:                msort - A program for sorting files in sophisticated ways
+Version:                8.40
+Source:                 %{src_url}/%{src_name}-%{version}.tar.bz2
+SUNW_BaseDir:           %{_basedir}
+BuildRoot:              %{_tmppath}/%{name}-%{version}-build
+
+Requires: SUNWcsl
+Requires: SUNWlibms
+Requires: SFElibuninum
+Requires: SFEgmp
+Requires: SFEtre
+Requires: SFEutf8proc
+BuildRequires: SUNWgcc
+BuildRequires: SFElibuninum
+
+%prep
+%setup -q -n %{src_name}-%{version}
+export CC=gcc
+export CXX=g++
+./configure --prefix=%{_prefix} \
+            --bindir=%{_bindir} \
+            --mandir=%{_mandir} \
+            --includedir=%{_includedir} \
+            --libdir=%{_libdir} \
+            --disable-allocaok
+%build
+make 
+
+%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}/*
+
+
+%dir %attr(0755,root,bin) %{_mandir}
+%{_mandir}/*
+
+%changelog
+* Sat Aug 11 2007 - [email protected]
+- Initial version
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFEpcre.spec	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,90 @@
+# =========================================================================== 
+#                    Spec File
+# =========================================================================== 
+%include Solaris.inc
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Software specific variable definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%define src_name	pcre
+%define src_version	7.2
+%define pkg_release	1
+
+# =========================================================================== 
+#                    SVR4 required definitions
+# =========================================================================== 
+SUNW_Pkg: SFE%{src_name}-%{base_arch}
+SUNW_ProdVers:	%{src_version}
+SUNW_BaseDir:	%{_basedir}
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Tag definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+Name:         	%{src_name}
+Summary:      	PCRE - Perl Compatible Regular Expressions
+Version:      	%{src_version}
+Release:      	%{pkg_release}
+License:      	BSD
+Source:         %{src_name}-%{version}.tar.gz
+Packager:     	Shivakumar GN
+BuildRoot:		%{_tmppath}/%{src_name}-%{version}-build
+
+#Requires:      
+#BuildRequires: 
+
+%description 
+PCRE - Perl Compatible Regular Expressions
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Prep-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%prep 
+%setup -q -n %{src_name}-%{version}
+./configure --prefix=%{_prefix}
+
+#%patch0 -p 1
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Build-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%build
+make
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Install-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+# File permissions, ownership information. Note the difference between 
+# bin(_bindir),share(_datadir) & share/applications
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+%files
+%defattr(-,root,bin)
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/*
+
+%dir %attr (0755, root, sys) %{_includedir}
+%{_includedir}/*
+
+%dir %attr (0755, root, sys) %{_libdir}
+%{_libdir}/*
+
+%dir %attr (0755, root, sys) %{_datadir}
+%{_datadir}/man
+%{_datadir}/doc
+#%{_datadir}/aclocal
+
+#%dir %attr (0755, root, other) %{_datadir}/applications
+#%{_datadir}/applications/*
+
+
+
+%changelog
+* 2007.Aug.11 - <shivakumar dot gn at gmail dot com>
+- Initial spec.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFEproj4.spec	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,90 @@
+# =========================================================================== 
+#                    Spec File
+# =========================================================================== 
+%include Solaris.inc
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Software specific variable definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%define src_name	proj4
+%define src_version	4.5.0
+%define deploy_name	proj
+%define deploy_version	%{src_version}
+%define pkg_release	1
+
+# =========================================================================== 
+#                    SVR4 required definitions
+# =========================================================================== 
+SUNW_Pkg: SFE%{src_name}-%{base_arch}
+SUNW_ProdVers:	%{src_version}
+SUNW_BaseDir:	%{_basedir}
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Tag definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+Name:         	%{src_name}
+Summary:      	PROJ.4 - Cartographic Projections Library
+Version:      	%{src_version}
+Release:      	%{pkg_release}
+License:      	MIT License
+Source:         ftp://ftp.remotesensing.org/proj/%{deploy_name}-%{version}.tar.gz
+URL:            http://proj.maptools.org
+Packager:     	Shivakumar GN
+BuildRoot:		%{_tmppath}/%{deploy_name}-%{version}-build
+
+#Requires:      
+#BuildRequires: 
+
+%description 
+PROJ.4 is a Cartographic Projections Library. It is in use by many mapping & GIS apps such as GRASS GIS, MapServer, PostGIS, Thuban, OGDI, OGRCoordinateTransformation.
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Prep-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%prep 
+%setup -q -n %{deploy_name}-%{version}
+./configure --prefix=%{_prefix}
+
+#%patch0 -p 1
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Build-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%build
+make
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Install-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+# File permissions, ownership information. Note the difference between 
+# bin(_bindir),share(_datadir) & share/applications
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+%files
+%defattr(-,root,bin)
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/*
+
+%dir %attr (0755, root, sys) %{_includedir}
+%{_includedir}/*
+
+%dir %attr (0755, root, sys) %{_libdir}
+%{_libdir}/*
+
+%dir %attr (0755, root, sys) %{_datadir}
+%{_datadir}/*
+
+%dir %attr (0755, root, sys) %{_prefix}/man
+%{_prefix}/man/*
+
+
+%changelog
+* 2007.Aug.11 - <shivakumar dot gn at gmail dot com>
+- Initial spec.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFEspeex.spec	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,105 @@
+# =========================================================================== 
+#                    Spec File
+# =========================================================================== 
+%include Solaris.inc
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Software specific variable definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%define src_name	speex
+%define src_version	1.0.5
+%define pkg_release	1
+
+# =========================================================================== 
+#                    SVR4 required definitions
+# =========================================================================== 
+SUNW_Pkg: SFE%{src_name}-%{base_arch}
+SUNW_ProdVers:	%{src_version}
+SUNW_BaseDir:	%{_basedir}
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Tag definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+Name:         	%{src_name}
+Summary:      	Speex: A Free Codec For Free Speech
+Version:      	%{src_version}
+Release:      	%{pkg_release}
+License:      	BSD license
+Source:         http://downloads.xiph.org/releases/speex/%{src_name}-%{version}.tar.gz
+#Patch:        	yourpatch-name
+URL:            http://www.speex.org
+Packager:     	Shivakumar GN
+BuildRoot:		%{_tmppath}/%{src_name}-%{version}-build
+
+#Requires:      
+#BuildRequires: 
+
+%description 
+Speex is an Open Source/Free Software  patent-free audio compression format designed for speech. The Speex Project aims to lower the barrier of entry for voice applications by providing a free alternative to expensive proprietary speech codecs. Moreover, Speex is well-adapted to Internet applications and provides useful features that are not present in most other codecs.
+
+ Speex is based on CELP  and is designed to compress voice at bitrates ranging from 2 to 44 kbps. Some of Speex's features include:
+
+    * Narrowband (8 kHz), wideband (16 kHz), and ultra-wideband (32 kHz) compression in the same bitstream
+    * Intensity stereo encoding
+    * Packet loss concealment
+    * Variable bitrate operation (VBR)
+    * Voice Activity Detection (VAD)
+    * Discontinuous Transmission (DTX)
+    * Fixed-point port
+    * Acoustic echo canceller
+    * Noise suppression
+
+Note that Speex has a number of features that are not present in other codecs, such as intensity stereo encoding, integration of multiple sampling rates in the same bitstream (embedded coding), and a VBR mode;
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Prep-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%prep 
+%setup -q -n %{src_name}-%{version}
+./configure --prefix=%{_prefix}
+
+#%patch0 -p 1
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Build-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%build
+make
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Install-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+# File permissions, ownership information. Note the difference between 
+# bin(_bindir),share(_datadir) & share/applications
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+%files
+%defattr(-,root,bin)
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/*
+
+%dir %attr (0755, root, sys) %{_includedir}
+%{_includedir}/*
+
+%dir %attr (0755, root, sys) %{_libdir}
+%{_libdir}/*
+
+%dir %attr (0755, root, sys) %{_datadir}
+%{_datadir}/man
+%{_datadir}/doc
+%{_datadir}/aclocal
+
+#%dir %attr (0755, root, other) %{_datadir}/applications
+#%{_datadir}/applications/*
+
+
+%changelog
+* 2007.Aug.11 - <shivakumar dot gn at gmail dot com>
+- Initial spec.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFEstreamripper.spec	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,91 @@
+# =========================================================================== 
+#                    Spec File
+# =========================================================================== 
+%include Solaris.inc
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Software specific variable definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%define src_name	streamripper
+%define src_version	1.62.1
+%define pkg_release	1
+
+# =========================================================================== 
+#                    SVR4 required definitions
+# =========================================================================== 
+SUNW_Pkg: SFE%{src_name}-%{base_arch}
+SUNW_ProdVers:	%{src_version}
+SUNW_BaseDir:	%{_basedir}
+
+
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Tag definitions
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+Name:         	%{src_name}
+Summary:      	streamripper : audio stream ripper
+Version:      	%{src_version}
+Release:      	%{pkg_release}
+License:      	GPL
+Source:         http://nchc.dl.sourceforge.net/sourceforge/streamripper/%{src_name}-%{version}.tar.gz
+#Patch:        	yourpatch-name
+URL:            http://streamripper.sourceforge.net
+Packager:     	Shivakumar GN
+BuildRoot:		%{_tmppath}/%{src_name}-%{version}-build
+
+#Requires:      
+#BuildRequires: 
+
+%description 
+You can use it to rip (copy) streams of the following kinds:
+
+   1. .mp3 Shoutcast streams - the kind of streams found on shoutcast.com.
+   2. .mp3 Icecast streams - a GNU GPL/Open Source version of Shoutcast. Both Icecast 1.x and Icecast 2.x are supported. However, UDP metadata is not supported for Icecast 1.x.
+   3. .nvs (Nullsoft Streaming Video) streams - which Winamp tv uses.
+   4. .aac Shoutcast/Icecast streams - the kind of streams found on tuner2.com. NOTE: Streamripper can't rip RealAudio AAC streams, only shoutcast/icecast AAC.
+   5. .ogg streams - these streams are found at dir.xiph.org.
+
+Streamripper can't help with ripping stuff like RealPlayer, Windows MediaPlayer, MusicMatch or anything else similar.
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Prep-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%prep 
+%setup -q -n %{src_name}-%{version}
+CC=gcc
+./configure --prefix=%{_prefix}
+
+#%patch0 -p 1
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Build-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+%build
+make
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+# Install-Section 
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 
+
+%install
+make install DESTDIR=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+# File permissions, ownership information. Note the difference between 
+# bin(_bindir),share(_datadir) & share/applications
+# +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+%files
+%defattr(-,root,bin)
+%dir %attr (0755, root, bin) %{_bindir}
+%{_bindir}/*
+
+%dir %attr (0755, root, sys) %{_datadir}
+%{_datadir}/man
+
+
+%changelog
+* 2007.Aug.11 - <shivakumar dot gn at gmail dot com>
+- Initial spec.
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFEtre.spec	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,63 @@
+#
+# spec file for package SFEtre.spec
+#
+# includes module(s): TRE
+#
+%include Solaris.inc
+
+%define src_name	tre
+%define src_url		http://laurikari.net/tre
+%define src_version	0.7.5
+%define pkg_release	1
+
+SUNW_Pkg: SFE%{src_name}
+SUNW_ProdVers:	%{src_version}
+SUNW_BaseDir:	%{_basedir}
+
+Name:                   SFEtre
+Summary:                TRE - Lightweight, Robust, and Efficient POSIX compliant regexp matching library 
+Version:                0.7.5
+Source:                 %{src_url}/%{src_name}-%{version}.tar.bz2
+SUNW_BaseDir:           %{_basedir}
+BuildRoot:              %{_tmppath}/%{name}-%{version}-build
+
+Requires: SUNWcsl
+Requires: SUNWlibms
+
+%prep
+%setup -q -n %{src_name}-%{version}
+./configure --prefix=%{_prefix} \
+            --bindir=%{_bindir} \
+            --mandir=%{_mandir} \
+            --includedir=%{_includedir} \
+            --libdir=%{_libdir}
+
+%build
+make 
+
+%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}/*
+
+%dir %attr(0755,root,bin) %{_libdir}
+%{_libdir}/*
+
+%dir %attr(0755,root,bin) %{_mandir}
+%{_mandir}/*
+
+%dir %attr(0755,root,bin) %{_includedir}
+%{_includedir}/*
+
+%changelog
+* Sat Aug 11 2007 - [email protected]
+- Initial version
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFEwebcpp.spec	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,57 @@
+#
+# spec file for package SFEwebcpp.spec
+#
+# includes module(s): Webcpp
+#
+%include Solaris.inc
+
+%define src_name	webcpp
+%define src_url		http://heanet.dl.sourceforge.net/sourceforge/webcpp
+%define src_version	0.8.4
+%define pkg_release	1
+
+SUNW_Pkg: SFE%{src_name}-%{base_arch}
+SUNW_ProdVers:	%{src_version}
+SUNW_BaseDir:	%{_basedir}
+
+
+Name:                   SFEwebcpp
+Summary:                Webcpp - Webcpp converts source code into syntax highlighted HTML
+Version:                0.8.4
+Source:                 %{src_url}/%{src_name}-%{version}-src.tar.gz
+SUNW_BaseDir:           %{_basedir}
+BuildRoot:              %{_tmppath}/%{name}-%{version}-build
+
+Requires: SUNWcsl
+Requires: SUNWlibms
+
+%prep
+%setup -q -n %{src_name}-%{version}-src
+./configure --prefix=%{_prefix} \
+            --bindir=%{_bindir} \
+            --datadir=%{_datadir}
+
+%build
+make 
+
+%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}/*
+
+%dir %attr(0755,root,bin) %{_datadir}
+%dir %attr(0755,root,bin) %{_datadir}/webcpp
+%{_datadir}/webcpp/*
+
+%changelog
+* Sat Aug 11 2007 - [email protected]
+- Initial version
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/SFExtail.spec	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,58 @@
+#
+# spec file for package SFExtail.spec
+#
+# includes module(s): xtail
+
+%include Solaris.inc
+
+%define src_name	xtail
+%define src_url		http://www.unicom.com/sw/xtail
+%define src_version	2.1
+%define pkg_release	1
+
+SUNW_Pkg: SFE%{src_name}-%{base_arch}
+SUNW_ProdVers:	%{src_version}
+SUNW_BaseDir:	%{_basedir}
+
+Name:                   SFExtail
+Summary:                xtail - Watch the growth of files and directories
+Version:                2.1
+Source:                 %{src_url}/%{src_name}-%{version}.tar.gz
+SUNW_BaseDir:           %{_basedir}
+BuildRoot:              %{_tmppath}/%{name}-%{version}-build
+
+Requires: SUNWcsl
+Requires: SUNWlibms
+
+%prep
+%setup -q -n %{src_name}-%{version}
+./configure --prefix=%{_prefix} \
+            --bindir=%{_bindir} \
+            --mandir=%{_mandir}
+
+%build
+make 
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d -m 0755 $RPM_BUILD_ROOT%{_bindir}
+install -d -m 0755 $RPM_BUILD_ROOT%{_mandir}/man1
+install -m 0755 xtail $RPM_BUILD_ROOT%{_bindir}/xtail
+install -m 0644 xtail.1 $RPM_BUILD_ROOT%{_mandir}/man1/xtail.1
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr (-, root, bin)
+
+%dir %attr(0755,root,bin) %{_bindir}
+%{_bindir}/*
+
+%dir %attr(0755,root,bin) %{_mandir}
+%{_mandir}/*
+
+%changelog
+* Sat Aug 11 2007 - [email protected]
+- Initial version
+
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/afio-01-2.5.gcc.diff	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,25 @@
+diff -r 5294849045d2 Makefile
+--- a/Makefile	Sun Aug 12 02:00:50 2007 +0530
++++ b/Makefile	Sun Aug 12 02:08:39 2007 +0530
+@@ -71,7 +71,7 @@ MW=
+ MW=
+ #MW=-Wtraditional -Wcast-qual -Wcast-align -Wconversion -pedantic -Wlong-long -Wimplicit -Wuninitialized -W -Wshadow -Wsign-compare -Wstrict-prototypes -Wmissing-declarations
+ 
+-CFLAGS1 = -Wall -Wstrict-prototypes -s -O2 -fomit-frame-pointer ${LARGEFILEFLAGS} ${MW}
++CFLAGS1 = -Wall -Wstrict-prototypes -s -O3 -fomit-frame-pointer ${LARGEFILEFLAGS} ${MW}
+ 
+ CC=gcc
+ 
+@@ -88,8 +88,10 @@ clean:
+ 	cd regtest; /bin/sh regtest.clean
+ 
+ install: afio
+-	cp afio /usr/local/bin
+-	cp afio.1 /usr/share/man/man1
++	mkdir -p $(DESTDIR)/$(PREFIX)/bin
++	mkdir -p $(DESTDIR)/$(PREFIX)/share/man/man1
++	/usr/sbin/install -c $(DESTDIR)/$(PREFIX)/bin -m 0755 -u root -g bin afio
++	/usr/sbin/install -c $(DESTDIR)/$(PREFIX)/share/man/man1 -m 0644 -u root -g bin afio.1
+ 
+ # generate default list of -E extensions from manpage
+ # note: on sun, I had to change awk command below to nawk or gawk
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/arj-01-3.10.22.gcc.diff	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,30 @@
+diff -r e83bcadee8a5 fardata.c
+--- a/fardata.c	Sat Aug 11 23:45:23 2007 +0530
++++ b/fardata.c	Sun Aug 12 00:31:36 2007 +0530
+@@ -190,6 +190,7 @@ int msg_sprintf(char *str, FMSG *fmt, ..
+ 
+ /* Length-limited strlen() */
+ 
++#ifndef SUNOS       /* Solaris defines its onw strnlen in strings.h */
+ static int strnlen(const char FAR *s, int count)
+ {
+  const char FAR *sc;
+@@ -198,6 +199,7 @@ static int strnlen(const char FAR *s, in
+   ;
+  return(sc-s);
+ }
++#endif
+ 
+ /* Hex representation of digits */
+ 
+diff -r e83bcadee8a5 gnu/configure.in
+--- a/gnu/configure.in	Sat Aug 11 23:45:23 2007 +0530
++++ b/gnu/configure.in	Sun Aug 12 00:31:36 2007 +0530
+@@ -78,7 +78,6 @@ interix3*)
+         CFLAGS="-DSUNOS -D_UNIX"
+         DLL_FLAGS="-shared -fPIC"
+         DLL_CFLAGS="-shared -fPIC"
+-        LD_STRIP="gnu/stripgcc.lnk"
+ 	;;
+ os2*)
+ 	PROG_EXT=".exe"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/asterisk-01-include.relocate.diff	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,13 @@
+diff -uNr asterisk-1.4.10.1/Makefile asterisk-1.4.10.1.patched/Makefile
+--- asterisk-1.4.10.1/Makefile	2007-08-10 04:40:46.000000000 +0530
++++ asterisk-1.4.10.1.patched/Makefile	2007-08-13 00:55:19.084389000 +0530
+@@ -428,7 +428,8 @@
+ 		chmod 755 $(DESTDIR)$(ASTSBINDIR)/safe_asterisk;\
+ 	fi
+ 	$(INSTALL) -d $(DESTDIR)$(ASTHEADERDIR)
+-	$(INSTALL) -m 644 include/asterisk.h $(DESTDIR)$(includedir)
++	#$(INSTALL) -m 644 include/asterisk.h $(DESTDIR)$(includedir)
++	$(INSTALL) -m 644 include/asterisk.h $(DESTDIR)$(ASTHEADERDIR)
+ 	$(INSTALL) -m 644 include/asterisk/*.h $(DESTDIR)$(ASTHEADERDIR)
+ 	if [ -n "$(OLDHEADERS)" ]; then \
+ 		rm -f $(addprefix $(DESTDIR)$(ASTHEADERDIR)/,$(OLDHEADERS)) ;\
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/easytag2.1-01-libnsl.diff	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,12 @@
+diff -uNr easytag-2.1.orig/src/Makefile easytag-2.1/src/Makefile
+--- easytag-2.1.orig/src/Makefile	2007-08-25 11:30:45.801855000 +0530
++++ easytag-2.1/src/Makefile	2007-08-25 11:34:09.293921000 +0530
+@@ -138,7 +138,7 @@
+ INTLLIBS = 
+ LDFLAGS = 
+ LIBOBJS =  lstat$U.o
+-LIBS = -lm -lm -lz -lstdc++ -lFLAC -lm -lvorbisfile -lvorbis -logg -lm -lsocket 
++LIBS = -lm -lm -lz -lstdc++ -lFLAC -lm -lvorbisfile -lvorbis -logg -lm -lsocket -lnsl
+ LIBTOOL = $(SHELL) $(top_builddir)/libtool
+ LN_S = ln -s
+ LTLIBOBJS =  lstat$U.lo
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/geany-01-V0.11.sunpro.diff	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,32 @@
+diff -uNr geany-0.11.orig/src/Makefile geany-0.11/src/Makefile
+--- geany-0.11.orig/src/Makefile	2007-08-04 20:34:33.245681000 +0530
++++ geany-0.11/src/Makefile	2007-08-04 20:42:47.817032000 +0530
+@@ -246,14 +246,14 @@
+ #AM_CFLAGS = -DGEANY_DEBUG -Wall -pipe -g -O0
+ geany_SOURCES = $(SRCS) vte.c vte.h
+ #geany_SOURCES = $(SRCS) win32.c win32.h
+-geany_LDADD = ../scintilla/libscintilla.a ../tagmanager/libtagmanager.a -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lmlib -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   -lstdc++ $(INTLLIBS)
++geany_LDADD = ../scintilla/libscintilla.a ../tagmanager/libtagmanager.a -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lmlib -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   -lCrun $(INTLLIBS)
+ #geany_LDADD = ../scintilla/libscintilla.a ../tagmanager/libtagmanager.a -lstdc++ -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lmlib -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -lglib-2.0   \
+ #			$(INTLLIBS) -lgdi32 -limm32 -lshell32 -lole32 -luuid -liberty -lcomdlg32 -lcomctl32 \
+ #			geany_private.res
+ 
+ 
+ # build Geany for all other platforms
+-AM_CFLAGS = -Wall -pipe
++AM_CFLAGS = 
+ #AM_CFLAGS = -Wall -pipe -mms-bitfields
+ #AM_CFLAGS = -DGEANY_DEBUG -Wall -pipe -mms-bitfields -g -O0
+ #geany_LDFLAGS = -mwindows
+diff -uNr geany-0.11.orig/tagmanager/Makefile geany-0.11/tagmanager/Makefile
+--- geany-0.11.orig/tagmanager/Makefile	2007-08-04 20:34:32.771101000 +0530
++++ geany-0.11/tagmanager/Makefile	2007-08-04 20:42:17.205746000 +0530
+@@ -208,7 +208,7 @@
+ #	-DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED \
+ #	-DGDK_PIXBUF_DEPRECATED \
+ #	-DGTK_DISABLE_DEPRECATED -DGNOME_DISABLE_DEPRECATED
+-AM_CFLAGS = -Wall
++AM_CFLAGS = 
+ noinst_LIBRARIES = libtagmanager.a
+ libtagmanager_a_SOURCES = \
+ 	general.h\
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/gnomad2-01-2.8.13_p1_LDADD.diff	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,21 @@
+diff -uNr gnomad2-2.8.13_orig/src/Makefile gnomad2-2.8.13/src/Makefile
+--- gnomad2-2.8.13_orig/src/Makefile	2007-09-04 07:53:03.505604000 +0530
++++ gnomad2-2.8.13/src/Makefile	2007-09-04 09:11:23.322649000 +0530
+@@ -216,7 +216,7 @@
+ top_srcdir = ..
+ MAINTAINERCLEANFILES = Makefile.in
+ INCLUDES = \
+-	-D_REENTRANT -D_PTHREADS -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0   \
++	-D_REENTRANT -D_PTHREADS -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/sfw/include  \
+ 	 \
+ 	 \
+ 	 \
+@@ -304,7 +304,7 @@
+ 	-test -z "$(bin_PROGRAMS)" || rm -f $(bin_PROGRAMS)
+ gnomad2$(EXEEXT): $(gnomad2_OBJECTS) $(gnomad2_DEPENDENCIES) 
+ 	@rm -f gnomad2$(EXEEXT)
+-	$(LINK) $(gnomad2_OBJECTS) $(gnomad2_LDADD) $(LIBS)
++	$(LINK) -L/usr/sfw/lib -R/usr/sfw/lib $(gnomad2_OBJECTS) $(gnomad2_LDADD) $(LIBS)
+ 
+ mostlyclean-compile:
+ 	-rm -f *.$(OBJEXT)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/libnjb-01-2.2.5-p1-makefilechanges.diff	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,36 @@
+diff -uNr libnjb-2.2.5_orig/Makefile libnjb-2.2.5/Makefile
+--- libnjb-2.2.5_orig/Makefile	2007-08-11 18:41:06.570043000 +0530
++++ libnjb-2.2.5/Makefile	2007-08-11 18:41:48.309908000 +0530
+@@ -97,7 +97,7 @@
+ AWK = nawk
+ CC = /opt/SUNWspro/bin/cc
+ CCDEPMODE = depmode=none
+-CFLAGS = -g -Wall -Wmissing-prototypes
++CFLAGS = -g
+ COMPILE_MINGW32_FALSE = 
+ COMPILE_MINGW32_TRUE = #
+ CPP = /opt/SUNWspro/bin/cc -E
+diff -uNr libnjb-2.2.5_orig/sample/Makefile libnjb-2.2.5/sample/Makefile
+--- libnjb-2.2.5_orig/sample/Makefile	2007-08-11 18:41:06.555525000 +0530
++++ libnjb-2.2.5/sample/Makefile	2007-08-11 18:43:31.563372000 +0530
+@@ -188,7 +188,7 @@
+ AWK = nawk
+ CC = /opt/SUNWspro/bin/cc
+ CCDEPMODE = depmode=none
+-CFLAGS = -g -Wall -Wmissing-prototypes
++CFLAGS = -g
+ COMPILE_MINGW32_FALSE = 
+ COMPILE_MINGW32_TRUE = #
+ CPP = /opt/SUNWspro/bin/cc -E
+diff -uNr libnjb-2.2.5_orig/src/Makefile libnjb-2.2.5/src/Makefile
+--- libnjb-2.2.5_orig/src/Makefile	2007-08-11 18:41:06.518384000 +0530
++++ libnjb-2.2.5/src/Makefile	2007-08-11 18:42:36.319646000 +0530
+@@ -96,7 +96,7 @@
+ AWK = nawk
+ CC = /opt/SUNWspro/bin/cc
+ CCDEPMODE = depmode=none
+-CFLAGS = -g -Wall -Wmissing-prototypes
++CFLAGS = -g
+ COMPILE_MINGW32_FALSE = 
+ COMPILE_MINGW32_TRUE = #
+ CPP = /opt/SUNWspro/bin/cc -E
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/medit-01-0.8.9-solaris.sunstudio12.diff	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,12 @@
+diff -uNr medit-0.8.9/medit/Makefile medit-0.8.9-patched/medit/Makefile
+--- medit-0.8.9/medit/Makefile	2007-08-10 23:32:53.275565000 +0530
++++ medit-0.8.9-patched/medit/Makefile	2007-08-10 23:36:13.449021000 +0530
+@@ -70,7 +70,7 @@
+ medit_DEPENDENCIES = ../moo/libmoo.la
+ medit_LINK = $(LIBTOOL) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) \
+ 	--mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(medit_LDFLAGS) \
+-	$(LDFLAGS) -o $@
++	$(LDFLAGS) /usr/lib/libX11.so.4 -o $@
+ DEFAULT_INCLUDES = -I. -I$(top_builddir)
+ depcomp = $(SHELL) $(top_srcdir)/depcomp
+ am__depfiles_maybe = depfiles
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/mrxvt-01-0.5.2.sunstudio.diff	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,90 @@
+diff -r 9562b0cc4e76 src/command.c
+--- a/src/command.c	Sat Aug 11 20:08:25 2007 +0530
++++ b/src/command.c	Sat Aug 11 20:10:26 2007 +0530
+@@ -159,7 +159,7 @@ static DeadKeyChar  dkc_tab[] = {
+  *--------------------------------------------------------------------*/
+ void           rxvt_process_keypress         (rxvt_t*, XKeyEvent*);
+ void           rxvt_clean_cmd_page           (rxvt_t*);
+-inline int     rxvt_cmdbuf_has_input	     ( rxvt_t *r, int page );
++int            rxvt_cmdbuf_has_input	     ( rxvt_t *r, int page );
+ int            rxvt_find_cmd_child           (rxvt_t*);
+ void           rxvt_check_cmdbuf             (rxvt_t*, int);
+ int            rxvt_read_child_cmdfd         (rxvt_t*, int, unsigned int);
+@@ -1637,7 +1637,7 @@ rxvt_clean_cmd_page (rxvt_t* r)
+ 
+ /* Returns true if there is input pending in PVTS(r, page)->cmdbuf */
+ /* INTPROTO */
+-inline int
++int
+ rxvt_cmdbuf_has_input( rxvt_t *r, int page )
+ {
+     return PVTS(r, page)->cmdbuf_escfail ?
+@@ -1734,7 +1734,7 @@ rxvt_check_cmdbuf (rxvt_t* r, int page)
+ 	unsigned char	*start;
+ 	unsigned int	n, len;
+ 
+-	start = PVTS(r, page)->cmdbuf_escstart ?: PVTS(r, page)->cmdbuf_ptr;
++	start = PVTS(r, page)->cmdbuf_escstart ? NULL : PVTS(r, page)->cmdbuf_ptr;
+ 
+ 
+ 	n   = start - PVTS(r, page)->cmdbuf_base;
+@@ -4394,13 +4394,13 @@ FILE*
+ FILE*
+ rxvt_popen_printer( rxvt_t *r, const char *pipeName )
+ {
+-    FILE*   stream = popen( pipeName ?: r->h->rs[Rs_print_pipe], "w" );
++    FILE*   stream = popen( pipeName ?NULL: r->h->rs[Rs_print_pipe], "w" );
+ 
+ 
+     assert( pipeName || r->h->rs[Rs_print_pipe] );
+     if (IS_NULL(stream))
+ 	rxvt_print_error("Can't open printer pipe %s",
+-		r->h->rs[Rs_print_pipe] ?: pipeName );
++		r->h->rs[Rs_print_pipe] ?NULL: pipeName );
+ 
+     return stream;
+ }
+diff -r 9562b0cc4e76 src/screen.c
+--- a/src/screen.c	Sat Aug 11 20:08:25 2007 +0530
++++ b/src/screen.c	Sat Aug 11 20:09:58 2007 +0530
+@@ -180,8 +180,8 @@ void rxvt_scr_reset_realloc       (rxvt_
+ void rxvt_scr_reset_realloc       (rxvt_t*, int);
+ void rxvt_scr_delete_row          (rxvt_t*, int);
+ void rxvt_scr_add_row             (rxvt_t*, int, unsigned int, unsigned int);
+-void inline rxvt_clear_area       (rxvt_t*, int page, int x, int y, unsigned int w, unsigned int h);
+-void inline rxvt_fill_rectangle   (rxvt_t*, int page, int x, int y, unsigned int w, unsigned int h);
++void rxvt_clear_area       (rxvt_t*, int page, int x, int y, unsigned int w, unsigned int h);
++void rxvt_fill_rectangle   (rxvt_t*, int page, int x, int y, unsigned int w, unsigned int h);
+ void
+ rxvt_scr_draw_string (rxvt_t* r, int page,
+ 	int x, int y, char* str, int len, int drawfunc,
+@@ -2740,7 +2740,7 @@ rxvt_free_clipping (rxvt_t* r, void* xft
+ #endif	/* TEXT_SHADOW */
+ 
+ 
+-void inline
++void 
+ rxvt_clear_area (rxvt_t* r, int page, int x, int y, unsigned int w, unsigned int h)
+ {
+     DBG_MSG(9, (stderr, "clear area (%d, %d, %d, %d)\n", x,y,w,h));
+@@ -2749,7 +2749,7 @@ rxvt_clear_area (rxvt_t* r, int page, in
+ }
+ 
+ 
+-void inline
++void 
+ rxvt_fill_rectangle (rxvt_t* r, int page, int x, int y, unsigned int w, unsigned int h)
+ {
+     DBG_MSG(9, (stderr, "fill rectangle (%d, %d, %d, %d)\n", x,y,w,h));
+diff -r 9562b0cc4e76 src/xdefaults.c
+--- a/src/xdefaults.c	Sat Aug 11 20:08:25 2007 +0530
++++ b/src/xdefaults.c	Sat Aug 11 20:09:28 2007 +0530
+@@ -806,7 +806,7 @@ rxvt_save_options (rxvt_t* r, const char
+     int		i;
+     FILE*	pf = fopen (filename, "w");
+ 
+-    const char	*name = r->h->rs[Rs_name] ?: APL_NAME;
++    const char	*name = r->h->rs[Rs_name] ?NULL: APL_NAME;
+ 
+     char	*tabs="\t\t\t\t\t";
+ 
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/tidy-01-051026.diff	Sat Sep 22 02:40:49 2007 +0000
@@ -0,0 +1,20 @@
+diff -uNr tidy_orig/build/gmake/Makefile tidy/build/gmake/Makefile
+--- tidy_orig/build/gmake/Makefile	2007-09-04 08:27:50.001972000 +0530
++++ tidy/build/gmake/Makefile	2007-09-04 08:56:39.383048000 +0530
+@@ -58,8 +58,8 @@
+ PROJECT=tidy
+ 
+ # Installation variables.  Spaces OK, only dir create and file copy operations.
+-runinst_prefix=/usr/local
+-devinst_prefix=/usr/local
++runinst_prefix=${DESTDIR}/usr/local
++devinst_prefix=${DESTDIR}/usr/local
+ 
+ bininst = ${runinst_prefix}/bin
+ libinst = ${devinst_prefix}/lib
+@@ -220,4 +220,4 @@
+ 	if [ ! -d "$(maninst)/man1" ]; then mkdir -p "$(maninst)/man1"; fi;
+ 	cp -f $(DOCDIR)/tidy.1 "$(maninst)/man1/tidy.1";
+ 
+-install: installhdrs installib installmanpage installexes
++install: installhdrs installib installexes