SPECS: ruby-net-irc.spec (NEW) - added

aredridel aredridel at pld-linux.org
Sun Jul 6 20:00:24 CEST 2008


Author: aredridel                    Date: Sun Jul  6 18:00:24 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added

---- Files affected:
SPECS:
   ruby-net-irc.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/ruby-net-irc.spec
diff -u /dev/null SPECS/ruby-net-irc.spec:1.1
--- /dev/null	Sun Jul  6 20:00:24 2008
+++ SPECS/ruby-net-irc.spec	Sun Jul  6 20:00:18 2008
@@ -0,0 +1,58 @@
+# $Revision$, $Date$
+Summary:	Library for writing IRC clients and servers
+Name:		ruby-net-irc
+Version:	0.0.5
+Release:	1
+License:	MIT
+Group:		Development/Libraries
+Source0:	http://rubyforge.org/frs/download.php/39481/net-irc-%{version}.tgz
+# Source0-md5:	24bc92d6825eba0a0f223e918df63e9f
+URL:		http://rubyforge.org/projects/lowreal
+BuildRequires:	rpmbuild(macros) >= 1.277
+BuildRequires:	ruby-modules
+BuildRequires:	setup.rb
+#BuildArch:	noarch
+%{?ruby_mod_ver_requires_eq}
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Library for writing IRC clients and servers.
+
+%prep
+%setup -q -n net-irc-%{version}
+
+%build
+cp %{_datadir}/setup.rb .
+ruby setup.rb config \
+	--rbdir=%{ruby_rubylibdir} \
+	--sodir=%{ruby_archdir}
+
+ruby setup.rb setup
+
+rdoc -o rdoc lib
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT%{ruby_rubylibdir}
+
+ruby setup.rb install \
+	--prefix=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc rdoc README
+%{ruby_rubylibdir}/net/irc
+%{ruby_rubylibdir}/net/irc.rb
+
+%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  2008/07/06 18:00:18  aredridel
+- added
+
================================================================


More information about the pld-cvs-commit mailing list