packages: python-pyinotify/python-pyinotify.spec (NEW) - initial

uzsolt uzsolt at pld-linux.org
Thu Jul 16 11:46:49 CEST 2009


Author: uzsolt                       Date: Thu Jul 16 09:46:49 2009 GMT
Module: packages                      Tag: HEAD
---- Log message:
- initial

---- Files affected:
packages/python-pyinotify:
   python-pyinotify.spec (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/python-pyinotify/python-pyinotify.spec
diff -u /dev/null packages/python-pyinotify/python-pyinotify.spec:1.1
--- /dev/null	Thu Jul 16 11:46:49 2009
+++ packages/python-pyinotify/python-pyinotify.spec	Thu Jul 16 11:46:44 2009
@@ -0,0 +1,61 @@
+# $Revision$, $Date$
+%define 	module	pyinotify
+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.6
+Release:	0.1
+License:	GPL v2
+Group:		Development/Languages/Python
+Source0:	http://seb.dbzteam.org/pub/pyinotify/releases/%{module}-%{version}.tar.gz
+# Source0-md5:	a82afcfd474b2540944d7dc63efeea33
+URL:		http://trac.dbzteam.org/pyinotify/wiki
+BuildRequires:	python-devel
+BuildRequires:	rpm-pythonprov
+BuildRequires:	rpmbuild(macros) >= 1.219
+Requires:	python-modules
+BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
+
+%description
+Pyinotify is a pure Python module used for monitoring filesystems
+changes.
+
+%description -l pl.UTF-8
+Pyinotify egy egyszerű Python modul, amellyel a fájlrendszer
+változásait lehet figyelni.
+
+%prep
+%setup -q -n %{module}
+
+%build
+export CFLAGS="%{rpmcflags}"
+%{__python} setup.py build
+
+%install
+rm -rf $RPM_BUILD_ROOT
+%{__python} setup.py install \
+	--optimize=2 \
+	--root=$RPM_BUILD_ROOT
+
+%py_ocomp $RPM_BUILD_ROOT%{py_sitedir}
+%py_comp $RPM_BUILD_ROOT%{py_sitedir}
+%py_postclean
+
+%clean
+rm -rf $RPM_BUILD_ROOT
+
+%files
+%defattr(644,root,root,755)
+%doc ChangeLog NEWS TODO
+%{py_sitescriptdir}/*.py[co]
+%{py_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.1  2009/07/16 09:46:44  uzsolt
+- initial
+
================================================================


More information about the pld-cvs-commit mailing list