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 |
|
---|
2 | Summary: A fast metadata parser for yum
|
---|
3 | Name: yum-metadata-parser
|
---|
4 | Version: 1.1.4
|
---|
5 | Release: 5%{?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 | Requires: python(abi) = %{python_version}
|
---|
20 |
|
---|
21 | %description
|
---|
22 | Fast metadata parser for yum implemented in C.
|
---|
23 |
|
---|
24 | %prep
|
---|
25 | %setup
|
---|
26 |
|
---|
27 | %build
|
---|
28 | export EMXSHELL="cmd.exe"
|
---|
29 | %{__python} setup.py build
|
---|
30 |
|
---|
31 | %install
|
---|
32 | export 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.