Author: aredridel Date: Sun Nov 30 05:05:41 2008 GMT Module: SPECS Tag: HEAD ---- Log message: - added
---- Files affected: SPECS: ruby-pg.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/ruby-pg.spec diff -u /dev/null SPECS/ruby-pg.spec:1.1 --- /dev/null Sun Nov 30 06:05:41 2008 +++ SPECS/ruby-pg.spec Sun Nov 30 06:05:36 2008 @@ -0,0 +1,112 @@ +# $Revision$, $Date$ +Summary: PostgreSQL module for Ruby +Summary(pl.UTF-8): Moduł PostgreSQL dla Ruby +Name: ruby-pg +Version: 0.7.9.2008.10.13 +Release: 1 +License: Ruby License +Group: Development/Languages +Source0: http://rubyforge.org/frs/download.php/45156/ruby-pg-0.7.9.2008.10.13.tar.gz +# Source0-md5: 4ecf1004bb5f643a297ff22e075e1606 +URL: http://rubyforge.org/projects/ruby-pg/ +BuildRequires: postgresql-devel +BuildRequires: rpmbuild(macros) >= 1.277 +BuildRequires: ruby-devel >= 1:1.8.4-5 +%{?ruby_mod_ver_requires_eq} +Obsoletes: ruby-postgres +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +PostgreSQL module for Ruby. + +%description -l pl.UTF-8 +Moduł PostgreSQL dla Ruby. + +%prep +%setup -q -n %{name} + +%build +cd ext +ruby extconf.rb +%{__make} \ + CC="%{__cc}" \ + CFLAGS="%{rpmcflags} -fPIC" + +%install +rm -rf $RPM_BUILD_ROOT +install -d $RPM_BUILD_ROOT%{ruby_archdir} + +cd ext +%{__make} install \ + archdir=$RPM_BUILD_ROOT%{ruby_archdir} \ + sitearchdir=$RPM_BUILD_ROOT%{ruby_archdir} + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +%defattr(644,root,root,755) +%doc README* +%attr(755,root,root) %{ruby_archdir}/pg.so + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2008/11/30 05:05:36 aredridel +- added + +Revision 1.14 2007/02/12 22:09:13 glen +- tabs in preamble + +Revision 1.13 2007/02/12 01:06:31 baggins +- converted to UTF-8 + +Revision 1.12 2006/12/23 17:51:15 hawk +- release .4 to rebuild with PostgreSQL 8.2 + +Revision 1.11 2006/01/01 12:15:00 twittner +- added BR: ruby-devel >= 1:1.8.4-5 (ruby with ruby-mkfm-shared.patch) +- rel. 3, STBR + +Revision 1.10 2005/12/31 10:36:33 twittner +- change %%ruby_mod_ver_requires_eq to %%{?ruby_mod_ver_requires_eq} - + expand this macro only if defined to avoid parse error when appropriate + BRs is not installed yet (solution provided by glen) + +Revision 1.9 2005/12/29 16:59:48 twittner +- replace R: ruby-modules with %%ruby_mod_ver_requires_eq macro + defined as `Requires: ruby-modules(ver) = 1.8' where `1.8' is + major ruby version taken from rbconfig +- add BR: rpmbuild(macros) >= 1.277 with aforementioned macros + +Revision 1.8 2005/12/27 10:07:59 twittner +- remove redundant BR: ruby-modules (BR: ruby-devel implies it) + +Revision 1.7 2005/12/27 09:43:13 twittner +- (B)R: s/ruby/ruby-modules/, rel. 0.%{pre}.2 (mass commit through script) + +Revision 1.6 2005/11/19 13:32:04 glen +- use system ruby macros +- cleanups, corrections, cosmetics + +Revision 1.5 2005/04/16 18:58:40 qboosh +- fixed URL + +Revision 1.4 2005/04/16 18:30:00 aredridel +- up to 20050412 + +Revision 1.3 2004/08/24 06:50:21 qboosh +- added link patch, optflags, .so perms + +Revision 1.2 2004/08/22 07:09:30 aredridel +- cleanup +- obsoletes ruby-Postgres + +Revision 1.1 2004/08/22 07:07:35 aredridel +- moved to ruby-Postgres.spec + +Revision 1.10 2004/05/16 01:18:48 aredridel +- added ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
