[packages/ruby-rack-ssl] - new
baggins
baggins at pld-linux.org
Sun Aug 31 22:29:17 CEST 2014
commit 208672f645dee48baefe1b2d59d885b227233afb
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sun Aug 31 22:28:59 2014 +0200
- new
ruby-rack-ssl.spec | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 81 insertions(+)
---
diff --git a/ruby-rack-ssl.spec b/ruby-rack-ssl.spec
new file mode 100644
index 0000000..6aba3b6
--- /dev/null
+++ b/ruby-rack-ssl.spec
@@ -0,0 +1,81 @@
+%define pkgname rack-ssl
+Summary: Rack middleware to force SSL/TLS.
+Name: ruby-%{pkgname}
+Version: 1.3.4
+Release: 1
+License: MIT
+Group: Development/Libraries
+Source0: http://rubygems.org/downloads/%{pkgname}-%{version}.gem
+# Source0-md5: 15789993d97f1cc1e7907f3b37165f4f
+URL: http://github.com/brynary/rack-test
+BuildRequires: rpm-rubyprov
+BuildRequires: rpmbuild(macros) >= 1.665
+Requires: ruby-rack >= 1.0
+BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Rack middleware to force SSL/TLS.
+
+%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 %{pkgname}-%{version}
+
+%build
+# write .gemspec
+%__gem_helper spec
+
+rdoc --ri --op ri lib
+rdoc --op rdoc lib
+rm ri/Rack/cdesc-Rack.ri
+rm ri/created.rid
+rm ri/cache.ri
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{ruby_vendorlibdir},%{ruby_specdir},%{ruby_ridir},%{ruby_rdocdir}}
+
+cp -a lib/* $RPM_BUILD_ROOT%{ruby_vendorlibdir}
+cp -a ri/* $RPM_BUILD_ROOT%{ruby_ridir}
+cp -a rdoc $RPM_BUILD_ROOT%{ruby_rdocdir}/%{name}-%{version}
+cp -p %{pkgname}-%{version}.gemspec $RPM_BUILD_ROOT%{ruby_specdir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc README.md
+%{ruby_vendorlibdir}/rack/ssl.rb
+%{ruby_specdir}/%{pkgname}-%{version}.gemspec
+
+%files rdoc
+%defattr(644,root,root,755)
+%{ruby_rdocdir}/%{name}-%{version}
+
+%files ri
+%defattr(644,root,root,755)
+%{ruby_ridir}/Rack/SSL
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/ruby-rack-ssl.git/commitdiff/208672f645dee48baefe1b2d59d885b227233afb
More information about the pld-cvs-commit
mailing list