source: trunk/server/fedora/specs/python-moira.spec @ 2476

Last change on this file since 2476 was 2476, checked in by adehnert, 11 years ago
Add python-moira packaging (Scripts #246)
File size: 1.1 KB
Line 
1Name:           python-moira
2Version:        4.3.0
3%define commit_hash dd03ce70d348d6f569729fcc9173429a5ec8a84d
4%define tag_hash f62c0db
5Release:        0.%{scriptsversion}%{?dist}
6Summary:        Python access to zephyr library
7
8Group:          Development/Languages
9License:        MIT
10URL:            http://github.com/ebroder/python-moira
11Source0:        http://github.com/ebroder/python-moira/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, libmoira-devel, libmrclient-devel
15
16%description
17Moira 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
31rm $RPM_BUILD_ROOT/usr/bin/qy
32
33 
34%clean
35rm -rf $RPM_BUILD_ROOT
36
37
38%files
39%defattr(-,root,root,-)
40%doc
41%{python_sitearch}/*
42
43
44%changelog
45* Sun Oct 13 2013 Alex Dehnert <adehnert@mit.edu> - 4.3.0
46- Initial RPM release
47
Note: See TracBrowser for help on using the repository browser.