[ahkab] Initial import (1089017).

sophiekovalevsky sophiekovalevsky at fedoraproject.org
Mon Apr 21 22:54:04 UTC 2014


commit 1a24c3f0f8ea7e37f805ff68cf464b358aedd019
Author: Kiara Navarro <sophiekovalevsky at fedoraproject.org>
Date:   Mon Apr 21 17:53:32 2014 -0500

    Initial import (1089017).

 .gitignore |    1 +
 ahkab.spec |   52 ++++++++++++++++++++++++++++++++++++++++++++++++++++
 sources    |    1 +
 3 files changed, 54 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..cd9d6df 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/ahkab-036a6ce4c142356d8f9c004c1c3c05d31b85c16d.tar.gz
diff --git a/ahkab.spec b/ahkab.spec
new file mode 100644
index 0000000..45698f2
--- /dev/null
+++ b/ahkab.spec
@@ -0,0 +1,52 @@
+%global commit 036a6ce4c142356d8f9c004c1c3c05d31b85c16d
+%global shorcommit %(c=%{commit}; echo ${c:0:7})
+
+Name: ahkab
+Version: 0.09
+Release: 3%{?dist}
+Summary: A SPICE-like electronic circuit simulator written in Python
+Group: Applications/Engineering	
+License: GPLv2
+URL: http://ahkab.github.io/ahkab/
+Source0: https://github.com/ahkab/%{name}/archive/%{commit}/%{name}-%{commit}.tar.gz
+
+BuildArch: noarch
+BuildRequires: python2-devel python-setuptools
+Requires: sympy python-matplotlib numpy 
+Requires: python >= 2.6
+
+%description
+A SPICE-like electronic circuit simulator written in Python.
+It can be used to do AC analysis, DC sweep, Transient analysis and more.
+
+%prep
+%setup -q -n %{name}-%{commit}
+rm -rf ahkab.egg-info
+find -name '*.py'  | xargs sed -i -e '/^#!\//, 1d'
+
+%build
+%{__python2} setup.py build
+
+%install
+%{__python2} setup.py install --skip-build --root %{buildroot}
+
+
+%files
+%doc README.md COPYING NEWS.md
+%{python2_sitelib}/ahkab/
+%{python_sitelib}/ahkab-%{version}-py%{python2_version}.egg-info
+
+%changelog
+* Fri Apr 18 2014 Kiara Navarro <sophiekovalevsky at fedoraproject.org> - 0.09-3
+- Change directory files to ahkab. 
+- Change spec file permission. 
+- Package egg info.
+- Remove shebang from python files.
+
+
+* Thu Apr 17 2014 Kiara Navarro <sophiekovalevsky at fedoraproject.org> - 0.09-2
+- Remove defattr macro. Add setuptools as BR. Remove BRoot line.
+
+* Thu Apr 17 2014 Kiara Navarro <sophiekovalevsky at fedoraproject.org> - 0.09-1
+- Initial package
+
diff --git a/sources b/sources
index e69de29..291c2d9 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+27dfb579506bbce62d196bb89e365646  ahkab-036a6ce4c142356d8f9c004c1c3c05d31b85c16d.tar.gz


More information about the scm-commits mailing list