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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 687981 - (hide annotations) (download)
Tue Sep 16 20:08:31 2014 UTC (9 years, 7 months ago) by umeabot
Original Path: cauldron/python-django-haystack/current/SPECS/python-django-haystack.spec
File size: 1933 byte(s)
Mageia 5 Mass Rebuild
1 daviddavid 617317 %define module django-haystack
2 misc 124816
3 daviddavid 617317 Name: python-%{module}
4 daviddavid 659690 Version: 2.2.0
5 umeabot 687981 Release: %mkrel 2
6 daviddavid 617317 Summary: Django module for modular search
7     Group: Development/Python
8     License: BSD
9     URL: http://haystacksearch.org/
10     Source: https://pypi.python.org/packages/source/d/%{module}/%{module}-%{version}.tar.gz
11     BuildArch: noarch
12     BuildRequires: python-setuptools
13 daviddavid 617324
14 daviddavid 617317 Requires: python-django
15 misc 124816
16     %description
17 daviddavid 617324 Search doesn't have to be hard. Haystack lets you write your search code once
18     and choose the search engine you want it to run on. With a familiar API that
19     should make any Djangonaut feel right at home and an architecture that allows
20 nmartin 493765 you to swap things in and out as you need to, it's how search ought to be.
21 misc 124816
22 daviddavid 617324 #---------------------------------------------------------------------------
23    
24 daviddavid 617317 %package -n python3-%{module}
25     Summary: Django module for modular search
26     Group: Development/Python
27     BuildRequires: python3-setuptools
28 nmartin 494909
29 daviddavid 617324 Requires: python3-django
30    
31 daviddavid 617317 %description -n python3-%{module}
32 daviddavid 617324 Search doesn't have to be hard. Haystack lets you write your search code once
33     and choose the search engine you want it to run on. With a familiar API that
34     should make any Djangonaut feel right at home and an architecture that allows
35 nmartin 494909 you to swap things in and out as you need to, it's how search ought to be.
36    
37 daviddavid 617324 #---------------------------------------------------------------------------
38    
39 misc 124816 %prep
40 daviddavid 617317 %setup -q -n %{module}-%{version}
41 daviddavid 617324 cp -a . %{py3dir}
42 misc 124816
43     %build
44     %{__python} setup.py build
45    
46 nmartin 494909 pushd %{py3dir}
47     %{__python3} setup.py build
48     popd
49    
50 misc 124816 %install
51 nmartin 494909 %{__python} setup.py install -O1 --root %{buildroot} --skip-build
52 misc 124816
53 daviddavid 617324 pushd %{py3dir}
54 nmartin 494909 %{__python3} setup.py install -O1 --root=%{buildroot} --skip-build
55     popd
56    
57 misc 124816 %files
58 daviddavid 617324 %doc AUTHORS README.rst
59     %{python_sitelib}/haystack/
60     %{python_sitelib}/django_haystack-%{version}-py%{pyver}.egg-info
61 nmartin 494909
62 daviddavid 617317 %files -n python3-%{module}
63 daviddavid 617324 %doc AUTHORS README.rst
64     %{python3_sitelib}/haystack/
65     %{python3_sitelib}/django_haystack-%{version}-py%{py3ver}.egg-info

  ViewVC Help
Powered by ViewVC 1.1.30