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

aredridel aredridel at pld-linux.org
Tue Oct 24 20:40:51 CEST 2006


Author: aredridel                    Date: Tue Oct 24 18:40:51 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added

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

---- Diffs:

================================================================
Index: SPECS/ruby-ezcrypto.spec
diff -u /dev/null SPECS/ruby-ezcrypto.spec:1.1
--- /dev/null	Tue Oct 24 20:40:51 2006
+++ SPECS/ruby-ezcrypto.spec	Tue Oct 24 20:40:46 2006
@@ -0,0 +1,61 @@
+# $Revision$, $Date$
+Summary:	Ruby EZ Crypto Library
+Name:		ruby-ezcrypto
+Version:	0.7
+Release:	1
+License:	GPL
+Group:		Development/Languages
+Source0:	http://rubyforge.org/frs/download.php/13089/ezcrypto-0.7.tgz	
+# Source0-md5:	1da109470b0cbfcfbd571e8aae99f973
+URL:		httpp://ezcrypto.rubyforge.org
+BuildRequires:	rpmbuild(macros) >= 1.277
+BuildRequires:	ruby-devel
+BuildRequires:	setup.rb = 3.3.1
+%{?ruby_mod_ver_requires_eq}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Ruby EZ crypto library.
+
+%prep
+%setup -q -n ezcrypto-%{version}
+cp %{_datadir}/setup.rb .
+
+%build
+ruby setup.rb config \
+	--rbdir=%{ruby_rubylibdir} \
+	--sodir=%{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_rubylibdir}
+install -d $RPM_BUILD_ROOT%{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 README* 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  2006/10/24 18:40:46  aredridel
+- added
+
================================================================


More information about the pld-cvs-commit mailing list