source: spec/trunk/SPECS/yum-metadata-parser.spec@ 441

Last change on this file since 441 was 411, checked in by Yuri Dario, 12 years ago

spec: updates to python macros.

File size: 972 bytes
Line 
1
2Summary: A fast metadata parser for yum
3Name: yum-metadata-parser
4Version: 1.1.4
5Release: 5%{?dist}
6Source0: %{name}-%{version}.tar.gz
7License: GPL
8Group: Development/Libraries
9URL: http://devel.linux.duke.edu/cgi-bin/viewcvs.cgi/yum-metadata-parser/
10Requires: yum >= 2.6.2
11BuildRequires: python-devel
12BuildRequires: glib2-devel
13BuildRequires: libxml2-devel
14BuildRequires: sqlite-devel
15BuildRequires: pkgconfig
16BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
17
18Requires: sqlite, glib2, libxml2
19Requires: python(abi) = %{python_version}
20
21%description
22Fast metadata parser for yum implemented in C.
23
24%prep
25%setup
26
27%build
28export EMXSHELL="cmd.exe"
29%{__python} setup.py build
30
31%install
32export EMXSHELL="cmd.exe"
33%{__python} setup.py install -O1 --prefix %{_prefix} --root=%{buildroot}
34
35%clean
36%{__rm} -rf %{buildroot}
37
38%files
39%defattr(-,root,root)
40%doc README AUTHORS ChangeLog
41%{_libdir}/*
42
43
44%changelog
45* Mon Apr 07 2014 yd
46- build for python 2.7.
Note: See TracBrowser for help on using the repository browser.