SPECS: ruby-vpim.spec (NEW) - added
aredridel
aredridel at pld-linux.org
Sat May 26 01:48:05 CEST 2007
Author: aredridel Date: Fri May 25 23:48:05 2007 GMT
Module: SPECS Tag: HEAD
---- Log message:
- added
---- Files affected:
SPECS:
ruby-vpim.spec (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SPECS/ruby-vpim.spec
diff -u /dev/null SPECS/ruby-vpim.spec:1.1
--- /dev/null Sat May 26 01:48:05 2007
+++ SPECS/ruby-vpim.spec Sat May 26 01:47:59 2007
@@ -0,0 +1,77 @@
+# $Revision$, $Date$
+Summary: iCalendar and vCard parser and generator for Ruby
+Summary(pl.UTF-8): Analizator i generator formatu iCalendar i vCard dla języka Ruby
+Name: ruby-vpim
+Version: 0.98
+Release: 1
+License: Ruby's
+Group: Development/Languages
+Source0: http://rubyforge.org/frs/download.php/9497/vpim-0.360.gem
+# Source0-md5: 6c7cfbcc76ac08663e32d29a1e1b62cf
+URL: http://vpim.rubyforge.org/
+BuildRequires: rake
+BuildRequires: rpmbuild(macros) >= 1.277
+BuildRequires: setup.rb = 3.3.1
+Requires: ruby-builder
+#BuildArch: noarch
+BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+This is a pure-ruby library for decoding and encoding vCard and
+iCalendar data ("personal information") called vPim.
+
+vCard (RFC 2426) is a format for personal information, see Vpim::Vcard
+and Vpim::Maker::Vcard.
+
+iCalendar (RFC 2445) is a format for calendar related information, see
+Vpim::Icalendar.
+
+vCard and iCalendar support is built on top of an implementation of
+the MIME Content-Type for Directory Information (RFC 2425). The basic
+RFC 2425 format is implemented by Vpim::DirectoryInfo and
+Vpim::DirectoryInfo::Field.
+
+%prep
+%setup -q -c
+tar xf %{SOURCE0} -O data.tar.gz | tar xzv-
+cp %{_datadir}/setup.rb .
+
+%build
+ruby setup.rb config \
+ --rbdir=%{ruby_rubylibdir} \
+ --sodir=%{ruby_archdir}
+
+ruby setup.rb setup
+
+rdoc --op rdoc lib
+rdoc --ri --op ri lib
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{ruby_archdir},%{ruby_ridir}}
+
+ruby setup.rb install \
+ --prefix=$RPM_BUILD_ROOT
+
+cp -a ri/* $RPM_BUILD_ROOT%{ruby_ridir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc rdoc
+%{ruby_rubylibdir}/*.rb
+%{ruby_rubylibdir}/vpim*
+%{ruby_ridir}/DateGen
+%{ruby_ridir}/Vpim
+
+%define date %(echo `LC_ALL="C" date +"%a %b %d %Y"`)
+%changelog
+* %{date} PLD Team <feedback at pld-linux.org>
+All persons listed below can be reached at <cvs_login>@pld-linux.org
+
+$Log$
+Revision 1.1 2007/05/25 23:47:59 aredridel
+- added
+
================================================================
More information about the pld-cvs-commit
mailing list