Author: qboosh                       Date: Fri Feb 25 21:04:35 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- pl desc, unified examples dir

---- Files affected:
SPECS:
   ruby-Og.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SPECS/ruby-Og.spec
diff -u SPECS/ruby-Og.spec:1.1 SPECS/ruby-Og.spec:1.2
--- SPECS/ruby-Og.spec:1.1      Fri Feb 25 09:04:23 2005
+++ SPECS/ruby-Og.spec  Fri Feb 25 22:04:24 2005
@@ -3,7 +3,7 @@
 %define        ruby_ridir      %(ruby -r rbconfig -e 'include Config; print 
File.join(CONFIG["datadir"], "ri", CONFIG["ruby_version"])')
 %define        ruby_version    %(ruby -r rbconfig -e 'print 
Config::CONFIG["ruby_version"]')
 Summary:       Object-Relational mapping library for Ruby
-Summary(pl):   Biblioteka odwzorowań obiektowo-relacyjnych dla Ruby
+Summary(pl):   Biblioteka odwzorowań obiektowo-relacyjnych dla języka Ruby
 Name:          ruby-Og
 %define tarname og
 Version:       0.10.0
@@ -19,7 +19,12 @@
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
-This package contains the Og "Object Graph" Object-Relational mapping library 
for Ruby.
+This package contains the Og "Object Graph" Object-Relational mapping
+library for Ruby.
+
+%description -l pl
+Ten pakiet zawiera bibliotekę odwzorowań obiektowo relacyjnych Og
+("Object Graph") dla języka Ruby.
 
 %prep
 %setup -q -n %{tarname}-%{version}
@@ -30,20 +35,20 @@
 
 %install
 rm -rf $RPM_BUILD_ROOT
-mkdir -p 
$RPM_BUILD_ROOT{%{ruby_rubylibdir},%{ruby_ridir},%{_examplesdir}/%{name}}
+install -d 
$RPM_BUILD_ROOT{%{ruby_rubylibdir},%{ruby_ridir},%{_examplesdir}/%{name}-%{version}}
 cp -a lib/* $RPM_BUILD_ROOT%{ruby_rubylibdir}
 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
 
 %files
 %defattr(644,root,root,755)
-%doc rdoc AUTHORS    ChangeLog.1  README.og ChangeLog  RELEASES.og 
+%doc rdoc AUTHORS ChangeLog.1 README.og ChangeLog RELEASES.og
 %{ruby_rubylibdir}/*
 %{ruby_ridir}/Og
-%{_examplesdir}/%{name}
+%{_examplesdir}/%{name-%{version}}
 
 %define date   %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
 %changelog
@@ -51,6 +56,8 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2005/02/25 21:04:24  qboosh
+- pl desc, unified examples dir
+
 Revision 1.1  2005/02/25 08:04:23  aredridel
 - added
-
================================================================

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


_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to