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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 124818 - (show annotations) (download)
Sat Jul 16 18:11:29 2011 UTC (12 years, 9 months ago) by misc
File size: 1285 byte(s)
add description

1 %define realname django-haystack
2 %define name python-%{realname}
3 %define version 1.2.4
4 %define release %mkrel 1
5 %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 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
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.30