packages: python-vcard/python-vcard.spec (NEW) - initial

arekm arekm at pld-linux.org
Mon Jul 18 14:54:45 CEST 2011


Author: arekm                        Date: Mon Jul 18 12:54:45 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial

---- Files affected:
packages/python-vcard:
   python-vcard.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/python-vcard/python-vcard.spec
diff -u /dev/null packages/python-vcard/python-vcard.spec:1.1
--- /dev/null	Mon Jul 18 14:54:45 2011
+++ packages/python-vcard/python-vcard.spec	Mon Jul 18 14:54:40 2011
@@ -0,0 +1,56 @@
+# $Revision$, $Date$
+%define 	module	vcard
+Summary:	vCard validator, class and utility functions
+Name:		python-%{module}
+Version:	0.7.4
+Release:	1
+License:	GPL v3
+Group:		Development/Languages
+URL:		http://sourceforge.net/projects/vcard-module/
+Source0:	http://downloads.sourceforge.net/vcard-module/vCard-module-%{version}.tar.gz
+# Source0-md5:	e34a32e41799d4a7065bb786d98b0a04
+BuildRequires:	python-isodate
+BuildRequires:	python-modules
+BuildRequires:	python-setuptools
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.219
+Requires:	python-isodate
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+vCard validator, class and utility functions.
+
+%prep
+%setup -q -n vCard-module-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%attr(755,root,root) %{_bindir}/vcard
+%dir %{py_sitescriptdir}/vcard
+%{py_sitescriptdir}/vcard/*.py*
+%{py_sitescriptdir}/vCard_module-%{version}*.egg-info
+
+%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  2011/07/18 12:54:40  arekm
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list