rpms/postgresql-plruby/EL-4 postgresql-plruby.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
Devrim GÜNDÜZ (devrim)
fedora-extras-commits at redhat.com
Tue Jan 15 02:39:21 UTC 2008
- Previous message (by thread): rpms/postgresql-plruby/devel postgresql-plruby.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/postgresql-plruby/EL-5 postgresql-plruby.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Author: devrim
Update of /cvs/extras/rpms/postgresql-plruby/EL-4
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11914/EL-4
Modified Files:
.cvsignore sources
Added Files:
postgresql-plruby.spec
Log Message:
Initial import of postgresql-plruby
--- NEW FILE postgresql-plruby.spec ---
%{!?ruby_sitearch: %define ruby_sitearch %(ruby -rrbconfig -e "puts Config::CONFIG['sitearchdir']")}
%define sname plruby
Summary: PostgreSQL Ruby Procedural Language
Name: postgresql-%{sname}
Version: 0.5.1
Release: 5%{?dist}
Source0: ftp://moulon.inra.fr/pub/ruby/%{sname}-%{version}.tar.gz
License: Ruby or GPL+
Group: Applications/Databases
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
Url: http://raa.ruby-lang.org/project/pl-ruby/
BuildRequires: ruby >= 1.8 ruby-devel >= 1.8 postgresql-devel >= 8.1
Requires: postgresql-libs, ruby(abi) = 1.8
%description
PL/Ruby is a loadable procedural language for the PostgreSQL database
system that enable the Ruby language to create functions and trigger
procedures.
%package doc
Summary: Documentation for plruby
Group: Documentation
Requires: %{name} = %{version}-%{release}
%description doc
Documentation for plruby.
%prep
%setup -q -n %{sname}-%{version}
unset FILE
for f in %{_includedir}/pg_config_*.h
do
if grep -q PG_VERSION $f
then
FILE=`basename $f`
fi
done
if [ -n $FILE ]
then
%{__sed} -i.pgver -e "s|pg_config.h|${FILE}|" extconf.rb
fi
%build
ruby extconf.rb --with-pgsql-include=%{_includedir}/pgsql/server
make %{?_smp_mflags} \
CC="%{__cc} -I%{_includedir}/pgsql -I%{_includedir}/pgsql/server"
%install
rm -rf %{buildroot}
make DESTDIR=%{buildroot} install
%clean
rm -rf %{buildroot}
%files
%defattr(-,root,root,-)
%doc Changes README.en plruby.html
%dir %{ruby_sitearch}/plruby
%{ruby_sitearch}/plruby/plruby_*.so
%{ruby_sitearch}/plruby.so
%files doc
%defattr(-,root,root,-)
%doc docs/plruby.rb
%changelog
* Mon Jan 14 2008 - Devrim GUNDUZ <devrim at commandprompt.com> 0.5.1-5
- Use a better BR line for postgresql-devel
* Sat Nov 30 2007 - Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> 0.5.1-4
- Make spec file actually compile
- Fix license tag
* Sat Oct 15 2007 - Devrim GUNDUZ <devrim at commandprompt.com> 0.5.1-3
- More fixes to spec file per bz review #246793
* Sat Oct 6 2007 - Devrim GUNDUZ <devrim at commandprompt.com> 0.5.1-2
- Updates to spec file per bz review #246793
* Fri Oct 5 2007 - Devrim GUNDUZ <devrim at commandprompt.com> 0.5.1-1
- Update to 0.5.1
* Tue Jul 17 2007 - Devrim GUNDUZ <devrim at commandprompt.com> 0.5.0-2
- Minor fixes to spec file.
* Wed Jul 4 2007 - Devrim GUNDUZ <devrim at commandprompt.com> 0.5.0-1
- Update to 0.5.0
* Sat Jun 16 2007 - Devrim GUNDUZ <devrim at commandprompt.com> 0.4.8-1
- Initial packaging for Fedora
Index: .cvsignore
===================================================================
RCS file: /cvs/extras/rpms/postgresql-plruby/EL-4/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 15 Jan 2008 02:03:02 -0000 1.1
+++ .cvsignore 15 Jan 2008 02:38:47 -0000 1.2
@@ -0,0 +1 @@
+plruby-0.5.1.tar.gz
Index: sources
===================================================================
RCS file: /cvs/extras/rpms/postgresql-plruby/EL-4/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 15 Jan 2008 02:03:02 -0000 1.1
+++ sources 15 Jan 2008 02:38:47 -0000 1.2
@@ -0,0 +1 @@
+ffe71918648707cdde277939936c8172 plruby-0.5.1.tar.gz
- Previous message (by thread): rpms/postgresql-plruby/devel postgresql-plruby.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Next message (by thread): rpms/postgresql-plruby/EL-5 postgresql-plruby.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the fedora-extras-commits
mailing list