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

aredridel aredridel at pld-linux.org
Sun Jun 12 02:25:41 CEST 2005


Author: aredridel                    Date: Sun Jun 12 00:25:41 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added

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

---- Diffs:

================================================================
Index: SPECS/ruby-wikify.spec
diff -u /dev/null SPECS/ruby-wikify.spec:1.1
--- /dev/null	Sun Jun 12 02:25:41 2005
+++ SPECS/ruby-wikify.spec	Sun Jun 12 02:25:34 2005
@@ -0,0 +1,53 @@
+# $Revision$, $Date$
+%define	ruby_rubylibdir	%(ruby -r rbconfig -e 'print Config::CONFIG["rubylibdir"]')
+%define	ruby_ridir	%(ruby -r rbconfig -e 'include Config; print File.join(CONFIG["datadir"], "ri", CONFIG["ruby_version"])')
+%define	ruby_version	%(ruby -r rbconfig -e 'print Config::CONFIG["ruby_version"]')
+Summary:	Object-Relational mapping library for Ruby
+Name:		ruby-wikify
+%define tarname wikify
+Version:	0.1
+Release:	1
+License:	Ruby-alike
+Group:		Development/Languages
+Source0:	http://community.nbtsc.org/~apollotiger/gadgets/%{tarname}-%{version}.tar.gz
+# Source0-md5:	1231f8cbf59d7464e0d17021822d91b7
+uRL:		http://community.nbtsc.org/~apollotiger/gadgets/wikify
+BuildRequires:	ruby
+Requires:	ruby
+#BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+A simple library to render text to HTML.
+
+%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},%{_examplesdir}/%{name}-%{version}}
+cp -a lib/* $RPM_BUILD_ROOT%{ruby_rubylibdir}
+cp -a ri/ri/* $RPM_BUILD_ROOT%{ruby_ridir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc rdoc
+%{ruby_rubylibdir}/*
+%{ruby_ridir}/String/wikify*
+
+%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/06/12 00:25:34  aredridel
+- added
+
================================================================



More information about the pld-cvs-commit mailing list