rpms/python-djblets/F-12 python-djblets.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2

Daniel M. Young dyoung at fedoraproject.org
Mon Dec 21 17:15:27 UTC 2009


Author: dyoung

Update of /cvs/pkgs/rpms/python-djblets/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv30657

Modified Files:
	.cvsignore sources 
Added Files:
	python-djblets.spec 
Log Message:
Initial import for F-12


--- NEW FILE python-djblets.spec ---
%{!?python_sitelib: %define python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           python-djblets
Version:        0.5.6
Release:        0%{?dist}
Summary:        A collection of useful classes and functions for Django
Group:          Applications/Internet
# Djblets is MIT licensed:
# http://code.google.com/p/reviewboard/wiki/Djblets
# Jquery is bundled in Djblets. Jquery is dual-licensed MIT or GPLv2, hence
# the package license is "MIT and (MIT or GPLv2)":
# https://www.redhat.com/archives/fedora-legal-list/2009-May/msg00025.html
License:        MIT and (MIT or GPLv2)
URL:            http://www.review-board.org
Source0:        http://downloads.review-board.org/releases/Djblets/0.5/Djblets-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildArch:      noarch
BuildRequires:  python
BuildRequires:  python-devel
BuildRequires:  python-setuptools
Requires:       Django >= 1.0.2
Requires:       python-imaging

%description
A collection of useful classes and functions for Django

%prep
%setup -q -n Djblets-%{version}
sed -i 's/^from ez_setup/#from ez_setup/' setup.py
sed -i 's/^use_setuptools()/#use_setuptools()/' setup.py
%build
%{__python} setup.py build

%install
rm -rf $RPM_BUILD_ROOT

%{__python} setup.py install --root $RPM_BUILD_ROOT

# feedparser.py has a shebang, and has a runnable __main__; make it executable:
chmod +x $RPM_BUILD_ROOT%{python_sitelib}/djblets/feedview/feedparser.py

# Remove the "tests" subdirectory to avoid it polluting the main python
# namespace:
rm -rf $RPM_BUILD_ROOT%{python_sitelib}/tests

%clean
rm -rf $RPM_BUILD_ROOT

%files
%defattr(-,root,root,-)
%doc NEWS
%{python_sitelib}/*

%changelog
* Mon Dec 21 2009 Stephen Gallagher <sgallagh at redhat.com> 0.5.6-0
- Update to latest upstream release
- Remove pre-release handling in the package name and spec

* Fri Oct 23 2009 Dan Young <dyoung at mesd.k12.or.us> - 0.5-0.3.rc1
- Fix License tag

* Wed May 13 2009 Dan Young <dyoung at mesd.k12.or.us> - 0.5-0.2.rc1
- BuildRequires: python and python-setuptools

* Thu May  7 2009 David Malcolm <dmalcolm at redhat.com> - 0.5-0.1.rc1
- bump to upstream 0.5rc1
- add NEWS and AUTHORS files as documentation

* Thu May  7 2009 David Malcolm <dmalcolm at redhat.com> - 0.5-0.1.alpha3
- rename from Djblets to python-djblets
- update version/release to try to preserve update path (prerelease issues)
- fix mixed tabs/spaces in specfile (use spaces throughout)
- remove tests subdirectory
- make feedparser.py executable

* Sat Feb  21 2009 Ramez Hanna <rhanna at informatiq.org> 
- First build.


Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/python-djblets/F-12/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- .cvsignore	26 Oct 2009 20:18:39 -0000	1.1
+++ .cvsignore	21 Dec 2009 17:15:27 -0000	1.2
@@ -0,0 +1 @@
+Djblets-0.5.6.tar.gz


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/python-djblets/F-12/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -p -r1.1 -r1.2
--- sources	26 Oct 2009 20:18:39 -0000	1.1
+++ sources	21 Dec 2009 17:15:27 -0000	1.2
@@ -0,0 +1 @@
+1ba05845898ed5ac252ba5dfbb58c2df  Djblets-0.5.6.tar.gz




More information about the fedora-extras-commits mailing list