SPECS: ruby-Nitro.spec - added missing dirs

aredridel aredridel at pld-linux.org
Sat Nov 19 07:16:39 CET 2005


Author: aredridel                    Date: Sat Nov 19 06:16:39 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added missing dirs

---- Files affected:
SPECS:
   ruby-Nitro.spec (1.11 -> 1.12) 

---- Diffs:

================================================================
Index: SPECS/ruby-Nitro.spec
diff -u SPECS/ruby-Nitro.spec:1.11 SPECS/ruby-Nitro.spec:1.12
--- SPECS/ruby-Nitro.spec:1.11	Sat Nov 19 01:16:03 2005
+++ SPECS/ruby-Nitro.spec	Sat Nov 19 07:16:34 2005
@@ -12,6 +12,7 @@
 Group:		Development/Languages
 Source0:	http://rubyforge.org/download.php/7158/%{tarname}-%{version}.tgz
 # Source0-md5:	604a9676b17edd41f0167637048554e1
+Patch0:	%{name}-FHS.patch
 URL:		http://rubyforge.org/projects/nitro/
 BuildRequires:	ruby
 Requires:	ruby
@@ -30,6 +31,7 @@
 %prep
 #%setup -q -n %{tarname}-%{version}
 %setup -q -n %{tarname}
+%patch0 -p1
 
 %build
 rdoc --ri --op ri lib
@@ -37,9 +39,11 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{ruby_rubylibdir},%{ruby_ridir}}
+install -d $RPM_BUILD_ROOT{%{ruby_rubylibdir},%{ruby_ridir},%{_datadir}/%{name}}
 cp -a lib/* $RPM_BUILD_ROOT%{ruby_rubylibdir}
 cp -a ri/ri/* $RPM_BUILD_ROOT%{ruby_ridir}
+cp -a src/part $RPM_BUILD_ROOT%{ruby_rubylibdir}
+cp -a proto $RPM_BUILD_ROOT%{_datadir}/%{name}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -50,6 +54,7 @@
 %{ruby_rubylibdir}/*
 %{ruby_ridir}/N*
 %{ruby_ridir}/*Shader*
+%{_datadir}/%{name}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -57,6 +62,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.12  2005/11/19 06:16:34  aredridel
+- added missing dirs
+
 Revision 1.11  2005/11/19 00:16:03  aredridel
 - up to 0.25.0
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ruby-Nitro.spec?r1=1.11&r2=1.12&f=u




More information about the pld-cvs-commit mailing list