| 
                Last change
                  on this file since 2829 was
                  2487,
                  checked in by achernya, 12 years ago
           | 
        
        
          | 
            Merge r2435-2485 from trunk to branches/fc19-dev
           | 
        
        | 
            File size:
            1.1 KB
           | 
      
      
        
  | Rev | Line |   | 
|---|
| [2477] | 1 | Name:           python-hesiod | 
|---|
 | 2 | Version:        0.2.10 | 
|---|
| [2480] | 3 | %define commit 2b11f727fe934efe8935ac3543fe538d14b8fafe | 
|---|
 | 4 | %define shortcommit %(c=%{commit}; echo ${c:0:7}) | 
|---|
| [2477] | 5 | Release:        0.%{scriptsversion}%{?dist} | 
|---|
 | 6 | Summary:        Python access to zephyr library | 
|---|
 | 7 |  | 
|---|
 | 8 | Group:          Development/Languages | 
|---|
 | 9 | License:        MIT | 
|---|
| [2480] | 10 | URL:            https://github.com/ebroder/python-hesiod | 
|---|
 | 11 | Source0:        https://github.com/ebroder/python-hesiod/archive/%{commit}/%{name}-%{version}-%{shortcommit}.tar.gz | 
|---|
| [2477] | 12 | BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) | 
|---|
 | 13 |  | 
|---|
 | 14 | BuildRequires:  python2-devel, python-setuptools, Pyrex, hesiod-devel | 
|---|
 | 15 |  | 
|---|
 | 16 | %description | 
|---|
 | 17 | Hesiod bindings for Python. | 
|---|
 | 18 |  | 
|---|
 | 19 |  | 
|---|
 | 20 | %prep | 
|---|
| [2480] | 21 | %setup -q -n %{name}-%{commit} | 
|---|
| [2477] | 22 |  | 
|---|
 | 23 |  | 
|---|
 | 24 | %build | 
|---|
 | 25 | CFLAGS="$RPM_OPT_FLAGS" CPPFLAGS="-I%{_includedir}/et" %{__python2} setup.py build | 
|---|
 | 26 |  | 
|---|
 | 27 |  | 
|---|
 | 28 | %install | 
|---|
 | 29 | rm -rf $RPM_BUILD_ROOT | 
|---|
 | 30 | %{__python2} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT | 
|---|
 | 31 |  | 
|---|
 | 32 |   | 
|---|
 | 33 | %clean | 
|---|
 | 34 | rm -rf $RPM_BUILD_ROOT | 
|---|
 | 35 |  | 
|---|
 | 36 |  | 
|---|
 | 37 | %files | 
|---|
 | 38 | %defattr(-,root,root,-) | 
|---|
 | 39 | %doc | 
|---|
 | 40 | %{python_sitearch}/* | 
|---|
 | 41 |  | 
|---|
 | 42 |  | 
|---|
 | 43 | %changelog | 
|---|
 | 44 | * Sun Oct 13 2013 Alex Dehnert <adehnert@mit.edu> - 0.2.10 | 
|---|
 | 45 | - Initial RPM release | 
|---|
 | 46 |  | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.