[python-speaklater/f15] :i :i
Juan Eduardo Barba Olivet
xhaksx at fedoraproject.org
Mon May 30 02:04:52 UTC 2011
commit 1bf9ac99313d5592b786b9028f0ac109a9f0f84b
Author: xhaksx <xhaksx at HakS.fedoraproject>
Date: Sun May 29 21:03:06 2011 -0500
:i
:i
3rd commit, solving problems with fedora version of package
.gitignore | 1 +
python-speaklater.spec | 55 ++++++++++++++++++++++++++++++++++++++++++++++++
sources | 1 +
3 files changed, 57 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..bde4d16 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/speaklater-1.2.tar.gz
diff --git a/python-speaklater.spec b/python-speaklater.spec
new file mode 100644
index 0000000..f4c6b98
--- /dev/null
+++ b/python-speaklater.spec
@@ -0,0 +1,55 @@
+%if ! (0%{?fedora} > 12 || 0%{?rhel} > 5)
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")}
+%endif
+
+%global tarName speaklater
+
+Name: python-%{tarName}
+Version: 1.2
+Release: 4%{?dist}
+Summary: Implements a lazy string for python useful for use with get-text
+Group: Development/Libraries
+License: BSD
+URL: http://github.com/mitsuhiko/speaklater
+Source0: http://pypi.python.org/packages/source/s/%{tarName}/%{tarName}-%{version}.tar.gz
+BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch: noarch
+BuildRequires: python-devel
+
+%description
+A module that provides lazy strings for translations. Basically you get an
+object that appears to be a string but changes the value every time the value
+is evaluated based on a callable you provide.
+
+%prep
+%setup -qn %{tarName}-%{version}
+
+%build
+%{__python} setup.py build
+
+%install
+rm -rf %{buildroot}
+%{__python} setup.py install --root=%{buildroot}
+
+%clean
+rm -rf %{buildroot}
+
+%files
+%defattr(-,root,root)
+%{python_sitelib}/speaklater*
+%doc PKG-INFO
+
+%changelog
+* Sat Jan 01 2011 Juan Eduardo Barba Olivet <xhaksx at fedoraproject.org> - 1.2-4
+- install commands modified
+- files commands modified
+
+* Wed Dec 29 2010 Juan Eduardo Barba Olivet <xhaksx at fedoraproject.org> - 1.2-3
+- Modifed documentation (get text changed to get-text)
+
+* Mon Nov 15 2010 Juan Eduardo Barba Olivet <xhaksx at fedoraproject.org> - 1.2-2
+- Modifed documentation (gettext changed)
+
+* Mon Nov 15 2010 Juan Eduardo Barba Olivet <xhaksx at fedoraproject.org> - 1.2-1
+- This is the first release of speaklater
+- Added documentation
diff --git a/sources b/sources
index e69de29..270936b 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+47682e43b55c3ba04a90997ae580a0de speaklater-1.2.tar.gz
More information about the scm-commits
mailing list