packages: python-pyinotify/python-pyinotify.spec - up to 0.9.2 - python3 mo...

draenog draenog at pld-linux.org
Fri Sep 30 06:53:50 CEST 2011


Author: draenog                      Date: Fri Sep 30 04:53:50 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- up to 0.9.2
- python3 modules
- language in description did not look like Polish

---- Files affected:
packages/python-pyinotify:
   python-pyinotify.spec (1.5 -> 1.6) 

---- Diffs:

================================================================
Index: packages/python-pyinotify/python-pyinotify.spec
diff -u packages/python-pyinotify/python-pyinotify.spec:1.5 packages/python-pyinotify/python-pyinotify.spec:1.6
--- packages/python-pyinotify/python-pyinotify.spec:1.5	Thu Jul  8 10:31:31 2010
+++ packages/python-pyinotify/python-pyinotify.spec	Fri Sep 30 06:53:45 2011
@@ -3,14 +3,15 @@
 Summary:	Pyinotify is a pure Python module used for monitoring filesystems changes
 Summary(hu.UTF-8):	Pyinotify egy egyszerű Python modul, amellyel a fájlrendszer változásait lehet figyelni
 Name:		python-%{module}
-Version:	0.8.9
-Release:	2
+Version:	0.9.2
+Release:	1
 License:	GPL v2
 Group:		Development/Languages/Python
 Source0:	http://seb.dbzteam.org/pub/pyinotify/releases/%{module}-%{version}.tar.gz
-# Source0-md5:	1edf36d3e4329d9cbe6bd0a4094af082
+# Source0-md5:	7d344e1efe3fe342e2e052774c9779e2
 URL:		http://trac.dbzteam.org/pyinotify/wiki
 BuildRequires:	python-devel
+BuildRequires:	python3-modules
 BuildRequires:	rpm-pythonprov
 BuildRequires:	rpmbuild(macros) >= 1.219
 Requires:	glibc >= 2.4
@@ -21,7 +22,21 @@
 Pyinotify is a pure Python module used for monitoring filesystems
 changes.
 
-%description -l pl.UTF-8
+%description -l hu.UTF-8
+Pyinotify egy egyszerű Python modul, amellyel a fájlrendszer
+változásait lehet figyelni.
+
+%package -n	python3-%{module}
+Summary:	Pyinotify is a pure Python module used for monitoring filesystems changes
+Version:	%{version}
+Release:	%{release}
+Group:		Development/Languages/Python
+
+%description -n python3-%{module}
+Pyinotify is a pure Python module used for monitoring filesystems
+changes.
+
+%description -n python3-%{module} -l hu.UTF-8
 Pyinotify egy egyszerű Python modul, amellyel a fájlrendszer
 változásait lehet figyelni.
 
@@ -31,6 +46,7 @@
 %build
 export CFLAGS="%{rpmcflags}"
 %{__python} setup.py build
+%{__python3} setup.py build
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -45,22 +61,38 @@
 
 install python2/examples/* $RPM_BUILD_ROOT%{_examplesdir}/%{name}-%{version}
 
+%{__python3} setup.py \
+        install \
+        --root=$RPM_BUILD_ROOT \
+        --optimize=2
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
 %files
 %defattr(644,root,root,755)
-%doc ChangeLog_old NEWS_old TODO README
+%doc old/ChangeLog old/NEWS README.md
 %{_examplesdir}/%{name}-%{version}
 %{py_sitescriptdir}/*.py[co]
 %{py_sitescriptdir}/%{module}-*.egg-info
 
+%files -n python3-%{module}
+%defattr(644,root,root,755)
+%{py3_sitescriptdir}/%{module}*.py
+%{py3_sitescriptdir}/__pycache__
+%{py3_sitescriptdir}/%{module}-*.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.6  2011/09/30 04:53:45  draenog
+- up to 0.9.2
+- python3 modules
+- language in description did not look like Polish
+
 Revision 1.5  2010/07/08 08:31:31  arekm
 - release 2
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/python-pyinotify/python-pyinotify.spec?r1=1.5&r2=1.6&f=u



More information about the pld-cvs-commit mailing list