Sophie

Sophie

distrib > Fedora > 16 > i386 > media > os-src > by-pkgid > c86e1f71038fefa3b844fa6e580174a7 > files > 2

python-assets-0.1.1-4.fc15.src.rpm

%{!?python_sitelib: %global python_sitelib %(%{__python} -c "from distutils.sysconfig import get_python_lib; print get_python_lib()")}

Name:           python-assets
Version:        0.1.1
Release:        4%{?dist}
Summary:        Cache-friendly asset management via content-hash-naming

Group:          Development/Languages
License:        LGPLv3+
URL:            http://jderose.fedorapeople.org/assets/
Source0:        http://jderose.fedorapeople.org/assets/%{version}/assets-%{version}.tar.gz
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)

BuildArch:      noarch
BuildRequires:  python-devel python-nose

%description
The assets package does content-hash-naming (aka URL fingerprinting) so you can
use aggressive caching headers without risking that a client might have an
out-of-date version of an asset in its cache.  If the content changes, the
content-hash-name also changes, resulting in a different URL for each
bytewise-unique version of an asset.

%prep
%setup -q -n assets-%{version}

%build
%{__python} setup.py build

%check
nosetests --with-doctest

%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,-)
%doc README COPYING COPYING.LESSER
%{python_sitelib}/assetslib/
%{python_sitelib}/assets-%{version}-*.egg-info

%changelog
* Tue Feb 08 2011 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.1.1-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild

* Wed Jul 21 2010 David Malcolm <dmalcolm@redhat.com> - 0.1.1-3
- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild

* Fri Oct 09 2009 Jason Gerard DeRose <jderose@redhat.com> - 0.1.1-2
- Fixed *.egg-info for Python 2.4 compatability

* Tue Sep 29 2009 Jason Gerard DeRose <jderose@redhat.com> - 0.1.1-1
- New release

* Tue Sep 22 2009 Jason Gerard DeRose <jderose@redhat.com> - 0.1.0-1
- Initial package