]> git.pld-linux.org Git - packages/python-djblets.git/blame - python-djblets.spec
automatic change: use py_build/py_install macros
[packages/python-djblets.git] / python-djblets.spec
CommitLineData
c7545941
ER
1# TODO
2# - use system jquery, jquery-ui
f2c32113
ER
3Summary: A collection of useful classes and functions for Django
4Name: python-djblets
0aac041f 5Version: 0.7.10
e5c90f68 6Release: 1
f2c32113
ER
7Group: Applications/Networking
8# Djblets is MIT licensed:
9# http://code.google.com/p/reviewboard/wiki/Djblets
c7545941 10# jQuery is bundled in Djblets. Jquery is dual-licensed MIT or GPLv2, hence
f2c32113
ER
11# the package license is "MIT and (MIT or GPLv2)":
12# https://www.redhat.com/archives/fedora-legal-list/2009-May/msg00025.html
13License: MIT and (MIT or GPL v2)
14URL: http://www.review-board.org/
c7545941 15Source0: http://downloads.review-board.org/releases/Djblets/0.7/Djblets-%{version}.tar.gz
0aac041f 16# Source0-md5: c2e1987fc6badad138743aa0ea009922
986f65c7 17BuildRequires: fslint
f2c32113
ER
18BuildRequires: python
19BuildRequires: python-devel
0aac041f 20BuildRequires: python-django-pipeline >= 1.2.24
3c1a4f4c 21BuildRequires: python-modules
f2c32113 22BuildRequires: python-setuptools
3c1a4f4c 23BuildRequires: rpm-pythonprov
f2c32113
ER
24BuildRequires: sed >= 4.0
25Requires: python-PIL
c7545941 26Requires: python-django >= 1.4.2
0aac041f 27Requires: python-django-pipeline >= 1.2.24
c7545941
ER
28Requires: python-feedparser >= 5.1.2
29Requires: python-pytz
f2c32113
ER
30BuildArch: noarch
31BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
32
33%description
34A collection of useful classes and functions for Django
35
36%prep
37%setup -q -n Djblets-%{version}
c7545941
ER
38
39# Remove packaged egg-info so it's regenerated by setup.py
40%{__rm} -r Djblets*.egg-info
f2c32113
ER
41
42%build
5287d999 43%py_build
f2c32113
ER
44
45%install
46rm -rf $RPM_BUILD_ROOT
5287d999 47%py_install
f2c32113
ER
48
49%py_postclean
50
986f65c7
ER
51# hardlink files with fingerprinted variants
52findup -m $RPM_BUILD_ROOT
c7545941
ER
53
54# Remove the "tests" subdirectory to avoid it polluting the main python namespace:
55%{__rm} -r $RPM_BUILD_ROOT%{py_sitescriptdir}/tests
f2c32113
ER
56
57%clean
58rm -rf $RPM_BUILD_ROOT
59
60%files
61%defattr(644,root,root,755)
5407d6aa 62%doc AUTHORS NEWS README
f2c32113
ER
63%{py_sitescriptdir}/djblets
64%{py_sitescriptdir}/Djblets*.egg-info
This page took 0.79487 seconds and 4 git commands to generate.