SPECS: python-Babel.spec (NEW) - new

witekfl witekfl at pld-linux.org
Mon Nov 3 16:29:36 CET 2008


Author: witekfl                      Date: Mon Nov  3 15:29:36 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- new

---- Files affected:
SPECS:
   python-Babel.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SPECS/python-Babel.spec
diff -u /dev/null SPECS/python-Babel.spec:1.1
--- /dev/null	Mon Nov  3 16:29:36 2008
+++ SPECS/python-Babel.spec	Mon Nov  3 16:29:31 2008
@@ -0,0 +1,86 @@
+# $Revision$, $Date$
+%define		fname	Babel
+Summary:	Babel Python library
+Summary(pl.UTF-8):	Biblioteka Babel do Pythona
+Name:		python-%{fname}
+Version:	0.9.4
+Release:	0.1
+License:	BSD-like
+Group:		Development/Languages/Python
+Source0:	ftp://ftp.edgewall.com/pub/babel/%{fname}-%{version}.tar.bz2
+# Source0-md5:	67699db7c58b697ec8c2500d044ebd54
+URL:		http://babel.edgewall.org/
+BuildRequires:	python-devel
+BuildRequires:	rpm-pythonprov
+# if py_postclean is used
+BuildRequires:	rpmbuild(macros) >= 1.219
+#%pyrequires_eq	python-libs
+%pyrequires_eq	python-modules
+BuildArch:	noarch
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Babel is a Python library that provides an integrated collection of
+utilities that assist with internationalizing and localizing Python
+applications (in particular web-based applications.)
+
+%prep
+%setup -q -n %{fname}-%{version}
+
+%build
+export CFLAGS="%{rpmcflags}"
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc COPYING README.txt doc
+%attr(755,root,root) %{_bindir}/pybabel
+%{py_sitescriptdir}/babel
+%if "%{py_ver}" > "2.4"
+%{py_sitescriptdir}/%{fname}-%{version}-py*.egg-info
+%endif
+
+%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/11/03 15:29:31  witekfl
+- new
+
+Revision 1.9  2008/08/06 17:23:30  glen
+- CFLAGs
+
+Revision 1.8  2008/08/06 16:57:09  glen
+- egg info is conditional
+
+Revision 1.7  2008/08/06 16:55:37  glen
+- prefix python-
+
+Revision 1.6  2008/06/29 18:30:46  qboosh
+- macros BR
+
+Revision 1.5  2008/05/23 18:52:11  glen
+- .egg-info since python 2.5
+
+Revision 1.4  2008-01-06 16:53:13  glen
+- few macros to make any sense
+
+Revision 1.3  2008-01-06 16:51:20  glen
+- or this?
+
+Revision 1.2  2008-01-06 16:49:32  glen
+- egg lines
+
+Revision 1.1  2008-01-06 16:48:13  glen
+- template for python
================================================================


More information about the pld-cvs-commit mailing list