packages: ruby-rack-contrib/ruby-rack-contrib.spec (NEW) - added
aredridel
aredridel at pld-linux.org
Tue Aug 31 06:31:05 CEST 2010
Author: aredridel Date: Tue Aug 31 04:31:05 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- added
---- Files affected:
packages/ruby-rack-contrib:
ruby-rack-contrib.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/ruby-rack-contrib/ruby-rack-contrib.spec
diff -u /dev/null packages/ruby-rack-contrib/ruby-rack-contrib.spec:1.1
--- /dev/null Tue Aug 31 06:31:05 2010
+++ packages/ruby-rack-contrib/ruby-rack-contrib.spec Tue Aug 31 06:30:59 2010
@@ -0,0 +1,87 @@
+# $Revision$, $Date$
+%define pkgname rack-contrib
+Summary: Contrib modules for Rack
+Name: ruby-%{pkgname}
+Version: 1.0.1
+Release: 1
+License: MIT
+Group: Development/Libraries
+Source0: http://github.com/rack/rack-contrib/tarball/1.0.1/rack-contrib-%{version}.tar.gz
+# Source0-md5: 02d67b0b22b0c305c6d4d1c865f6633c
+URL: http://rubyforge.org/projects/rack
+BuildRequires: rpmbuild(macros) >= 1.484
+BuildRequires: ruby >= 1:1.8.6
+BuildRequires: ruby-modules
+%{?ruby_mod_ver_requires_eq}
+#BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Contributed Rack Middleware and Utilities.
+
+%package rdoc
+Summary: HTML documentation for %{pkgname}
+Summary(pl.UTF-8): Dokumentacja w formacie HTML dla %{pkgname}
+Group: Documentation
+Requires: ruby >= 1:1.8.7-4
+
+%description rdoc
+HTML documentation for %{pkgname}.
+
+%description rdoc -l pl.UTF-8
+Dokumentacja w formacie HTML dla %{pkgname}.
+
+%package ri
+Summary: ri documentation for %{pkgname}
+Summary(pl.UTF-8): Dokumentacja w formacie ri dla %{pkgname}
+Group: Documentation
+Requires: ruby
+
+%description ri
+ri documentation for %{pkgname}.
+
+%description ri -l pl.UTF-8
+Dokumentacji w formacie ri dla %{pkgname}.
+
+%prep
+%setup -q -n rack-rack-contrib-3a65d6e
+
+%build
+rdoc --ri --op ri lib
+rdoc --op rdoc lib
+rm ri/Rack/cdesc-Rack.yaml
+rm ri/created.rid
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{_bindir},%{ruby_rubylibdir},%{ruby_ridir},%{ruby_rdocdir}}
+
+cp -a lib/* $RPM_BUILD_ROOT%{ruby_rubylibdir}
+cp -a ri/* $RPM_BUILD_ROOT%{ruby_ridir}
+cp -a rdoc $RPM_BUILD_ROOT%{ruby_rdocdir}/%{name}-%{version}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%{ruby_rubylibdir}/rack/contrib.rb
+%{ruby_rubylibdir}/rack/contrib
+
+%files rdoc
+%defattr(644,root,root,755)
+%{ruby_rdocdir}/%{name}-%{version}
+
+%files ri
+%defattr(644,root,root,755)
+%{ruby_ridir}/Rack/*
+
+%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 2010/08/31 04:30:59 aredridel
+- added
+
================================================================
More information about the pld-cvs-commit
mailing list