Author: aredridel Date: Fri Apr 20 17:30:41 2007 GMT Module: SPECS Tag: HEAD ---- Log message: - added
---- Files affected: SPECS: ruby-bluecloth.spec (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: SPECS/ruby-bluecloth.spec diff -u /dev/null SPECS/ruby-bluecloth.spec:1.1 --- /dev/null Fri Apr 20 19:30:41 2007 +++ SPECS/ruby-bluecloth.spec Fri Apr 20 19:30:36 2007 @@ -0,0 +1,66 @@ +# $Revision$, $Date$ +Summary: BlueCloth - Markdown Humane Web Text for Ruby +Summary(pl.UTF-8): BlueCloth - obsługa formatu tekstowego dla WWW Markdown w języku Ruby +Name: ruby-bluecloth +Version: 1.0.0 +Release: 1 +License: GPL +Group: Development/Languages +Source0: http://www.deveiate.org/code/BlueCloth-1.0.0.tar.bz2 +# Source0-md5: 41d385b4ed147630cd922aa50475670b +URL: http://www.whytheluckystiff.net/ruby/bluecloth/ +BuildRequires: rpmbuild(macros) >= 1.277 +BuildRequires: sed >= 4.0 +BuildRequires: setup.rb +%{?ruby_mod_ver_requires_eq} +#BuildArch: noarch +BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n) + +%description +BlueCloth is a module for using Markdown in Ruby. Markdown is a text +format. A very simple text format. Another stab at making readable +text that can be converted to HTML. + +%description -l pl.UTF-8 +BlueCloth to moduł do używania Markdown w Rubym. Markdown to format +tekstowy. Bardzo prosty format tekstowy. Kolejny krok do tworzenia +czytelnego tekstu, który może być konwertowany do HTML-a. + +%prep +%setup -q -n BlueCloth-%{version} +sed -i -e '1s,#!.*/bin/ruby18,#!%{_bindir}/ruby,' bin/* + +%build +cp %{_datadir}/setup.rb . +ruby setup.rb config \ + --rbdir=%{ruby_rubylibdir} \ + --sodir=%{ruby_archdir} + +ruby setup.rb setup + +rdoc -o rdoc lib + +%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) +%attr(755,root,root) %{_bindir}/* +%{ruby_rubylibdir}/* + +%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`) +%changelog +* %{date} PLD Team <[EMAIL PROTECTED]> +All persons listed below can be reached at <cvs_login>@pld-linux.org + +$Log$ +Revision 1.1 2007/04/20 17:30:36 aredridel +- added + ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
