SPECS: ruby-json.spec (NEW), ruby-json-florian.spec (REMOVED) - mv...

aredridel aredridel at pld-linux.org
Sun Apr 15 02:48:08 CEST 2007


Author: aredridel                    Date: Sun Apr 15 00:48:08 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- mv ruby-json-florian.spec ruby-json.spec

---- Files affected:
SPECS:
   ruby-json.spec (1.12 -> 1.13)  (NEW), ruby-json-florian.spec (1.5 -> NONE)  (REMOVED)

---- Diffs:

================================================================
Index: SPECS/ruby-json.spec
diff -u /dev/null SPECS/ruby-json.spec:1.13
--- /dev/null	Sun Apr 15 02:48:08 2007
+++ SPECS/ruby-json.spec	Sun Apr 15 02:48:03 2007
@@ -0,0 +1,85 @@
+# $Revision$, $Date$
+# TODO: Name vs spec filename
+Summary:	JSON library for Ruby
+Summary(pl.UTF-8):	Biblioteka JSON dla języka Ruby
+Name:		ruby-json-rubyforge
+Version:	0.4.2
+Release:	1
+License:	GPL
+Group:		Development/Languages
+Source0:	http://rubyforge.org/frs/download.php/12676/json-%{version}.tgz
+# Source0-md5:	be791c67c5d7b405c9f9f7dfd9475e45
+URL:		http://json.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
+JSON library for Ruby.
+
+%description -l pl.UTF-8
+Biblioteka JSON dla języka Ruby.
+
+%prep
+%setup -q -n json-%{version}
+#mkdir lib
+#mv json lib
+install %{_datadir}/setup.rb .
+
+%build
+ruby setup.rb config \
+	--rbdir=%{ruby_rubylibdir} \
+	--sodir=%{ruby_archdir}
+
+ruby setup.rb setup
+
+rdoc -o rdoc/ --main README README lib/* --title "%{name} %{version}" --inline-source
+rdoc --ri -o ri lib/*
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{ruby_rubylibdir},%{ruby_ridir}}
+
+ruby setup.rb install --prefix=$RPM_BUILD_ROOT
+
+cp -a ri/* $RPM_BUILD_ROOT%{ruby_ridir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc rdoc/*
+%attr(755,root,root) %{_bindir}/*.rb
+%{ruby_rubylibdir}/json
+%{ruby_rubylibdir}/json.rb
+# Does not merge well with others.
+%{ruby_ridir}/JSON
+%{ruby_ridir}/*/*json*
+
+%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.13  2007/04/15 00:48:03  aredridel
+- mv ruby-json-florian.spec ruby-json.spec
+
+Revision 1.5  2007/03/08 06:40:05  aredridel
+- massive attack: correct ri output path for ruby 1.8.6
+
+Revision 1.4  2007/02/13 21:52:15  qboosh
+- truncated changelog
+- spec filename != Name
+
+Revision 1.3  2007/02/12 22:09:13  glen
+- tabs in preamble
+
+Revision 1.2  2007/02/12 01:06:46  baggins
+- converted to UTF-8
+
+Revision 1.1  2007/01/30 16:40:56  aredridel
+- added
================================================================


More information about the pld-cvs-commit mailing list