SPECS: ruby-fastri.spec (NEW), ruby-dhaka.spec (NEW), ruby-ldap.sp...
aredridel
aredridel at pld-linux.org
Thu Mar 8 07:23:55 CET 2007
Author: aredridel Date: Thu Mar 8 06:23:55 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added
---- Files affected:
SPECS:
ruby-fastri.spec (NONE -> 1.1) (NEW), ruby-dhaka.spec (NONE -> 1.1) (NEW), ruby-ldap.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/ruby-fastri.spec
diff -u /dev/null SPECS/ruby-fastri.spec:1.1
--- /dev/null Thu Mar 8 07:23:55 2007
+++ SPECS/ruby-fastri.spec Thu Mar 8 07:23:50 2007
@@ -0,0 +1,56 @@
+# $Revision$, $Date$
+Summary: Fast Ruby documentation browser
+Name: ruby-fastri
+Version: 0.2.1
+Release: 1
+License: GPL
+Group: Development/Languages
+Source0: http://rubyforge.org/frs/download.php/14948/fastri-%{version}.tar.gz
+# Source0-md5: 059a6f1c9b3b6dd805b2b650dc1bd73b
+URL: http://eigenclass.org/hiki.rb?fastri
+%{?ruby_mod_ver_requires_eq}
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Fast Ruby documentation browser
+
+%prep
+%setup -q -n fastri-%{version}
+
+%build
+
+ruby setup.rb config \
+ --site-ruby=%{ruby_rubylibdir} \
+ --so-dir=%{ruby_archdir}
+ruby setup.rb setup
+
+rdoc --ri -o ri lib
+rdoc -o rdoc lib
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{ruby_archdir}
+install -d $RPM_BUILD_ROOT%{ruby_ridir}
+
+ruby setup.rb install \
+ --prefix=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/fastri-server
+%attr(755,root,root) %{_bindir}/fri
+%attr(755,root,root) %{_bindir}/ri-emacs
+%{ruby_rubylibdir}/fastri
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2007/03/08 06:23:50 aredridel
+- added
+
================================================================
Index: SPECS/ruby-dhaka.spec
diff -u /dev/null SPECS/ruby-dhaka.spec:1.1
--- /dev/null Thu Mar 8 07:23:55 2007
+++ SPECS/ruby-dhaka.spec Thu Mar 8 07:23:50 2007
@@ -0,0 +1,63 @@
+# $Revision$, $Date$
+Summary: Parsing library for Ruby
+Name: ruby-dhaka
+Version: 0.0.4
+Release: 1
+License: Ruby's
+Group: Development/Languages
+Source0: http://rubyforge.org/frs/download.php/15507/dhaka-%{version}.gem
+# Source0-md5: d02b6c3ba4f44f5144bcbdfc9024e1f9
+URL: http://dhaka.rubyforge.org/
+BuildRequires: rake
+BuildRequires: rpmbuild(macros) >= 1.277
+BuildRequires: setup.rb = 3.3.1
+#BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Dhaka is a set of tools for generating tokenizers, parsers and
+evaluators for context-free grammars. It is written solely in Ruby
+with no native extensions and no dependencies.
+
+%prep
+%setup -q -c
+tar xf %{SOURCE0} -O data.tar.gz | tar xzv-
+cp %{_datadir}/setup.rb .
+
+%build
+ruby setup.rb config \
+ --rbdir=%{ruby_rubylibdir} \
+ --sodir=%{ruby_archdir}
+
+ruby setup.rb setup
+
+rdoc --op rdoc lib
+rdoc --ri --op ri lib
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{ruby_rubylibdir},%{ruby_ridir}}
+
+ruby setup.rb install \
+ --prefix=$RPM_BUILD_ROOT
+
+cp -a ri/ri/* $RPM_BUILD_ROOT%{ruby_ridir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc rdoc
+%{ruby_rubylibdir}/*
+%{ruby_ridir}/*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2007/03/08 06:23:50 aredridel
+- added
+
================================================================
Index: SPECS/ruby-ldap.spec
diff -u /dev/null SPECS/ruby-ldap.spec:1.1
--- /dev/null Thu Mar 8 07:23:55 2007
+++ SPECS/ruby-ldap.spec Thu Mar 8 07:23:50 2007
@@ -0,0 +1,56 @@
+# $Revision$, $Date$
+Summary: LDAP API (RFC1823) library module for Ruby
+Name: ruby-ldap
+Version: 0.9.7
+Release: 1
+License: Redistributable
+Group: Development/Libraries
+Source0: http://dl.sourceforge.net/ruby-ldap/%{name}-%{version}.tar.gz
+# Source0-md5: 373d07cb833fac6d907652f7c8ac7480
+URL: http://ruby-ldap.sourceforge.net/
+BuildRequires: openldap-devel
+BuildRequires: openssl-devel
+BuildRequires: ruby
+BuildRequires: ruby-devel
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Ruby/LDAP is an extension module for Ruby. It provides the interface
+to some LDAP libraries (for example, OpenLDAP, UMich LDAP, Netscape
+SDK and ActiveDirectory). The common API for application development
+is described in RFC1823 and most libraries comply with it. Ruby/LDAP
+supports those libraries.
+
+%prep
+%setup -q
+
+%build
+ruby extconf.rb --with-openldap2
+%{__make}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__make} install \
+ archdir=$RPM_BUILD_ROOT%{ruby_archdir} \
+ sitelibdir=$RPM_BUILD_ROOT%{ruby_rubylibdir} \
+ sitearchdir=$RPM_BUILD_ROOT%{ruby_archdir}
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog FAQ README* TODO
+%doc example/ test/
+%attr(755,root,root) %{ruby_archdir}/ldap.so
+%{ruby_rubylibdir}/ldap*
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2007/03/08 06:23:50 aredridel
+- added
+
================================================================
More information about the pld-cvs-commit
mailing list