SPECS: ruby-pdf-writer.spec - Polish translation - Added example f...
beorn
beorn at pld-linux.org
Sun Mar 11 13:44:16 CET 2007
Author: beorn Date: Sun Mar 11 12:44:16 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- Polish translation
- Added example files
- Description fix (for package description it doeasn't matter how many pages
the manual has)
- Added missing documentation files
---- Files affected:
SPECS:
ruby-pdf-writer.spec (1.2 -> 1.3)
---- Diffs:
================================================================
Index: SPECS/ruby-pdf-writer.spec
diff -u SPECS/ruby-pdf-writer.spec:1.2 SPECS/ruby-pdf-writer.spec:1.3
--- SPECS/ruby-pdf-writer.spec:1.2 Sat Mar 10 17:58:27 2007
+++ SPECS/ruby-pdf-writer.spec Sun Mar 11 13:44:11 2007
@@ -1,5 +1,6 @@
# $Revision$, $Date$
Summary: PDF generator for Ruby
+Summary(pl.UTF-8): Generator PDF dla Ruby
Name: ruby-pdf-writer
Version: 1.1.3
Release: 1
@@ -19,11 +20,11 @@
%description
PDF::Writer for Ruby provides the ability to create PDF documents
-using only native Ruby libraries. There are several demo programs
-available in the demo/ directory. The canonical documentation for
-PDF::Writer is the 95-page manual, manual.pdf, generated using
-bin/techbook (just techbook for RubyGem users) and the manual file
-manual.pwd.
+using only native Ruby libraries.
+
+%description -l pl.UTF-8
+PDF::Writer dla Ruby dostarcza możliwość tworzenia dokumentów PDF
+przy użyciu jedynie natywnych bibliotek Ruby.
%prep
%setup -q -n pdf-writer-%{version}
@@ -45,22 +46,26 @@
%install
rm -rf $RPM_BUILD_ROOT
-install -d $RPM_BUILD_ROOT{%{ruby_archdir},%{ruby_ridir}}
+install -d $RPM_BUILD_ROOT{%{ruby_archdir},%{ruby_ridir},%{_examplesdir}/%{name}-%{version}/images}
ruby setup.rb install \
--prefix=$RPM_BUILD_ROOT
cp -a ri/* $RPM_BUILD_ROOT%{ruby_ridir}
+sed -i -e 's|../images|./images|g' demo/chunkybacon.rb
+cp demo/*.rb $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
+cp -r images/chunkybacon.* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}/images
%clean
rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc rdoc
+%doc rdoc README ChangeLog
%attr(755,root,root) %{_bindir}/*
%{ruby_rubylibdir}/*
%{ruby_ridir}/*
+%{_examplesdir}/%{name}-%{version}
%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
%changelog
@@ -68,6 +73,13 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.3 2007/03/11 12:44:11 beorn
+- Polish translation
+- Added example files
+- Description fix (for package description it doeasn't matter how many pages
+ the manual has)
+- Added missing documentation files
+
Revision 1.2 2007/03/10 16:58:27 aredridel
- remove unneeded ri file
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/ruby-pdf-writer.spec?r1=1.2&r2=1.3&f=u
More information about the pld-cvs-commit
mailing list