|
|
1081d58 |
%global commit fa58c460bbeca5d763bd9f0b3b7aad825419aea7
|
|
|
1a24c3f |
%global shorcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
1a24c3f |
|
|
|
1a24c3f |
Name: ahkab
|
|
|
1081d58 |
Version: 0.10
|
|
|
762b9d1 |
Release: 2%{?dist}
|
|
|
1a24c3f |
Summary: A SPICE-like electronic circuit simulator written in Python
|
|
|
1a24c3f |
Group: Applications/Engineering
|
|
|
1a24c3f |
License: GPLv2
|
|
|
1a24c3f |
URL: http://ahkab.github.io/ahkab/
|
|
|
1a24c3f |
Source0: https://github.com/ahkab/%{name}/archive/%{commit}/%{name}-%{commit}.tar.gz
|
|
|
1a24c3f |
|
|
|
1a24c3f |
BuildArch: noarch
|
|
|
1a24c3f |
BuildRequires: python2-devel python-setuptools
|
|
|
1a24c3f |
Requires: sympy python-matplotlib numpy
|
|
|
1a24c3f |
Requires: python >= 2.6
|
|
|
1a24c3f |
|
|
|
1a24c3f |
%description
|
|
|
1a24c3f |
A SPICE-like electronic circuit simulator written in Python.
|
|
|
1a24c3f |
It can be used to do AC analysis, DC sweep, Transient analysis and more.
|
|
|
1a24c3f |
|
|
|
1a24c3f |
%prep
|
|
|
1a24c3f |
%setup -q -n %{name}-%{commit}
|
|
|
1a24c3f |
rm -rf ahkab.egg-info
|
|
|
1a24c3f |
find -name '*.py' | xargs sed -i -e '/^#!\//, 1d'
|
|
|
1a24c3f |
|
|
|
1a24c3f |
%build
|
|
|
1a24c3f |
%{__python2} setup.py build
|
|
|
1a24c3f |
|
|
|
1a24c3f |
%install
|
|
|
1a24c3f |
%{__python2} setup.py install --skip-build --root %{buildroot}
|
|
|
1a24c3f |
|
|
|
1a24c3f |
%files
|
|
|
1a24c3f |
%doc README.md COPYING NEWS.md
|
|
|
1a24c3f |
%{python2_sitelib}/ahkab/
|
|
|
1a24c3f |
%{python_sitelib}/ahkab-%{version}-py%{python2_version}.egg-info
|
|
|
5d08069 |
%{_bindir}/ahkab
|
|
|
1a24c3f |
|
|
|
1a24c3f |
%changelog
|
|
|
762b9d1 |
* Wed Oct 22 2014 Kiara Navarro <sophiekovalevsky@fedoraproject.org> - 0.10-2
|
|
|
762b9d1 |
- Clean lines on spec file.
|
|
|
762b9d1 |
|
|
|
5d08069 |
* Sat Oct 18 2014 Kiara Navarro <sophiekovalevsky@fedoraproject.org> - 0.10-1
|
|
|
5d08069 |
- Update release version and new source.
|
|
|
5d08069 |
|
|
|
a46ba13 |
* Sat Jun 07 2014 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.09-4
|
|
|
a46ba13 |
- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild
|
|
|
a46ba13 |
|
|
|
1a24c3f |
* Fri Apr 18 2014 Kiara Navarro <sophiekovalevsky@fedoraproject.org> - 0.09-3
|
|
|
1a24c3f |
- Change directory files to ahkab.
|
|
|
1a24c3f |
- Change spec file permission.
|
|
|
1a24c3f |
- Package egg info.
|
|
|
1a24c3f |
- Remove shebang from python files.
|
|
|
1a24c3f |
|
|
|
1a24c3f |
|
|
|
1a24c3f |
* Thu Apr 17 2014 Kiara Navarro <sophiekovalevsky@fedoraproject.org> - 0.09-2
|
|
|
1a24c3f |
- Remove defattr macro. Add setuptools as BR. Remove BRoot line.
|
|
|
1a24c3f |
|
|
|
1a24c3f |
* Thu Apr 17 2014 Kiara Navarro <sophiekovalevsky@fedoraproject.org> - 0.09-1
|
|
|
1a24c3f |
- Initial package
|
|
|
1a24c3f |
|