[rubygem-cookiejar/f20] rubygem-cookiejar-0.3.2

nitesh narayan lal niteshnarayan at fedoraproject.org
Tue Jul 15 17:39:12 UTC 2014


commit f6e67dad8a30e58157c97e0acb95e4939df47f94
Author: Nitesh Narayan Lal <niteshnarayanlalleo at gmail.com>
Date:   Tue Jul 15 23:08:44 2014 +0530

    rubygem-cookiejar-0.3.2

 .gitignore             |    1 +
 rubygem-cookiejar.spec |   90 ++++++++++++++++++++++++++++++++++++++++++++++++
 sources                |    1 +
 3 files changed, 92 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..11ef40f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/cookiejar-0.3.2.gem
diff --git a/rubygem-cookiejar.spec b/rubygem-cookiejar.spec
new file mode 100644
index 0000000..8acc436
--- /dev/null
+++ b/rubygem-cookiejar.spec
@@ -0,0 +1,90 @@
+%global gem_name cookiejar	
+
+Name: rubygem-%{gem_name}
+Version: 0.3.2
+Release: 5%{?dist}
+Summary: Parsing and returning cookies in Ruby
+Group: Development/Languages
+License: BSD	
+URL: https://github.com/dwaite/cookiejar
+Source0: https://rubygems.org/gems/cookiejar-%{version}.gem
+BuildRequires: rubygem(rspec)
+BuildRequires: ruby(release)
+BuildRequires: rubygems-devel 
+BuildArch: noarch
+%if 0%{?fc19} || 0%{?fc20}
+Requires: ruby(release)
+Requires: rubygems
+Provides: rubygem(%{gem_name}) = %{version}
+%endif
+
+%description
+The Ruby CookieJar is a library to help manage client-side cookies in pure
+Ruby. It enables parsing and setting of cookie headers, alternating between
+multiple 'jars' of cookies at one time (such as having a set of cookies for
+each browser or thread), and supports persistence of the cookies in a JSON
+string.
+
+%package doc
+Summary: Documentation for %{name}
+Group: Documentation
+Requires: %{name} = %{version}-%{release}
+BuildArch: noarch
+
+%description doc
+Documentation for %{name}
+
+%prep
+gem unpack %{SOURCE0}
+
+%setup -q -D -T -n  %{gem_name}-%{version}
+
+gem spec %{SOURCE0} -l --ruby > %{gem_name}.gemspec
+
+%build
+gem build %{gem_name}.gemspec
+
+%gem_install
+
+
+%check
+pushd ./%{gem_instdir}
+rspec -Ilib spec
+popd	
+
+%install
+
+mkdir -p %{buildroot}%{gem_dir}
+cp -pa .%{gem_dir}/* \
+        %{buildroot}%{gem_dir}/
+
+%files
+%dir %{gem_instdir}
+%{gem_libdir}
+%exclude %{gem_cache}
+%exclude %{gem_instdir}/contributors.json
+%{gem_spec}
+%doc %{gem_instdir}/spec/*
+%doc %{gem_instdir}/LICENSE
+
+%files doc
+%{gem_docdir}  
+%{gem_instdir}/README.markdown
+%{gem_instdir}/Rakefile
+
+%changelog
+
+* Tue Jun 24 2014 Nitesh Narayan Lal <niteshnarayan at fedoraproject.org> - 0.3.2-5
+- Updated to latest upstream release
+
+* Wed May 28 2014 Nitesh Narayan Lal <niteshnarayan at fedoraproject.org> - 0.3.2-4
+- Added conditional for F19/F20
+
+* Sat Mar 15 2014 Nitesh Narayan Lal <niteshnarayan at fedoraproject.org> - 0.3.2-3
+- Updated to comply with Fedora guidelines
+
+* Thu Mar 6 2014 Nitesh Narayan Lal <niteshnarayan at fedoraproject.org> - 0.3.2-2
+- Updated as per the Fedora guidelines
+
+* Sat Jan 11 2014 Nitesh Narayan Lal <niteshnarayan at fedoraproject.org> - 0.3.2-1
+- Initial package
diff --git a/sources b/sources
index e69de29..102f2f8 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+306741dd4027911d1ff8f8fc9492c311  cookiejar-0.3.2.gem


More information about the scm-commits mailing list