File python-django-cms.spec of Package python-django-cms

#
# spec file for package python-django-cms
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
#
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#

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

Name:           python-django-cms
Version:        2.3.6
Release:        1.1
Url:            http://www.django-cms.org/
Summary:        An Advanced Django CMS
License:        BSD License
Group:          Development/Languages/Python
Source:         django-cms-%{version}.tar.bz2
BuildRoot:      %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python-devel
BuildRequires:  python-distribute
Requires:       python-django
%if 0%{?suse_version}
%py_requires
%if 0%{?suse_version} > 1110
BuildArch:      noarch
%endif
%endif

%description
A Django application for managing hierarchical pages of content, possibly in
multiple languages and/or on multiple sites.

Django CMS handles the navigation rendering for you with clean, slug based URLs,
and this navigation can be extended by custom Django applications

You can define editable areas, called placeholders, in your templates which you
can fill with CMS plugins.

%prep
%setup -q -n django-cms-%{version}

%build
python setup.py build

%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}

%files
%defattr(-,root,root,-)
%doc CHANGELOG.txt README.rst
%{python_sitelib}/*

%changelog
* Thu Apr 11 2013 alexandre@exatati.com.br
- Update to 2.3.6:
  - Sorry, no changelog.
* Thu Dec  6 2012 alexandre@exatati.com.br
- Update to 2.3.5:
  - Output of page_attribute template tag is escaped.
* Mon Nov 12 2012 alexandre@exatati.com.br
- Update to 2.3.4:
  - Fixed WymEditor
  - Fixed Norwegian translations
  - Fixed a bug that could lead to slug clashes
  - Fixed page change form (jQuery and permissions)
  - Fixed placeholder field permission checks
* Fri Sep 21 2012 alexandre@exatati.com.br
- Update to 2.3.3:
  - 2.3.3 restores Python 2.5 suppport for the django CMS.
* Thu Sep 20 2012 alexandre@exatati.com.br
- Update to 2.3.2:
  - CMS_FRONTEND_LANGUAGES limits django languages as well during
    language selection
  - Wymeditor updated to 1.0.4a
  - icon_url escape fixed
  - Ukranian translation added
  - Fixed wrong language prefix handling for form actions and admin
    preview
  - Admin icons in django 1.4 fixed
  - Added requirements.txt for pip and testing in test_requirements
  - Google map plugin with height and width properties. Migrations
    will set default values on not-null fields.
  - Docs fixes
  - Code cleanup
  - Switched html5lib to HTML serializer
  - Removed handling of iterables in plugin_pool.register_plugin
  - Performance and reduced queries
  - Link has target support
  - Made the PageAttribute templatetag an 'asTag'
  - JQuery namespace fixes in admin
- Aditional changes from 2.3.1:
  - pinned version of django-mptt to 0.5.1 or 0.5.2
* Fri Jun 29 2012 alexandre@exatati.com.br
- Update to 2.3:
  - Compatibility with Django 1.3.1 and 1.4 (1.2 support dropped)
  - Lazy admin page tree loading
  - Toolbar JS isolation
  - Destructive plugin actions fixed (cancel button, moving plugins)
  - Refactored tests
  - Fixed or clause of placeholder tag
  - Fixed double escaping of icon sources for inline plugins
  - Fixed order of PageSelectWidget
  - Fixed invalid HTML generated by file plugin
  - Fixed migration order of plugins
  - Fixed internationalized strings in JS not being escaped
  - django-reversion dependency upgraded to 1.6
  - django-sekizai dependency upgraded to 0.6.1 or higher
  - django-mptt dependency upgraded to 0.5.1 or higher
* Sun Sep 11 2011 alexandre@exatati.com.br
- Update to 2.2:
  - Replaced the old plugin media framework with django-sekizai.
    (This changed some plugin templates which might cause problems
    with your CSS styling).
  - Made django-mptt a proper dependency
  - Removed support for django-dbgettext
  - Google Maps Plugin now defaults to use HTTPS.
  - Google Maps Plugin now uses the version 3 of their API, no
    longer requiring an API Key.
* Wed Aug 24 2011 alexandre@exatati.com.br
- Update to 2.1.4:
  - Fixed a XSS issue in Text Plugins.
* Thu Mar 31 2011 alexandre@exatati.com.br
- Regenerate spec file with py2pack;
- Add CHANGELOG.txt and README.rst files as documentation.
* Tue Feb 22 2011 alexandre@exatati.com.br
- Update to 2.1.3:
  - Fixed a serious security issue in PlaceholderAdmin, allowing
    any active staff user to add, edit and delete any plugin, many
    thanks to Ben Hockey for triggering the discovery of this bug.
  - Fixed PlaceholderAdmin not respecting limits set in
    CMS_PLACEHOLDER_CONF, many thanks to Ben Hockey for reporting
    this.
  - Fixed show_submenu template tag not respecting in_navigation
    flags on pages, thanks to Iacopo Spalletti for the patch.
  - Fixed the way we prevent double-patching
    django.core.urlresolvers.reverse, thanks to Benjamin Wohlwend
    for the patch.
* Thu Feb 17 2011 alexandre@exatati.com.br
- Update to 2.1.2:
  - Fixed CMS Ajax requests CSRF protection.
* Wed Feb  9 2011 alexandre@exatati.com.br
- Update to 2.1.1:
  - Fixed CMS AJAX requests not being CSRF protected, thus not working
    in Django 1.2.5;
  - Fixed toolbar CSS issues in Chrome/Firefox.
* Wed Jan 26 2011 alexandre@exatati.com.br
- Update to 2.1.0:
  - Frontend-editing. This is probably the most noticeable new feature,
    allowing you to edit your CMS pages directly on the page, rather
    than in the admin panel. This feature even works for non-CMS pages,
    if they use the newly introduced Placeholder Fields, see the next
    point.
  - Placeholder Fields. A new model field allowing developers to use
    the full power of the CMS plugin system on their own models. This
    feature is already used in some third party extensions, such as
    the cmsplugin-blog, which even uses the full power of plugins and
    placeholders to provide multilingual content.
  - Improved Menu. With the new menu, it is easy for developers to
    extend the menu tree with custom menu nodes, to link to non-CMS
    content on their websites.
  - Better Apphooks. Apphooks are the CMS way to integrate third party
    Django applications into the CMS. Coupled with the new menu and
    possibly Placeholder Fields, it is as easy as never before to make
    your Django application integrate seamlessly into the django CMS.
    You can even make your application CMS-ready, without having the
    CMS as a dependency!
  - Better tests. We've increased our test coverage a lot and have
    more robust continuous integration, building against Django 1.2
    and Django trunk as well as Python 2.5 and 2.6. We also decreased
    the time required to run the test suite by a lot, making it easier
    for developers to test their code.
  - Better documentation. We've listened to all the feedback we got on
    our documentation and carefully improved and extended it. It is also
    hosted on readthedocs.org now, allowing us to provide you with
    multiple versions of our documentation with ease.
  - More core developers. We increased our bus factor by adding more
    core developers, so welcome ┼▓yvind Saltvik and Eric Robitaille to
    the django CMS team! Of course we're looking forward to welcome more
    developers in our team. So go ahead and fork us on github and start
    hacking!
* Mon Dec 27 2010 alexandre@exatati.com.br
- Update to 2.1.0 RC1:
  - language namespaces for apphooks (reverse("de:myview"),
    reverse("en:myview"))
  - video plugin switch to
    http://github.com/FlashJunior/OSFlashVideoPlayer
  - frontediting added (cms.middlware.toolbar.ToolbarMiddleware)
  - testsuite works now under sqlite and postgres
  - orphaned text embed plugins get now deleted if not referenced
    in the text anymore
  - placeholder templatetag: "theme" attribute removed in favor of
    "width" (backward incompatible change if theme was used)
  - menu is its own app now
  - menu modifiers (you can register menu modifiers that can
    change menu nodes or rearrange them)
  - menus are now class based.
  - apphooks are now class based and can bring multiple menus
    and urls.py with them.
  - menus and apphooks are auto-discovered now
  - example templates look a lot better now.
  - languages are not a dropdown anymore but fancy tabs
  - placeholderend templatetag added:
    {%% placeholder "content" %%}There is no content here{%% endplaceholder %%}
  - plugins can now be used in other apps :) see
    cms/docs/placeholders.txt
  - plugins can now be grouped
  - a lot of bugfixes
  - the cms now depends on the
    cms.middleware.media.PlaceholderMediaMiddleware middleware
  - templatetags refactored: see cms/docs/templatetags.txt for new
    signatures.
  - placeholder has new option: or and a endpalceholder
    templatetag
* Tue May 25 2010 alexandre@exatati.com.br
- Update to 2.1.0.beta3;
- Spec file cleaned with spec-cleaner.
* Mon May 24 2010 nix@opensuse.org
- Recommend python-django-south for DB migration
* Mon May 24 2010 nix@opensuse.org
- Recommend python-django-reversion for versioning page content
* Tue Mar 23 2010 alexandre@exatati.com.br
- Update to 2.1.0.beta2.
* Mon Dec 14 2009 alexandre@exatati.com.br
- Update to 2.0.2.
* Thu Nov 12 2009 alexandre@exatati.com.br
- Update to 2.0.0.
* Mon Nov  9 2009 alexandre@exatati.com.br
- Update to 2.0.0.RC3.
* Wed Oct  7 2009 alexandre@exatati.com.br
- Fix Author name in spec file.
* Wed Oct  7 2009 alexandre@exatati.com.br
- Initial package (2.0.0.RC1) for openSUSE.