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

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

spec: update to python 2.7.6.

File size: 886 bytes
Line 
1
2Summary: A fast metadata parser for yum
3Name: yum-metadata-parser
4Version: 1.1.4
5Release: 4%{?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) = 2.7
20
21%description
22Fast metadata parser for yum implemented in C.
23
24%prep
25%setup
26
27%build
28%{__python} setup.py build
29
30%install
31%{__python} setup.py install -O1 --root=%{buildroot}
32
33%clean
34%{__rm} -rf %{buildroot}
35
36%files
37%defattr(-,root,root)
38%doc README AUTHORS ChangeLog
39%{_libdir}/*
40
41
42%changelog
43* Mon Apr 07 2014 yd
44- build for python 2.7.
Note: See TracBrowser for help on using the repository browser.