From e4bf9a76415612d3eb951d11aaa2c00f533241b7 Mon Sep 17 00:00:00 2001 From: Dhanesh B. Sabane Date: Nov 07 2016 10:28:51 +0000 Subject: Revert "Edit README.md" This reverts commit 02cc36d37dc6b0c3320b01f54cc26132ee2f0cf5. --- diff --git a/README.md b/README.md index 9470992..9bb3cf2 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,3 @@ # rpm-packaging -This repository maintains SPECS and SRPMS for all the packages created by me. - -##What can you do here? -You can [file an issue](https://pagure.io/rpm-packaging/new_issue) to : - -* Inform me about my mistakes -* Congratulate me on a job well done - -##Want to learn packaging youself? - -You can look at '''[How to create an RPM Package](https://fedoraproject.org/wiki/How_to_create_an_RPM_package#Introduction)''' to get started with RPM Packaging. Be sure to follow the [guidelines](https://fedoraproject.org/wiki/Packaging:Guidelines) defined by the Packaging Committee. +A collection of SPECS and SRPMS. \ No newline at end of file diff --git a/SPECS/python-mlpy.spec b/SPECS/python-mlpy.spec deleted file mode 100644 index 3cdfeb1..0000000 --- a/SPECS/python-mlpy.spec +++ /dev/null @@ -1,110 +0,0 @@ -# sitelib for noarch packages, sitearch for others (remove the unneeded one) -%{!?__python2: %global __python2 %__python} -%{!?python2_sitelib: %global python2_sitelib %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib())")} -%{!?python2_sitearch: %global python2_sitearch %(%{__python2} -c "from distutils.sysconfig import get_python_lib; print(get_python_lib(1))")} -%global srcname mlpy -%global sum mlpy - Machine Learning Python - -%if 0%{?fedora} -%bcond_without python3 -%else -%bcond_with python3 -%endif - -Name: python-%{srcname} -Version: 3.5.0 -Release: 1%{?dist} -Summary: %{sum} - -License: GPLv3 -URL: http://mlpy.sourceforge.net/ -Source0: https://sourceforge.net/projects/%{srcname}/files/%{srcname}%20%{version}/%{srcname}-%{version}.tar.gz -ExclusiveArch: %{ix86} x86_64 - -BuildRequires: gsl-devel -BuildRequires: python2-devel -BuildRequires: python2-numpy -BuildRequires: python2-scipy -BuildRequires: python-setuptools - -%if %{with python3} -BuildRequires: gsl-devel -BuildRequires: python3-devel -BuildRequires: python3-numpy -BuildRequires: python3-scipy -BuildRequires: python-setuptools -%endif # with python3 - - -%description -mlpy provides machine learning methods for supervised and unsupervised problems. - -%package -n python2-%{srcname} -Summary: %{sum} -%{?python_provide:%python_provide python2-%{srcname}} -#Needed for operation -Requires: python2-numpy, gsl, python2-scipy - - -%description -n python2-%{srcname} -mlpy provides machine learning methods for supervised and unsupervised problems. - - -%package -n python3-%{srcname} -Summary: %{sum} -%{?python_provide:%python_provide python3-%{srcname}} -Requires: python3-numpy, gsl, python3-scipy - -%description -n python3-%{srcname} -mlpy provides machine learning methods for supervised and unsupervised problems. - -This is the python3 version of the library. - - -%prep -%setup -q -c -n %{srcname}-%{version} -T -tar zxf %{SOURCE0} -chmod u=rwX -R %{srcname}-%{version} -mv %{srcname}-%{version}/* . - -%build -%py2_build -%py3_build - -%install -# Must do the python3 install first because the scripts in /usr/bin are -# overwritten with every setup.py install (and we want the python2 version -# to be the default for now). -%py2_install -%py3_install - - -%check -#%{__python2} setup.py test - -#%if %{with python3} -#%{__python3} setup.py test -#%endif - - -%files -n python2-%{srcname} -%license gpl-3.0.txt -%doc README.txt INSTALL.txt CHANGES.txt -# For arch-specific packages: sitearch -%{python2_sitearch}/%{srcname}/ -%{python2_sitearch}/%{srcname}-*.egg-info - - -%if %{with python3} -%files -n python3-%{srcname} -%license gpl-3.0.txt -%doc README.txt INSTALL.txt CHANGES.txt -# For arch-specific packages: sitearch -%{python3_sitearch}/%{srcname}/ -%{python3_sitearch}/%{srcname}-*.egg-info -%endif # with python3 - - -%changelog -* Thu Sep 8 2016 Dhanesh B. Sabane - 3.5.0 -- First Release diff --git a/SRPMS/python-mlpy-3.5.0-1.fc24.src.rpm b/SRPMS/python-mlpy-3.5.0-1.fc24.src.rpm deleted file mode 100644 index 3854f63..0000000 Binary files a/SRPMS/python-mlpy-3.5.0-1.fc24.src.rpm and /dev/null differ