Sophie

Sophie

distrib > Mageia > 3 > i586 > media > core-release-src > by-pkgid > a06fa30a112830ffee69d84e19d1a04b > files > 1

python-django-haystack-1.2.4-2.mga3.src.rpm

%define realname    django-haystack
%define name	    python-%{realname}
%define version     1.2.4
%define release     %mkrel 2
%define github_shorttag e9c7653
%define github_tag     ge9c7653 
%define github_author  toastdriven

Name: %{name}
Version: %{version}
Release: %{release}
Summary:        Django module for modular search
Group:          Development/Python
License:        BSD
URL:            http://haystacksearch.org/
Source:         https://download.github.com/%github_author-%realname-v%{version}-0-%github_tag.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root
BuildArch:      noarch
BuildRequires:  python-devel 
Requires:       python-django

%description
Search doesn't have to be hard. Haystack lets you write your search code once 
and choose the search engine you want it to run on. With a familiar API that 
should make any Djangonaut feel right at home and an architecture that allows 
you to swap things in and out as you need to, it's how search ought to be.

%prep
%setup -q -n %github_author-%realname-%github_shorttag

%build
%{__python} setup.py build

%install
rm -rf $RPM_BUILD_ROOT
%{__python} setup.py install -O1 --skip-build --root $RPM_BUILD_ROOT

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%{py_puresitedir}/*


%changelog

* Sun Jan 13 2013 umeabot <umeabot> 1.2.4-2.mga3
+ Revision: 378675
- Mass Rebuild - https://wiki.mageia.org/en/Feature:Mageia3MassRebuild

* Sat Jul 16 2011 misc <misc> 1.2.4-1.mga2
+ Revision: 124818
- add description
- imported package python-django-haystack