2007-01-21 Laszlo (Laca) Peter <
[email protected]>
* SFEautomake.spec: add Summary tag
* SFEffmpeg.spec: fix devel pkg default attributes
* SFElibdts.spec: add patch picflags.diff
* patches/libdts-02-picflags.diff: (new) use the correct PIC
flags for gcc and forte
* SFElibnotify.spec: add defattr tag to files
* SFEseamonkey.spec: bump to 1.1; remove --enable-calendar option
as it's not longer supported
* SFExine-lib.spec: add missing defattr tag to %files
--- a/ChangeLog Sat Jan 20 06:01:19 2007 +0000
+++ b/ChangeLog Mon Jan 22 04:14:58 2007 +0000
@@ -1,3 +1,15 @@
+2007-01-21 Laszlo (Laca) Peter <[email protected]>
+
+ * SFEautomake.spec: add Summary tag
+ * SFEffmpeg.spec: fix devel pkg default attributes
+ * SFElibdts.spec: add patch picflags.diff
+ * patches/libdts-02-picflags.diff: (new) use the correct PIC
+ flags for gcc and forte
+ * SFElibnotify.spec: add defattr tag to files
+ * SFEseamonkey.spec: bump to 1.1; remove --enable-calendar option
+ as it's not longer supported
+ * SFExine-lib.spec: add missing defattr tag to %files
+
2007-01-19 Eric Boutilier <[email protected]>
* SFErsync.spec: Removed -- rsync is now in Nevada
--- a/SFEautomake.spec Sat Jan 20 06:01:19 2007 +0000
+++ b/SFEautomake.spec Mon Jan 22 04:14:58 2007 +0000
@@ -6,6 +6,7 @@
%include Solaris.inc
Name: SFEautomake
+Summary: GNU automake
%define minmaj 1.9
Version: %{minmaj}.6
Vendor: Sun Microsystems, Inc.
--- a/SFEffmpeg.spec Sat Jan 20 06:01:19 2007 +0000
+++ b/SFEffmpeg.spec Mon Jan 22 04:14:58 2007 +0000
@@ -67,6 +67,7 @@
%{_bindir}/*
%files devel
+%defattr (-, root, bin)
%dir %attr (0755, root, bin) %{_libdir}
# could not build this project as a shared lib
%{_libdir}/lib*.a
@@ -78,5 +79,7 @@
%{_includedir}/postproc
%changelog
+* Sun Jan 21 2007 - [email protected]
+- fix devel pkg default attributes
* Wed Jan 10 2007 - [email protected]
- create
--- a/SFElibdts.spec Sat Jan 20 06:01:19 2007 +0000
+++ b/SFElibdts.spec Mon Jan 22 04:14:58 2007 +0000
@@ -10,6 +10,7 @@
Version: 0.0.2
Source: http://download.videolan.org/pub/videolan/libdca/%{version}/libdca-%{version}.tar.gz
Patch1: libdts-01-sigtype.diff
+Patch2: libdts-02-picflags.diff
SUNW_BaseDir: %{_basedir}
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%include default-depend.inc
@@ -24,6 +25,7 @@
%prep
%setup -q -n libdts-%version
%patch1 -p1
+%patch2 -p1 -b .pic
%build
CPUS=`/usr/sbin/psrinfo | grep on-line | wc -l | tr -d ' '`
@@ -31,9 +33,12 @@
CPUS=1
fi
export CFLAGS="%optflags"
-export ACLOCAL_FLAGS="-I %{_datadir}/aclocal"
-export MSGFMT="/usr/bin/msgfmt"
+aclocal $ACLOCAL_FLAGS
+libtoolize --force
+autoheader
+automake
+autoconf
./configure --prefix=%{_prefix} --mandir=%{_mandir} \
--libdir=%{_libdir} \
--libexecdir=%{_libexecdir} \
@@ -69,6 +74,8 @@
%{_libdir}/lib*.a
%changelog
+* Sun Jan 21 2007 - [email protected]
+- add patch picflags.diff
* Mon Jun 12 2006 - [email protected]
- renamed to SFElibdts
- changed to root:bin to follow other JDS pkgs.
--- a/SFElibnotify.spec Sat Jan 20 06:01:19 2007 +0000
+++ b/SFElibnotify.spec Mon Jan 22 04:14:58 2007 +0000
@@ -58,6 +58,7 @@
rm -rf $RPM_BUILD_ROOT
%files
+%defattr (-, root, bin)
%dir %attr (0755, root, bin) %{_bindir}
%{_bindir}/*
%dir %attr (0755, root, bin) %dir %{_libdir}
@@ -76,6 +77,8 @@
%{_libdir}/pkgconfig/*
%changelog
+* Sun Jan 21 2007 - [email protected]
+- add defattr tag to files
* Sun Jan 7 2007 - [email protected]
- fix gtk-doc dir attributes
* Thu Nov 23 2006 - [email protected]
--- a/SFEseamonkey.spec Sat Jan 20 06:01:19 2007 +0000
+++ b/SFEseamonkey.spec Mon Jan 22 04:14:58 2007 +0000
@@ -8,7 +8,7 @@
Name: SFEseamonkey
Summary: seamonkey - all-in-one internet application suite
-Version: 1.0.7
+Version: 1.1
Source: http://releases.mozilla.org/pub/mozilla.org/seamonkey/releases/%{version}/seamonkey-%{version}.source.tar.bz2
URL: http://www.mozilla.org/projects/seamonkey/
SUNW_BaseDir: %{_basedir}
@@ -75,7 +75,6 @@
ac_add_options --enable-application=suite
ac_add_options --enable-optimize=-xO3
ac_add_options --enable-crypto
-ac_add_options --enable-calendar
ac_add_options --enable-xinerama
ac_add_options --enable-image-decoders=all
ac_add_options --enable-extensions=all
@@ -136,6 +135,8 @@
%{_includedir}/*
%changelog
+* Sun Jan 21 2007 - [email protected]
+- bump to 1.1; remove --enable-calendar option as it's not longer supported
* Wed Jan 3 2007 - [email protected]
- bump to 1.0.7
* Thu Aug 17 2006 - [email protected]
--- a/SFExine-lib.spec Sat Jan 20 06:01:19 2007 +0000
+++ b/SFExine-lib.spec Mon Jan 22 04:14:58 2007 +0000
@@ -117,6 +117,7 @@
rm -rf $RPM_BUILD_ROOT
%files
+%defattr (-, root, bin)
%dir %attr (0755, root, bin) %dir %{_libdir}
%{_libdir}/*.so*
@@ -150,5 +151,7 @@
%endif
%changelog
+* Sun Jan 21 2007 - [email protected]
+- add missing defattr tag to %files
* Sun Jan 7 2007 - [email protected]
- create
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/patches/libdts-02-picflags.diff Mon Jan 22 04:14:58 2007 +0000
@@ -0,0 +1,48 @@
+--- libdts-0.0.2/libdts/Makefile.am.pic 2004-02-25 08:52:15.000000000 -0500
++++ libdts-0.0.2/libdts/Makefile.am 2007-01-16 20:17:16.812285000 -0500
+@@ -18,5 +18,5 @@
+ libdts_pic_a = libdts_pic.a
+ endif
+ libdts_pic_a_SOURCES = $(libdts_a_SOURCES)
+-libdts_pic_a_CPPFLAGS = -fPIC -DPIC
++libdts_pic_a_CPPFLAGS = @PICFLAGS@
+
+--- libdts-0.0.2/configure.ac.pic 2004-02-29 07:00:32.000000000 -0500
++++ libdts-0.0.2/configure.ac 2007-01-16 20:17:39.080641000 -0500
+@@ -26,6 +26,10 @@
+ TRY_CFLAGS="$OPT_CFLAGS -Wall"
+ AC_TRY_CFLAGS([$TRY_CFLAGS $CFLAGS],[OPT_CFLAGS=$TRY_CFLAGS])
+
++ dnl -fPIC
++ PICFLAGS="-fPIC -DPIC"
++ AC_SUBST(PICFLAGS)
++
+ dnl -O3
+ changequote(<<,>>)
+ TRY_CFLAGS=`echo "$OPT_CFLAGS $CFLAGS"|sed "s/-O[0-9]*//g"`
+@@ -62,15 +66,25 @@
+ dnl TenDRA portability checking compiler
+ TENDRA=yes
+ OPT_CFLAGS="-Xp -Yansi -f`pwd`/include/tendra.h -DELIDE_CODE"
++ PICFLAGS=FIXME:pic_flags_here
++ AC_SUBST(PICFLAGS)
+ enable_mlib=no
+ enable_oss=no
+ enable_solaris_audio=no
+ elif test x"$CC" = x"icc" -a x"`$CC -V 2>&1 | grep Intel`" != x""; then
+ dnl Intel C++ compiler
+ OPT_CFLAGS="-g -O3 -unroll -ip"; CFLAGS=""
++ PICFLAGS=FIXME:pic_flags_here
++ AC_SUBST(PICFLAGS)
+ else
+ dnl non-gcc flags - we probably need exact configuration triplets here.
+ case "$host" in
++ *solaris* )
++ PICFLAGS="-KPIC -DPIC"
++ AC_SUBST(PICFLAGS)
++ ;;
++ esac
++ case "$host" in
+ sparc-sun-solaris*)
+ TRY_CFLAGS="$OPT_CFLAGS -xCC -fast -xO5"
+ AC_TRY_CFLAGS([$TRY_CFLAGS $CFLAGS],[OPT_CFLAGS=$TRY_CFLAGS]);;