| Last change
 on this file since 814 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 |  | 
|---|
| 2 | Summary: A fast metadata parser for yum | 
|---|
| 3 | Name: yum-metadata-parser | 
|---|
| 4 | Version: 1.1.4 | 
|---|
| 5 | Release: 7%{?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 | Vendor:     bww bitwise works GmbH | 
|---|
| 11 |  | 
|---|
| 12 | Requires: yum >= 2.6.2 | 
|---|
| 13 | BuildRequires: python-devel | 
|---|
| 14 | BuildRequires: glib2-devel | 
|---|
| 15 | BuildRequires: libxml2-devel | 
|---|
| 16 | BuildRequires: sqlite-devel | 
|---|
| 17 | BuildRequires: pkgconfig | 
|---|
| 18 | BuildRoot:  %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) | 
|---|
| 19 |  | 
|---|
| 20 | Requires: sqlite, glib2, libxml2 | 
|---|
| 21 | Requires: python(abi) = %{python_version} | 
|---|
| 22 |  | 
|---|
| 23 | # YD because of ucs4 | 
|---|
| 24 | Requires: python >= 2.7.6-13 | 
|---|
| 25 |  | 
|---|
| 26 | %description | 
|---|
| 27 | Fast metadata parser for yum implemented in C. | 
|---|
| 28 |  | 
|---|
| 29 | %prep | 
|---|
| 30 | %setup | 
|---|
| 31 |  | 
|---|
| 32 | %build | 
|---|
| 33 | export EMXSHELL="cmd.exe" | 
|---|
| 34 | %{__python} setup.py build | 
|---|
| 35 |  | 
|---|
| 36 | %install | 
|---|
| 37 | export 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.