r36521 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r36520‎ | r36521 | r36522 >
Date:07:02, 21 June 2008
Author:river
Status:old
Tags:
Comment:
TSsubversion: link with -R/usr/sfw/lib
TSautoconf: new spec
Modified paths:
  • /trunk/tools/ts-specs/TSautoconf.spec (added) (history)
  • /trunk/tools/ts-specs/TSsubversion.spec (modified) (history)

Diff [purge]

Index: trunk/tools/ts-specs/TSsubversion.spec
@@ -65,7 +65,7 @@
6666 export CXX="CC"
6767 export CFLAGS="%optflags -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64"
6868 export LD=/usr/ccs/bin/ld
69 -export LDFLAGS="%_ldflags -L%{_libdir} -R%{_libdir} -L$RPM_BUILD_ROOT%{_libdir}"
 69+export LDFLAGS="%_ldflags -L%{_libdir} -R%{_libdir} -R/usr/sfw/lib -L$RPM_BUILD_ROOT%{_libdir}"
7070 export PATH=$PATH:/usr/apache2/bin
7171 ./configure \
7272 --prefix=%{_prefix} \
Index: trunk/tools/ts-specs/TSautoconf.spec
@@ -0,0 +1,101 @@
 2+#
 3+# spec file for package SFEautoconf
 4+#
 5+# includes module(s): GNU autoconf
 6+#
 7+%include Solaris.inc
 8+
 9+Name: TSautoconf
 10+Summary: GNU autoconf - scripts and macros for configuring source code packages
 11+Version: 2.62
 12+Source: http://ftp.gnu.org/gnu/autoconf/autoconf-%{version}.tar.bz2
 13+SUNW_BaseDir: %{_basedir}
 14+BuildRoot: %{_tmppath}/%{name}-%{version}-build
 15+%include default-depend.inc
 16+Requires: SUNWgm4
 17+Requires: SUNWpostrun
 18+Requires: SUNWtexi
 19+
 20+%prep
 21+%setup -q -n autoconf-%version
 22+
 23+%build
 24+export PERL=/usr/perl5/bin/perl
 25+export M4="/usr/sfw/bin/gm4"
 26+./configure --prefix=%{_prefix} \
 27+ --libexecdir=%{_libexecdir} \
 28+ --mandir=%{_mandir} \
 29+ --datadir=%{_datadir} \
 30+ --infodir=%{_infodir}
 31+
 32+# Note: do not try to use parallel build, it will break with broken deps
 33+make
 34+
 35+%install
 36+rm -rf $RPM_BUILD_ROOT
 37+make install DESTDIR=$RPM_BUILD_ROOT
 38+rm $RPM_BUILD_ROOT%{_datadir}/info/dir
 39+
 40+%clean
 41+rm -rf $RPM_BUILD_ROOT
 42+
 43+%post
 44+( echo 'PATH=/usr/bin:/usr/sfw/bin; export PATH' ;
 45+ echo 'infos="';
 46+ echo 'autoconf.info standards.info' ;
 47+ echo '"';
 48+ echo 'retval=0';
 49+ echo 'for info in $infos; do';
 50+ echo ' install-info --info-dir=%{_infodir} %{_infodir}/$info || retval=1';
 51+ echo 'done';
 52+ echo 'exit $retval' ) | $PKG_INSTALL_ROOT/usr/lib/postrun -b -c TS
 53+
 54+%preun
 55+( echo 'PATH=/usr/bin:/usr/sfw/bin; export PATH' ;
 56+ echo 'infos="';
 57+ echo 'autoconf.info standards.info' ;
 58+ echo '"';
 59+ echo 'for info in $infos; do';
 60+ echo ' install-info --info-dir=%{_infodir} --delete %{_infodir}/$info';
 61+ echo 'done';
 62+ echo 'exit 0' ) | $PKG_INSTALL_ROOT/usr/lib/postrun -b -c TS
 63+
 64+%files
 65+%defattr (-, root, bin)
 66+%dir %attr (0755, root, bin) %{_bindir}
 67+%{_bindir}/*
 68+%dir %attr (0755, root, sys) %{_datadir}
 69+%{_datadir}/autoconf
 70+%{_datadir}/info
 71+%dir %attr (0755, root, bin) %{_mandir}
 72+%dir %attr (0755, root, bin) %{_mandir}/*
 73+%{_mandir}/*/*
 74+
 75+%changelog
 76+* Sat Jun 21 2008 - river@wikimedia.org
 77+- modified for toolserver
 78+* Thu May 22 2008 - Mark Wright <markwright@internode.on.net>
 79+- Bump to 2.62.
 80+* Wed Oct 17 2007 - laca@sun.com
 81+- add support for building with either SFEm4 or SUNWgm4
 82+* Sat Apr 21 2007 - dougs@truemail.co.th
 83+- Add Requires: SFEemacs
 84+* Mon Mar 18 2007 - dougs@truemail.co.th
 85+- Changed Required Gnu m4 from SFEm4 SUNWgm4
 86+* Mon Jan 15 2007 - daymobrew@users.sourceforge.net
 87+- Add SUNWtexi dependency.
 88+* Sat Jan 6 2007 - laca@sun.com
 89+- update for SFEm4 move to /usr/gnu
 90+- install info file and update info dir file using postrun scripts
 91+* Fri Jan 05 2007 - daymobrew@users.sourceforge.net
 92+- Bump to 2.61.
 93+* Wed Sep 6 2006 - laca@Sun.com
 94+- disable parallel build as it breaks the build
 95+* Sun Jan 18 2006 - laca@sun.com
 96+- rename to SFEgawk; update summary
 97+- remove -share pkg
 98+- make /usr/gnu/bin/awk a symlink to /usr/bin/gawk
 99+* Thu Apr 6 2006 - damien.carbery@sun.com
 100+- Move Build/Requires to be listed under base package to be useful.
 101+* Sun Dec 4 2005 - mike kiedrowski (lakeside-AT-cybrzn-DOT-com)
 102+- Initial spec

Status & tagging log