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

aredridel aredridel at pld-linux.org
Sun Jun 1 15:43:31 CEST 2008


Author: aredridel                    Date: Sun Jun  1 13:43:31 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added

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

---- Diffs:

================================================================
Index: SPECS/ruby-pathname2.spec
diff -u /dev/null SPECS/ruby-pathname2.spec:1.1
--- /dev/null	Sun Jun  1 15:43:31 2008
+++ SPECS/ruby-pathname2.spec	Sun Jun  1 15:43:26 2008
@@ -0,0 +1,52 @@
+# $Revision$, $Date$
+#
+Summary:	Path name manipulation library
+Name:		ruby-pathname2
+%define tarname pathname2
+Version:	1.5.2
+Release:	1
+License:	Ruby-alike
+Group:		Development/Languages
+Source0: http://rubyforge.org/frs/download.php/18293/pathname2-1.5.2.tar.bz2
+# Source0-md5:	3fba84e5eb164e932c2c9b2206537bff
+URL:		http://shards.rubyforge.org/
+BuildRequires:	rpmbuild(macros) >= 1.277
+BuildRequires:	ruby-modules
+%{?ruby_mod_ver_requires_eq}
+#BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Path name manipulation library.
+
+%prep
+%setup -q -n %{tarname}-%{version}
+
+%build
+rdoc --ri --op ri lib
+rdoc --op rdoc lib
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{ruby_rubylibdir},%{ruby_ridir}}
+cp -a lib/* $RPM_BUILD_ROOT%{ruby_rubylibdir}
+cp -a ri/* $RPM_BUILD_ROOT%{ruby_ridir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc rdoc README
+%{ruby_rubylibdir}/*
+%{ruby_ridir}/Pathname*
+
+%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  2008-06-01 13:43:26  aredridel
+- added
+
================================================================


More information about the pld-cvs-commit mailing list