rpms/rubygem-plist/F-12 import.log, NONE, 1.1 plist.RDocTask.patch, NONE, 1.1 rubygem-plist.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Gerd Pokorra gerd at fedoraproject.org
Mon Jun 21 09:08:18 UTC 2010


Author: gerd

Update of /cvs/pkgs/rpms/rubygem-plist/F-12
In directory cvs01.phx2.fedoraproject.org:/tmp/cvs-serv32457/F-12

Modified Files:
	.cvsignore sources 
Added Files:
	import.log plist.RDocTask.patch rubygem-plist.spec 
Log Message:
Initial upload of spec and patch files with the shell script cvs-import.sh



--- NEW FILE import.log ---
rubygem-plist-3_1_0-5_fc12:F-12:rubygem-plist-3.1.0-5.fc12.src.rpm:1277110321

plist.RDocTask.patch:
 Rakefile |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE plist.RDocTask.patch ---
--- Rakefile	2010-06-14 20:53:23.267647447 +0200
+++ Rakefile	2010-06-14 20:57:46.571832784 +0200
@@ -15,7 +15,7 @@
 require 'rake/packagetask'
 require 'rake/gempackagetask'
 require 'rake/contrib/rubyforgepublisher'
-require 'rdoc/task'
+require 'rake/rdoctask'
 
 $:.unshift(File.dirname(__FILE__) + "/lib")
 require 'plist'
@@ -104,7 +104,7 @@
 end
 
 # Genereate the RDoc documentation
-RDoc::Task.new do |rdoc|
+Rake::RDocTask.new do |rdoc|
   rdoc.title = "All-purpose Property List manipulation library"
   rdoc.main  = "README.rdoc"
 


--- NEW FILE rubygem-plist.spec ---
# Generated from plist-3.1.0.gem by gem2rpm -*- rpm-spec -*-

%global gemdir %(ruby -rubygems -e 'puts Gem::dir' 2>/dev/null)
%global gemname plist
%global geminstdir %{gemdir}/gems/%{gemname}-%{version}

Summary: All-purpose Property List manipulation library
Name: rubygem-%{gemname}
Version: 3.1.0
Release: 5%{?dist}
Group: Development/Languages
License: MIT
URL: http://plist.rubyforge.org
Source0: http://rubygems.org/gems/%{gemname}-%{version}.gem
Requires: ruby(abi) = 1.8
Requires: rubygems
BuildRequires: rubygems
BuildRequires: rubygem(rake)
BuildArch: noarch
Provides: rubygem(%{gemname}) = %{version}

# Mamoru Tasaka applied this patch during the review of this package.
# 
# patched file:  Rakefile
# Subtitute RDoc::Task with Rake::RdocTask which is used in Fedora.
Patch0: plist.RDocTask.patch

%package doc
Summary: Documentation for %{name}
Group: Documentation
BuildArch: noarch
Requires: %{name} = %{version}-%{release}


%description
Plist is a library to manipulate Property List files, also known as plists. 
It can parse plist files into native Ruby data structures as well as
generating new plist files from your Ruby objects.

#--

%description doc
This package contains Rakefile, test directory and documentation for
%{name}.


%prep

%build

%install
rm -rf %{buildroot}
mkdir -p %{buildroot}%{gemdir}
gem install -V --local --install-dir %{buildroot}%{gemdir} --rdoc %{SOURCE0}
find %{buildroot}%{geminstdir}/lib -name *.rb -exec chmod 755 {} \;

# Apply the patch which is needed that the tests successfully complete
cd  %{buildroot}%{geminstdir}
patch -p0 < %{PATCH0}


%clean
rm -rf %{buildroot}


%check
pushd %{buildroot}%{geminstdir}
rake test


%files
%defattr(-, root, root, -)
%dir %{geminstdir}
%doc %{geminstdir}/CHANGELOG
%doc %{geminstdir}/LICENSE
%doc %{geminstdir}/README.rdoc
%{geminstdir}/lib
%{gemdir}/cache/%{gemname}-%{version}.gem
%{gemdir}/specifications/%{gemname}-%{version}.gemspec

%files doc
%defattr(-, root, root, -)
%{geminstdir}/Rakefile
# mark this as documentation to get not
#  W: no-documentation
#  E: non-executable-script  (for *.rb files)
# from rpmlint
%doc %{geminstdir}/test
%{gemdir}/doc/%{gemname}-%{version}


%changelog
* Fri Jun 18 2010 Gerd Pokorra <gp at zimt.uni-siegen.de> - 3.1.0-5
- add comments about the patch and rename the file

* Wed Jun 16 2010 Gerd Pokorra <gp at zimt.uni-siegen.de> - 3.1.0-4
- use "Patch0" instead of "Source1" as tag for the patch

* Tue Jun 15 2010 Gerd Pokorra <gp at zimt.uni-siegen.de> - 3.1.0-3
- add "BuildRequires: rubygem(rake)"

* Tue Jun 15 2010 Gerd Pokorra <gp at zimt.uni-siegen.de> - 3.1.0-2
- require the Ruby ABI version it depends on
- add empty prep- and build-section again
- add patch from Mamoru Tasaka

* Mon Jun 07 2010 Gerd Pokorra <gp at zimt.uni-siegen.de> - 3.1.0-1
- make *.rb files executable or mark them as doc to have no rpmlint errors
- add doc-subpackage
- use "global" macro instead of "define" macro
- changed license tag
- Initial package


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-plist/F-12/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	21 Jun 2010 02:37:44 -0000	1.1
+++ .cvsignore	21 Jun 2010 09:08:17 -0000	1.2
@@ -0,0 +1 @@
+plist-3.1.0.gem


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/rubygem-plist/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	21 Jun 2010 02:37:44 -0000	1.1
+++ sources	21 Jun 2010 09:08:17 -0000	1.2
@@ -0,0 +1 @@
+c14c22b53f0113a4ac568548920e29a6  plist-3.1.0.gem



More information about the scm-commits mailing list