]> git.pld-linux.org Git - packages/Zope-ZMySQLDA.git/blobdiff - Zope-ZMySQLDA.spec
- cleanups
[packages/Zope-ZMySQLDA.git] / Zope-ZMySQLDA.spec
index 71a9fc1ae1a5037cf8b026b94576c1c9ef654881..695f2c1e4df5feee52c430bf0cee2d73dafc7859 100644 (file)
@@ -1,19 +1,17 @@
-
 %define prod_name ZMySQLDA
-
-Summary:       Zope MySQL database adapter. 
+Summary:       Zope MySQL database adapter
+Summary(pl):   Interfejs bazy danych MySQL do Zope
 Name:          Zope-%{prod_name}
 Version:       2.0.8
 Release:       1
 License:       ZPL
-Source0:       http://www.zope.org/Members/adustman/Products/%{prod_name}/%{prod_name}-%{version}.tar.gz
-URL:           http://www.zope.org/Members/adustman/Products/%{prod_name}
 Group:         Development/Languages/Python
-Group(de):     Entwicklung/Sprachen/Python
-Group(pl):     Programowanie/Jêzyki/Python
+Source0:       http://www.zope.org/Members/adustman/Products/ZMySQLDA/%{prod_name}-%{version}.tar.gz
+# Source0-md5: 74332272e53b13c6b19d3185d575699c
+URL:           http://www.zope.org/Members/adustman/Products/ZMySQLDA/
+BuildRequires: python-MySQLdb
 Requires:      Zope
 Requires:      python-MySQLdb
-BuildRequires: python-MySQLdb
 BuildArch:     noarch
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
@@ -21,14 +19,17 @@ BuildRoot:  %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %define python_compile     python -c "import compileall; compileall.compile_dir('.')"
 
 %define zope_dir          %{_libdir}/zope
-%define zope_productsdir   %{zope_dir}/Products        
+%define zope_productsdir   %{zope_dir}/Products
 
 %description
-Zope MySQL database adapter. 
+Zope MySQL database adapter.
+
+%description -l pl
+Interfejs bazy danych MySQL do Zope.
 
 %prep
-%setup -q -c -a 0 -n %{name}-%{version}
-mv lib/python/Products/%{prod_name}/* .
+%setup -q -c
+mv -f lib/python/Products/%{prod_name}/* .
 rm -rf lib
 
 %build
@@ -36,7 +37,6 @@ rm -rf lib
 %{python_compile_opt}
 
 find . -name \*.py | xargs -r rm -f
-gzip -9nf *.txt
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -50,5 +50,5 @@ rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc *.gz 
+%doc *.txt
 %{zope_productsdir}/%{prod_name}
This page took 0.08177 seconds and 4 git commands to generate.