[python-zope-i18nmessageid] Initial import

cheeselee cheeselee at fedoraproject.org
Fri Sep 17 02:50:58 UTC 2010


commit 435c95d913adf59787902f99d6d6cac4ee81dba0
Author: Robin Lee <robinlee.sysu at gmail.com>
Date:   Fri Sep 17 10:50:37 2010 +0800

    Initial import

 .gitignore                     |    1 +
 python-zope-i18nmessageid.spec |   60 ++++++++++++++++++++++++++++++++++++++++
 sources                        |    1 +
 3 files changed, 62 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..a14a066 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/zope.i18nmessageid-3.5.3.tar.gz
diff --git a/python-zope-i18nmessageid.spec b/python-zope-i18nmessageid.spec
new file mode 100644
index 0000000..075be2a
--- /dev/null
+++ b/python-zope-i18nmessageid.spec
@@ -0,0 +1,60 @@
+%global modname zope.i18nmessageid
+
+%filter_provides_in %{python_sitearch}/zope/i18nmessageid/.*\.so$
+%filter_setup
+
+Summary: Message Identifiers for internationalization
+Name: python-zope-i18nmessageid
+Version: 3.5.3
+Release: 2%{?dist}
+Source0: http://pypi.python.org/packages/source/z/%{modname}/%{modname}-%{version}.tar.gz
+License: ZPLv2.1
+Group: Development/Libraries
+URL: http://pypi.python.org/pypi/zope.i18nmessageid
+
+BuildRequires: python2-devel
+BuildRequires: python-setuptools
+
+%description
+This module provides message identifiers for internationalization.
+
+%prep
+%setup -q -n %{modname}-%{version}
+
+%build
+env CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build
+
+%install
+%{__python} setup.py install --root=$RPM_BUILD_ROOT
+# remove contained source file(s)
+find $RPM_BUILD_ROOT -name '*.c' -type f -print0 | xargs -0 rm -fv
+
+%check
+%{__python} setup.py test
+
+%files
+%defattr(-,root,root,-)
+%doc CHANGES.txt README.txt COPYRIGHT.txt LICENSE.txt
+# Co-own %%{python_sitearch}/zope/
+%dir %{python_sitearch}/zope/
+%{python_sitearch}/zope/i18nmessageid/
+%{python_sitearch}/%{modname}-*.egg-info
+%{python_sitearch}/%{modname}-*-nspkg.pth
+
+
+%changelog
+* Thu Sep 16 2010 Robin Lee <robinlee.sysu at gmail.com> - 3.5.3-2
+- Filter private shared library provides
+
+* Wed Sep 15 2010 Robin Lee <robinlee.sysu at gmail.com> - 3.5.3-1
+- Update to 3.5.3
+- Requires: python-zope-filesystem and python-setuptools removed
+- Add %%check section and run tests
+- Co-own %%{python_sitearch}/zope/
+- Spec cleaned up
+
+* Tue Jun 22 2010 Robin Lee <robinlee.sysu at gmail.com> - 3.5.2-2
+- don't move the text files
+
+* Wed Jun 16 2010 Robin Lee <robinlee.sysu at gmail.com> - 3.5.2-1
+- Initial packaging
diff --git a/sources b/sources
index e69de29..70d09e4 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+cb84bf61c2b7353e3b7578057fbaa264  zope.i18nmessageid-3.5.3.tar.gz


More information about the scm-commits mailing list