SPECS: ruby-deprecated.spec (NEW) - 2.0.1

aredridel aredridel at pld-linux.org
Mon Sep 1 23:53:48 CEST 2008


Author: aredridel                    Date: Mon Sep  1 21:53:48 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- 2.0.1

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

---- Diffs:

================================================================
Index: SPECS/ruby-deprecated.spec
diff -u /dev/null SPECS/ruby-deprecated.spec:1.1
--- /dev/null	Mon Sep  1 23:53:48 2008
+++ SPECS/ruby-deprecated.spec	Mon Sep  1 23:53:43 2008
@@ -0,0 +1,45 @@
+# $Revision$, $Date$
+Summary:	Library for dealing with deprecated functions
+Name:		ruby-deprecated
+Version:	2.0.1
+Release:	1
+License:	Ruby
+Source0: http://rubyforge.org/frs/download.php/40375/deprecated-%{version}.tar.gz
+# Source0-md5:	10d0962965ee856c364be2bfe8f1c323
+Group:		Development/Languages
+URL:	http://deprecated.rubyforge.org/
+BuildRequires:	rpmbuild(macros) >= 1.277
+BuildRequires:	ruby-modules
+BuildRequires:	setup.rb
+%{?ruby_mod_ver_requires_eq}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is a small library intended to aid developers working with deprecated
+code. The idea comes from the 'D' programming language, where developers can
+mark certain code as deprecated, and then allow/disallow the ability to
+execute deprecated code.
+
+%prep
+%setup -q -n deprecated-%{version}
+install %{_datadir}/setup.rb .
+
+%build
+ruby setup.rb config --rbdir=%{ruby_rubylibdir} --sodir=%{ruby_archdir}
+ruby setup.rb setup
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{ruby_rubylibdir}
+
+ruby setup.rb install --prefix=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{ruby_rubylibdir}/*.rb
+
+%define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
================================================================


More information about the pld-cvs-commit mailing list