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 BuildRequires: rpmbuild(macros) >= 1.710
16 Source0: http://downloads.review-board.org/releases/Djblets/0.7/Djblets-%{version}.tar.gz
17 # Source0-md5: c2e1987fc6badad138743aa0ea009922
20 BuildRequires: python-devel
21 BuildRequires: python-django-pipeline >= 1.2.24
22 BuildRequires: python-modules
23 BuildRequires: python-setuptools
24 BuildRequires: rpm-pythonprov
25 BuildRequires: sed >= 4.0
27 Requires: python-django >= 1.4.2
28 Requires: python-django-pipeline >= 1.2.24
29 Requires: python-feedparser >= 5.1.2
32 BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
35 A collection of useful classes and functions for Django
38 %setup -q -n Djblets-%{version}
40 # Remove packaged egg-info so it's regenerated by setup.py
41 %{__rm} -r Djblets*.egg-info
47 rm -rf $RPM_BUILD_ROOT
52 # hardlink files with fingerprinted variants
53 findup -m $RPM_BUILD_ROOT
55 # Remove the "tests" subdirectory to avoid it polluting the main python namespace:
56 %{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/tests
59 rm -rf $RPM_BUILD_ROOT
62 %defattr(644,root,root,755)
63 %doc AUTHORS NEWS README
64 %{py_sitescriptdir}/djblets
65 %{py_sitescriptdir}/Djblets*.egg-info