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