SPECS: ruby-json-florian.spec (NEW) - added
aredridel
aredridel at pld-linux.org
Tue Jan 30 17:41:01 CET 2007
Author: aredridel Date: Tue Jan 30 16:41:01 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added
---- Files affected:
SPECS:
ruby-json-florian.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/ruby-json-florian.spec
diff -u /dev/null SPECS/ruby-json-florian.spec:1.1
--- /dev/null Tue Jan 30 17:41:01 2007
+++ SPECS/ruby-json-florian.spec Tue Jan 30 17:40:56 2007
@@ -0,0 +1,98 @@
+# $Revision$, $Date$
+Summary: JSON library for Ruby
+Summary(pl): 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
+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/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.1 2007/01/30 16:40:56 aredridel
+- added
+
+Revision 1.8 2005/12/31 10:36:33 twittner
+- change %%ruby_mod_ver_requires_eq to %%{?ruby_mod_ver_requires_eq} -
+ expand this macro only if defined to avoid parse error when appropriate
+ BRs is not installed yet (solution provided by glen)
+
+Revision 1.7 2005/12/29 16:59:48 twittner
+- replace R: ruby-modules with %%ruby_mod_ver_requires_eq macro
+ defined as `Requires: ruby-modules(ver) = 1.8' where `1.8' is
+ major ruby version taken from rbconfig
+- add BR: rpmbuild(macros) >= 1.277 with aforementioned macros
+
+Revision 1.6 2005/12/27 10:07:59 twittner
+- remove redundant BR: ruby-modules (BR: ruby-devel implies it)
+
+Revision 1.5 2005/12/27 09:38:28 twittner
+- (B)R: s/ruby/ruby-modules/, rel. 2 (mass commit through script)
+
+Revision 1.4 2005/11/19 13:32:04 glen
+- use system ruby macros
+- cleanups, corrections, cosmetics
+
+Revision 1.3 2005/05/12 18:31:03 qboosh
+- md5
+
+Revision 1.2 2005/05/12 17:54:53 qboosh
+- pl, Source0 URL
+
+Revision 1.1 2005/05/11 19:39:56 aredridel
+- added
================================================================
More information about the pld-cvs-commit
mailing list