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

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

spec: glib2, pango, yum-metadata-parser, libidl build updates for glib2 2.33.

File size: 1.2 KB
Line 
1
2Summary: A fast metadata parser for yum
3Name: yum-metadata-parser
4Version: 1.1.4
5Release: 7%{?dist}
6Source0: %{name}-%{version}.tar.gz
7License: GPL
8Group: Development/Libraries
9URL: http://devel.linux.duke.edu/cgi-bin/viewcvs.cgi/yum-metadata-parser/
10Vendor: bww bitwise works GmbH
11
12Requires: yum >= 2.6.2
13BuildRequires: python-devel
14BuildRequires: glib2-devel
15BuildRequires: libxml2-devel
16BuildRequires: sqlite-devel
17BuildRequires: pkgconfig
18BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
19
20Requires: sqlite, glib2, libxml2
21Requires: python(abi) = %{python_version}
22
23# YD because of ucs4
24Requires: python >= 2.7.6-13
25
26%description
27Fast metadata parser for yum implemented in C.
28
29%prep
30%setup
31
32%build
33export EMXSHELL="cmd.exe"
34%{__python} setup.py build
35
36%install
37export EMXSHELL="cmd.exe"
38%{__python} setup.py install -O1 --prefix %{_prefix} --root=%{buildroot}
39
40%clean
41%{__rm} -rf %{buildroot}
42
43%files
44%defattr(-,root,root)
45%doc README AUTHORS ChangeLog
46%{_libdir}/*
47
48
49%changelog
50* Sat Jun 18 2016 yd <yd@os2power.com> 1.1.4-7
51- rebuild for glib2 2.33.
52
53* Thu Jun 09 2016 yd <yd@os2power.com> 1.1.4-6
54- rebuild for ucs4, ticket#182.
55
56* Mon Apr 07 2014 yd
57- build for python 2.7.
Note: See TracBrowser for help on using the repository browser.