diff --git a/.gitignore b/.gitignore index e69de29..88b7585 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/blinker-1.1.zip diff --git a/python-blinker.spec b/python-blinker.spec new file mode 100644 index 0000000..251c8b8 --- /dev/null +++ b/python-blinker.spec @@ -0,0 +1,41 @@ +%global mod_name blinker + +Name: python-blinker +Version: 1.1 +Release: 1%{?dist} +Summary: Fast, simple object-to-object and broadcast signaling + +Group: Development/Libraries +License: MIT +URL: http://discorporate.us/projects/Blinker/ +Source0: http://pypi.python.org/packages/source/b/%{mod_name}/%{mod_name}-%{version}.zip + +BuildArch: noarch +BuildRequires: python-devel +BuildRequires: python-setuptools + +%description +Blinker provides a fast dispatching system that allows any number +of interested parties to subscribe to events, or "signals". + +%prep +%setup -q -n %{mod_name}-%{version} + + +%build +CFLAGS="$RPM_OPT_FLAGS" %{__python} setup.py build + + +%install +rm -rf $RPM_BUILD_ROOT +%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT + + +%files +%doc docs/ CHANGES LICENSE README PKG-INFO +%{python_sitelib}/*.egg-info +%{python_sitelib}/%{mod_name} + +%changelog +* Fri Jul 22 2011 Praveen Kumar - 1.1-1 +- Initial RPM diff --git a/sources b/sources index e69de29..bf540a8 100644 --- a/sources +++ b/sources @@ -0,0 +1 @@ +b93962f6b0d854a9659d397db2a7894d blinker-1.1.zip