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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 389214 - (hide annotations) (download)
Thu Jan 17 21:30:27 2013 UTC (7 years, 2 months ago) by pterjan
File size: 1285 byte(s)
oops
1 misc 124816 %define realname django-haystack
2     %define name python-%{realname}
3     %define version 1.2.4
4 umeabot 378675 %define release %mkrel 2
5 misc 124816 %define github_shorttag e9c7653
6     %define github_tag ge9c7653
7     %define github_author toastdriven
8    
9     Name: %{name}
10     Version: %{version}
11     Release: %{release}
12     Summary: Django module for modular search
13     Group: Development/Python
14     License: BSD
15     URL: http://haystacksearch.org/
16     Source: https://download.github.com/%github_author-%realname-v%{version}-0-%github_tag.tar.gz
17     BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root
18     BuildArch: noarch
19     BuildRequires: python-devel
20     Requires: python-django
21    
22     %description
23 misc 124818 Search doesn't have to be hard. Haystack lets you write your search code once
24     and choose the search engine you want it to run on. With a familiar API that
25     should make any Djangonaut feel right at home and an architecture that allows
26     you to swap things in and out as you need to, it's how search ought to┬ábe.
27 misc 124816
28     %prep
29     %setup -q -n %github_author-%realname-%github_shorttag
30    
31     %build
32     %{__python} setup.py build
33    
34     %install
35     rm -rf $RPM_BUILD_ROOT
36     %{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT
37    
38     %clean
39     rm -rf $RPM_BUILD_ROOT
40    
41     %files
42     %defattr(-,root,root,-)
43     %{py_puresitedir}/*

  ViewVC Help
Powered by ViewVC 1.1.26