SPECS: ruby-mmap.spec (NEW) - added
aredridel
aredridel at pld-linux.org
Sun Dec 18 21:20:43 CET 2005
Author: aredridel Date: Sun Dec 18 20:20:43 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added
---- Files affected:
SPECS:
ruby-mmap.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/ruby-mmap.spec
diff -u /dev/null SPECS/ruby-mmap.spec:1.1
--- /dev/null Sun Dec 18 21:20:43 2005
+++ SPECS/ruby-mmap.spec Sun Dec 18 21:20:37 2005
@@ -0,0 +1,54 @@
+# $Revision$, $Date$
+# TODO: optflags
+Summary: Ruby mmap Library
+Name: ruby-mmap
+Version: 0.2.6
+Release: 1
+License: GPL
+Group: Development/Libraries
+Source0: ftp://moulon.inra.fr/pub/ruby/mmap.tar.gz
+# Source0-md5: 79cbb830ee6f76461f8875b05482ae5c
+URL: http://moulon.inra.fr/ruby/mmap.html
+BuildRequires: rpmbuild(macros) >= 1.263
+BuildRequires: ruby
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Ruby mmap Library.
+
+%prep
+%setup -q -n mmap-%{version}
+
+%build
+ruby extconf.rb
+%{__make} \
+ CC="%{__cc}" \
+ CFLAGS="%{rpmcflags} -fPIC"
+
+rdoc -o rdoc *.c
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{ruby_archdir}
+
+%{__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 rdoc/*
+%attr(755,root,root) %{ruby_archdir}/mmap.so
+
+%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 2005/12/18 20:20:37 aredridel
+- added
+
================================================================
More information about the pld-cvs-commit
mailing list