SPECS: ruby-ActiveMerchant.spec (NEW) - added

aredridel aredridel at pld-linux.org
Thu Mar 8 02:17:36 CET 2007


Author: aredridel                    Date: Thu Mar  8 01:17:36 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- added

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

---- Diffs:

================================================================
Index: SPECS/ruby-ActiveMerchant.spec
diff -u /dev/null SPECS/ruby-ActiveMerchant.spec:1.1
--- /dev/null	Thu Mar  8 02:17:36 2007
+++ SPECS/ruby-ActiveMerchant.spec	Thu Mar  8 02:17:30 2007
@@ -0,0 +1,54 @@
+# $Revision$, $Date$
+Summary:	Ruby library for dealing with Creditcards, Payments  and shipping.
+Name:		ruby-ActiveMerchant
+%define tarname activemerchant
+Version:	1.0.3
+Release:	1
+License:	Ruby-alike
+Group:		Development/Languages
+Source0:	http://rubyforge.org/frs/download.php/17865/%{tarname}-1.0.3.tgz
+# Source0-md5:	fa6ae6d8f551974eb4676d346dfe13a1
+URL:		http://www.activemerchant.org/
+BuildRequires:	rpmbuild(macros) >= 1.277
+BuildRequires:	ruby-modules
+%{?ruby_mod_ver_requires_eq}
+#BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Active Merchant is an extraction from the e-commerce system Shopify.
+Shopify's requirements for a simple and unified API to access dozens of
+different payment gateways with very different internal APIs was the chief
+principle in designing the library.
+
+%prep
+%setup -q -n %{tarname}-%{version}
+
+%build
+#rdoc --ri --op ri lib
+rdoc --op rdoc lib
+
+%install
+rm -rf $RPM_BUILD_ROOT
+install -d $RPM_BUILD_ROOT{%{ruby_rubylibdir},%{ruby_ridir}}
+cp -a lib/* $RPM_BUILD_ROOT%{ruby_rubylibdir}
+#cp -a ri/* $RPM_BUILD_ROOT%{ruby_ridir}
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc CHANGELOG rdoc
+%{ruby_rubylibdir}/*
+#%{ruby_ridir}/ActiveSupport
+
+%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/03/08 01:17:30  aredridel
+- added
+
================================================================


More information about the pld-cvs-commit mailing list