|
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 |
|
|---|
| 2 | Summary: A fast metadata parser for yum
|
|---|
| 3 | Name: yum-metadata-parser
|
|---|
| 4 | Version: 1.1.4
|
|---|
| 5 | Release: 4%{?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) = 2.7
|
|---|
| 20 |
|
|---|
| 21 | %description
|
|---|
| 22 | Fast 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.