SPECS: ruby-mount.spec (NEW) - added

aredridel aredridel at pld-linux.org
Fri Dec 2 07:16:34 CET 2005


Author: aredridel                    Date: Fri Dec  2 06:16:34 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added

---- Files affected:
SPECS:
   ruby-mount.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/ruby-mount.spec
diff -u /dev/null SPECS/ruby-mount.spec:1.1
--- /dev/null	Fri Dec  2 07:16:34 2005
+++ SPECS/ruby-mount.spec	Fri Dec  2 07:16:29 2005
@@ -0,0 +1,53 @@
+# $Revision$, $Date$
+Summary:	Mount filesystems in Ruby
+Name:		ruby-mount
+Version:	0.2.1
+Release:	1
+License:	GPL
+Group:		Development/Libraries
+Source0:	http://theinternetco.net/projects/ruby/%{name}-%{version}.tar.gz
+# Source0-md5:	1520432391b21890ebc19206e777ff16
+URL:		http://theinternetco.net/projects/ruby/
+BuildRequires:	rpmbuild(macros) >= 1.263
+BuildRequires:	ruby
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Ruby interface to the linux mount(2) call.
+
+%prep
+%setup -q
+
+%build
+ruby extconf.rb
+%{__make} \
+	CC="%{__cc}" \
+	CFLAGS="%{rpmcflags} -fPIC"
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{ruby_sitearchdir},%{_examplesdir}/%{name}-%{version}}
+
+%{__make} install \
+	archdir=$RPM_BUILD_ROOT%{ruby_archdir} \
+	sitearchdir=$RPM_BUILD_ROOT%{ruby_archdir}
+
+rdoc -o rdoc ext/*
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc rdoc/*
+%attr(755,root,root) %{ruby_archdir}/linux_mount.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/02 06:16:29  aredridel
+- added
+
================================================================



More information about the pld-cvs-commit mailing list