SPECS: ruby-bdb.spec - pl, unified examples dir

qboosh qboosh at pld-linux.org
Mon Jul 4 23:53:13 CEST 2005


Author: qboosh                       Date: Mon Jul  4 21:53:13 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl, unified examples dir

---- Files affected:
SPECS:
   ruby-bdb.spec (1.2 -> 1.3) 

---- Diffs:

================================================================
Index: SPECS/ruby-bdb.spec
diff -u SPECS/ruby-bdb.spec:1.2 SPECS/ruby-bdb.spec:1.3
--- SPECS/ruby-bdb.spec:1.2	Sun Jul  3 20:52:58 2005
+++ SPECS/ruby-bdb.spec	Mon Jul  4 23:53:08 2005
@@ -6,7 +6,8 @@
 
 %define		tarname		bdb
 
-Summary:	An interface to Berkeley DB 
+Summary:	An interface to Berkeley DB
+Summary(pl):	Interfejs do Berkeley DB
 Name:		ruby-bdb
 Version:	0.5.6
 Release:	1
@@ -24,26 +25,29 @@
 %description
 An interface to Berkeley DB.
 
+%description -l pl
+Interfejs do Berkeley DB.
+
 %prep
 %setup -q -n %{tarname}-%{version}
 
 %build
 ruby extconf.rb
-make
+%{__make}
 
 rdoc --ri --op ri src 
 rdoc --op rdoc src
 
 %install
 rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{ruby_rubylibdir},%{ruby_ridir},%{_examplesdir}/%{name}}
+install -d $RPM_BUILD_ROOT{%{ruby_rubylibdir},%{ruby_ridir},%{_examplesdir}/%{name}-%{version}}
 
 %{__make} install \
 	archdir=$RPM_BUILD_ROOT%{ruby_archdir} \
 	sitearchdir=$RPM_BUILD_ROOT%{ruby_archdir}
 
 cp -a ri/ri/* $RPM_BUILD_ROOT%{ruby_ridir}
-cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}
+cp -a examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
 %clean
 rm -rf $RPM_BUILD_ROOT
@@ -53,7 +57,7 @@
 %doc rdoc
 %attr(755,root,root) %{ruby_archdir}/*.so
 %{ruby_ridir}/BDB*
-%{_examplesdir}/%{name}
+%{_examplesdir}/%{name}-%{version}
 
 %define date	%(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -61,9 +65,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.3  2005/07/04 21:53:08  qboosh
+- pl, unified examples dir
+
 Revision 1.2  2005/07/03 18:52:58  aredridel
 - remove db/xml from description until PLD has db/xml
 
 Revision 1.1  2005/07/03 18:52:03  aredridel
 - added
-
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ruby-bdb.spec?r1=1.2&r2=1.3&f=u




More information about the pld-cvs-commit mailing list