/[packages]/cauldron/python-django-haystack/current/SPECS/python-django-haystack.spec
ViewVC logotype

Diff of /cauldron/python-django-haystack/current/SPECS/python-django-haystack.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 493764 by pterjan, Thu Jan 17 21:30:27 2013 UTC revision 493765 by nmartin, Tue Oct 8 19:30:23 2013 UTC
# Line 1  Line 1 
1  %define realname    django-haystack  %define realname    django-haystack
2  %define name        python-%{realname}  %define name        python-%{realname}
3  %define version     1.2.4  %define version     2.1.0
4  %define release     %mkrel 2  %define release     %mkrel 1
 %define github_shorttag e9c7653  
 %define github_tag     ge9c7653  
 %define github_author  toastdriven  
5    
6  Name: %{name}  Name: %{name}
7  Version: %{version}  Version: %{version}
# Line 13  Summary:        Django module for modula Line 10  Summary:        Django module for modula
10  Group:          Development/Python  Group:          Development/Python
11  License:        BSD  License:        BSD
12  URL:            http://haystacksearch.org/  URL:            http://haystacksearch.org/
13  Source:         https://download.github.com/%github_author-%realname-v%{version}-0-%github_tag.tar.gz  Source:         https://pypi.python.org/packages/source/d/%{realname}/%{realname}-%{version}.tar.gz
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root  
14  BuildArch:      noarch  BuildArch:      noarch
15  BuildRequires:  python-devel  BuildRequires:  python-devel
16  Requires:       python-django  Requires:       python-django
# Line 23  Requires:       python-django Line 19  Requires:       python-django
19  Search doesn't have to be hard. Haystack lets you write your search code once  Search doesn't have to be hard. Haystack lets you write your search code once
20  and choose the search engine you want it to run on. With a familiar API that  and choose the search engine you want it to run on. With a familiar API that
21  should make any Djangonaut feel right at home and an architecture that allows  should make any Djangonaut feel right at home and an architecture that allows
22  you to swap things in and out as you need to, it's how search ought to be.  you to swap things in and out as you need to, it's how search ought to be.
23    
24  %prep  %prep
25  %setup -q -n %github_author-%realname-%github_shorttag  %setup -q -n %{realname}-%{version}
26    
27  %build  %build
28  %{__python} setup.py build  %{__python} setup.py build
29    
30  %install  %install
31  rm -rf $RPM_BUILD_ROOT  %{__python} setup.py install -O1 --skip-build --root %{buildroot}
 %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT  
   
 %clean  
 rm -rf $RPM_BUILD_ROOT  
32    
33  %files  %files
 %defattr(-,root,root,-)  
34  %{py_puresitedir}/*  %{py_puresitedir}/*

Legend:
Removed from v.493764  
changed lines
  Added in v.493765

  ViewVC Help
Powered by ViewVC 1.1.30