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

Last change on this file since 788 was 781, checked in by Yuri Dario, 9 years ago

spec: rpm, python-pycurl, yum-metadata-parser, rebuild for ucs4, ticket#182.

File size: 1.1 KB
Line 
1
2Summary: A fast metadata parser for yum
3Name: yum-metadata-parser
4Version: 1.1.4
5Release: 6%{?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# YD because of ucs4
22Requires: python >= 2.7.6-13
23
24%description
25Fast metadata parser for yum implemented in C.
26
27%prep
28%setup
29
30%build
31export EMXSHELL="cmd.exe"
32%{__python} setup.py build
33
34%install
35export EMXSHELL="cmd.exe"
36%{__python} setup.py install -O1 --prefix %{_prefix} --root=%{buildroot}
37
38%clean
39%{__rm} -rf %{buildroot}
40
41%files
42%defattr(-,root,root)
43%doc README AUTHORS ChangeLog
44%{_libdir}/*
45
46
47%changelog
48* Thu Jun 09 2016 yd <yd@os2power.com> 1.1.4-6
49- rebuild for ucs4, ticket#182.
50
51* Mon Apr 07 2014 yd
52- build for python 2.7.
Note: See TracBrowser for help on using the repository browser.