rpms/ruby-postgres/devel cflags.patch, NONE, 1.1 ruby-postgres.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
David Lutterkort (lutter)
fedora-extras-commits at redhat.com
Fri Aug 11 23:37:27 UTC 2006
Author: lutter
Update of /cvs/extras/rpms/ruby-postgres/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv18404/devel
Modified Files:
.cvsignore sources
Added Files:
cflags.patch ruby-postgres.spec
Log Message:
auto-import ruby-postgres-0.7.1-4 on branch devel from ruby-postgres-0.7.1-4.src.rpm
cflags.patch:
--- NEW FILE cflags.patch ---
--- ruby-postgres-0.7.1/extconf.rb.orig 2006-08-02 14:08:22.000000000 -0700
+++ ruby-postgres-0.7.1/extconf.rb 2006-08-02 14:14:54.000000000 -0700
@@ -7,7 +7,6 @@
dir_config('pgsql')
-$CFLAGS = ""
$LDFLAGS = ""
have_library("wsock32", "cygwin32_socket") or have_library("socket", "socket")
--- NEW FILE ruby-postgres.spec ---
%{!?ruby_sitearch: %define ruby_sitearch %(ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']")}
Name: ruby-postgres
Version: 0.7.1
Release: 4%{?dist}
Summary: A Ruby interface for the PostgreSQL database engine
Group: Development/Languages
# Source says that ruby-gems-postgres is distributable under the same
# terms as ruby.
License: Ruby License
URL: http://ruby.scripting.ca/postgres/
Source: http://ruby.scripting.ca/postgres/archive/ruby-postgres-0.7.1.tar.gz
Patch0: cflags.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-root-%(%{__id_u} -n)
Requires: ruby >= 1.3
Requires: ruby(abi) = 1.8
BuildRequires: ruby >= 1.3
BuildRequires: postgresql-devel >= 6.5
BuildRequires: ruby-devel
Provides: ruby(postgres) = %{version}
%description
Database driver to access PostgreSQL databases from Ruby.
%prep
%setup -q
%patch -p1
chmod a-x sample/psql.rb
%build
ruby extconf.rb --with-cflags="$RPM_OPT_FLAGS"
make
%install
rm -rf $RPM_BUILD_ROOT
make %{?_smp_mflags} DESTDIR=%{buildroot} install
%clean
rm -rf %{buildroot}
%files
%defattr(-, root, root)
%doc ChangeLog README README.ja doc sample
%{ruby_sitearch}/postgres.so
%changelog
* Wed Aug 2 2006 David Lutterkort <dlutter at redhat.com> - 0.7.1-4
- Fix CFLAGS
- Add id to buildroot path
* Tue Jul 11 2006 David Lutterkort <dlutter at redhat.com> - 0.7.1-3
- Bring in accordance with packaging guidelines
- Changed license from 'Distributable' to 'Ruby License'
* Mon Jun 5 2006 David Lutterkort <dlutter at redhat.com> - 0.7.1-2
- Clean build root for install
* Wed May 24 2006 David Lutterkort <dlutter at redhat.com> - 0.7.1-1
- Initial build
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/ruby-postgres/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 11 Aug 2006 23:36:51 -0000 1.1
+++ .cvsignore 11 Aug 2006 23:37:27 -0000 1.2
@@ -0,0 +1 @@
+ruby-postgres-0.7.1.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/ruby-postgres/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 11 Aug 2006 23:36:51 -0000 1.1
+++ sources 11 Aug 2006 23:37:27 -0000 1.2
@@ -0,0 +1 @@
+8ef67b3f4b089248f0420baeb0e3b3c8 ruby-postgres-0.7.1.tar.gz
More information about the fedora-extras-commits
mailing list