SPECS: ruby-rbcdio.spec (NEW) - new

qboosh qboosh at pld-linux.org
Fri Nov 30 20:03:51 CET 2007


Author: qboosh                       Date: Fri Nov 30 19:03:51 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

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

---- Diffs:

================================================================
Index: SPECS/ruby-rbcdio.spec
diff -u /dev/null SPECS/ruby-rbcdio.spec:1.1
--- /dev/null	Fri Nov 30 20:03:51 2007
+++ SPECS/ruby-rbcdio.spec	Fri Nov 30 20:03:46 2007
@@ -0,0 +1,69 @@
+# $Revision$, $Date$
+Summary:	Ruby bindings for libcdio
+Summary(pl.UTF-8):	Wiązania języka Ruby do libcdio
+Name:		ruby-rbcdio
+Version:	0.02
+Release:	1
+License:	GPL v2+
+Group:		Development/Languages
+Source0:	http://ftp.gnu.org/gnu/libcdio/rbcdio-%{version}.tgz
+# Source0-md5:	8f408cb726fcf64aaed17a6ca75c7227
+URL:		http://www.gnu.org/software/libcdio/
+BuildRequires:	libcdio-devel >= 0.76
+BuildRequires:	pkgconfig
+BuildRequires:	rpmbuild(macros) >= 1.277
+BuildRequires:	ruby-devel >= 1:1.8
+BuildRequires:	swig-ruby
+Requires:	libcdio >= 0.76
+Requires:	ruby >= 1:1.8
+%{?ruby_mod_ver_requires_eq}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Ruby bindings for libcdio.
+
+%description -l pl.UTF-8
+Wiązania języka Ruby do libcdio.
+
+%prep
+%setup -q -n rbcdio-%{version}
+
+%build
+%configure
+
+%{__make}
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+for d in ext/* ; do
+%{__make} -C $d install \
+	RUBYARCHDIR=$RPM_BUILD_ROOT%{ruby_archdir}
+done
+
+install -d $RPM_BUILD_ROOT%{ruby_rubylibdir}
+install lib/*.rb $RPM_BUILD_ROOT%{ruby_rubylibdir}
+
+install example/{*.rb,README} $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc AUTHORS ChangeLog NEWS README THANKS doc/*
+%attr(755,root,root) %{ruby_archdir}/rubycdio.so
+%attr(755,root,root) %{ruby_archdir}/rubyiso9660.so
+%{ruby_rubylibdir}/cdio.rb
+%{ruby_rubylibdir}/iso9660.rb
+%{_examplesdir}/%{name}-%{version}
+
+%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-11-30 19:03:46  qboosh
+- new
================================================================


More information about the pld-cvs-commit mailing list