[pyfuzzy] Initial import

Fabian Affolter fab at fedoraproject.org
Tue Nov 23 22:27:29 UTC 2010


commit 90979ddcca7c1a73b9441f345564b33ed22a3f0d
Author: Fabian Affolter <fabian at bernewireless.net>
Date:   Tue Nov 23 23:27:10 2010 +0100

    Initial import

 .gitignore   |    1 +
 pyfuzzy.spec |   65 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources      |    1 +
 3 files changed, 67 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..789246a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/pyfuzzy-0.1.0.tar.gz
diff --git a/pyfuzzy.spec b/pyfuzzy.spec
new file mode 100644
index 0000000..16309d9
--- /dev/null
+++ b/pyfuzzy.spec
@@ -0,0 +1,65 @@
+%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}
+
+Name:           pyfuzzy
+Version:        0.1.0
+Release:        2%{?dist}
+Summary:        Python framework for fuzzy sets
+
+Group:          Development/Languages
+License:        LGPLv3+
+URL:            http://pyfuzzy.sourceforge.net/
+Source0:        http://downloads.sourceforge.net/%{name}/%{name}-%{version}.tar.gz
+BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildArch:      noarch
+
+BuildRequires:  python-devel
+BuildRequires:  python-setuptools
+
+Requires:       gnuplot
+Requires:       antlr3-python
+
+
+%description
+pyfuzzy is a framework to work with fuzzy sets and process them with
+operations of fuzzy logic.
+
+
+%prep
+%setup -q
+sed -i -e '/^#!\//, 1d' demo/*.py
+chmod -x demo/*.py
+
+
+%build
+%{__python} setup.py build
+
+
+%install
+rm -rf %{buildroot}
+%{__python} setup.py install -O1 --skip-build --root %{buildroot}
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+%doc CHANGES.txt README.txt LICENSE.txt demo/
+%{python_sitelib}/fuzzy/
+%{python_sitelib}/pyfuzzy*.egg-info
+
+
+%changelog
+* Tue Feb 23 2010 Fabian Affolter <fabian at bernewireless.net> - 0.1.0-2
+- Fixed license
+
+* Fri Nov 20 2009 Fabian Affolter <fabian at bernewireless.net> - 0.1.0-1
+- License is GPLv3+
+- Removed utf-8 converting stuff and test suite
+- Added license file to doc
+- Removed todo from doc
+- Updated to new upstream version 0.1.0
+
+* Mon Jul 13 2009 Fabian Affolter <fabian at bernewireless.net> - 0.0.2-1
+- Initial spec for Fedora
diff --git a/sources b/sources
index e69de29..d914245 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+c5ed7e1eaf92a810cc57957aa53123dd  pyfuzzy-0.1.0.tar.gz


More information about the scm-commits mailing list