source: trunk/server/fedora/specs/python-zephyr.spec @ 2493

Last change on this file since 2493 was 2482, checked in by adehnert, 11 years ago
Fix version typo
File size: 1.2 KB
RevLine 
[1666]1Name:           python-zephyr
2Version:        0.2.0
[2481]3%define commit dc5ba9ee52d53e7bfd9d95a885e25c3a1889b8a7
4%define shortcommit %(c=%{commit}; echo ${c:0:7})
[2482]5Release:        1.20131014.%{scriptsversion}%{?dist}
[1666]6Summary:        Python access to zephyr library
7
8Group:          Development/Languages
9License:        MIT
10URL:            http://github.com/ebroder/python-zephyr
[2481]11Source0:        https://github.com/ebroder/python-zephyr/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz
[1666]12BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13
[2481]14BuildRequires:  python-devel, python-setuptools, Cython, zephyr-devel, libcom_err-devel
[1666]15
16%description
[2481]17Zephyr bindings for Python.
[1666]18
19
20%prep
[2481]21%setup -q -n %{name}-%{commit}
[1666]22
23
24%build
25CFLAGS="$RPM_OPT_FLAGS" CPPFLAGS="-I%{_includedir}/et" %{__python} setup.py build
26
27
28%install
29rm -rf $RPM_BUILD_ROOT
30%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
31
32 
33%clean
34rm -rf $RPM_BUILD_ROOT
35
36
37%files
38%defattr(-,root,root,-)
39%doc
40%{python_sitearch}/*
41
42
43%changelog
[2481]44* Mon Oct 14 2013 Alex Dehnert <adehnert@mit.edu> - 0.2.0-1.20131014
45- Updated snapshot (Scripts-#384)
46
[1666]47* Sun Sep 19 2010 Anders Kaseorg <andersk@mit.edu> - 0.2.0-0
48- Initial RPM release
49
Note: See TracBrowser for help on using the repository browser.