source: trunk/server/fedora/specs/python-hesiod.spec @ 2477

Last change on this file since 2477 was 2477, checked in by adehnert, 9 years ago
Package python-hesiod (Scripts-#385) This is based on broder's Github; when https://github.com/achernya/hesiod/pull/2 gets merged it should use achernya's hesiod upstream instead.
File size: 1.1 KB
Line 
1Name:           python-hesiod
2Version:        0.2.10
3%define commit_hash 2b11f727fe934efe8935ac3543fe538d14b8fafe
4%define tag_hash 004e69f
5Release:        0.%{scriptsversion}%{?dist}
6Summary:        Python access to zephyr library
7
8Group:          Development/Languages
9License:        MIT
10URL:            http://github.com/ebroder/python-hesiod
11Source0:        http://github.com/ebroder/python-hesiod/tarball/%{version}/ebroder-%{name}-%{version}-0-g%{commit_hash}.tar.gz
12BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
13
14BuildRequires:  python2-devel, python-setuptools, Pyrex, hesiod-devel
15
16%description
17Hesiod bindings for Python.
18
19
20%prep
21%setup -q -n ebroder-%{name}-%{tag_hash}
22
23
24%build
25CFLAGS="$RPM_OPT_FLAGS" CPPFLAGS="-I%{_includedir}/et" %{__python2} setup.py build
26
27
28%install
29rm -rf $RPM_BUILD_ROOT
30%{__python2} 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
44* Sun Oct 13 2013 Alex Dehnert <adehnert@mit.edu> - 0.2.10
45- Initial RPM release
46
Note: See TracBrowser for help on using the repository browser.