2 # - use system jquery, jquery-ui
3 Summary: A collection of useful classes and functions for Django
7 Group: Applications/Networking
8 # Djblets is MIT licensed:
9 # http://code.google.com/p/reviewboard/wiki/Djblets
10 # jQuery is bundled in Djblets. Jquery is dual-licensed MIT or GPLv2, hence
11 # the package license is "MIT and (MIT or GPLv2)":
12 # https://www.redhat.com/archives/fedora-legal-list/2009-May/msg00025.html
13 License: MIT and (MIT or GPL v2)
14 URL: http://www.review-board.org/
15 Source0: http://downloads.review-board.org/releases/Djblets/0.7/Djblets-%{version}.tar.gz
16 # Source0-md5: c2e1987fc6badad138743aa0ea009922
19 BuildRequires: python-devel
20 BuildRequires: python-django-pipeline >= 1.2.24
21 BuildRequires: python-modules
22 BuildRequires: python-setuptools
23 BuildRequires: rpm-pythonprov
24 BuildRequires: sed >= 4.0
26 Requires: python-django >= 1.4.2
27 Requires: python-django-pipeline >= 1.2.24
28 Requires: python-feedparser >= 5.1.2
31 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
34 A collection of useful classes and functions for Django
37 %setup -q -n Djblets-%{version}
39 # Remove packaged egg-info so it's regenerated by setup.py
40 %{__rm} -r Djblets*.egg-info
46 rm -rf $RPM_BUILD_ROOT
51 # hardlink files with fingerprinted variants
52 findup -m $RPM_BUILD_ROOT
54 # Remove the "tests" subdirectory to avoid it polluting the main python namespace:
55 %{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/tests
58 rm -rf $RPM_BUILD_ROOT
61 %defattr(644,root,root,755)
62 %doc AUTHORS NEWS README
63 %{py_sitescriptdir}/djblets
64 %{py_sitescriptdir}/Djblets*.egg-info