%global _empty_manifest_terminate_build 0 Name: python-collective.folderishtypes Version: 3.1 Release: 1 Summary: Folderish News Item, Document and Event as replacement for default types. License: GPL URL: http://github.com/collective/collective.folderishtypes Source0: https://mirrors.nju.edu.cn/pypi/web/packages/12/78/d7ba9036f94b33bab2fab5b921656c0f8205db9794c3542624c61c515065/collective.folderishtypes-3.1.tar.gz BuildArch: noarch %description Provides the types "Folderish Event", "Folderish News Item" and "Folderish Document" as replacements for their `Plone`_ ATContentTypes equivalents. Those types are able to hold any other content, like a Folder. There is a "portlet" profile, which installs a portlet to show the contents of an folderish type. You can limit the types, which can be added to FolderishTypes by providing a Generic Setup import type configuration. The reason for this package is, that in my experience it's easier to group related content together at one place. An article about something fancy might have an image gallery associated with it as well as some pdf-downloads. With this package you can put everything inside the article. Another use case is that you can structure content hierarchically and don't need to define "default pages" - a concept hard to understand and handle (see: https://sixfeetup.com/blog/plone-drupal-features ) Alexander Limi also wished folderish content back in 2008: "#10: Content re-use is overrated — people like folderish" https://limi.net/things-plone %package -n python3-collective.folderishtypes Summary: Folderish News Item, Document and Event as replacement for default types. Provides: python-collective.folderishtypes BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-collective.folderishtypes Provides the types "Folderish Event", "Folderish News Item" and "Folderish Document" as replacements for their `Plone`_ ATContentTypes equivalents. Those types are able to hold any other content, like a Folder. There is a "portlet" profile, which installs a portlet to show the contents of an folderish type. You can limit the types, which can be added to FolderishTypes by providing a Generic Setup import type configuration. The reason for this package is, that in my experience it's easier to group related content together at one place. An article about something fancy might have an image gallery associated with it as well as some pdf-downloads. With this package you can put everything inside the article. Another use case is that you can structure content hierarchically and don't need to define "default pages" - a concept hard to understand and handle (see: https://sixfeetup.com/blog/plone-drupal-features ) Alexander Limi also wished folderish content back in 2008: "#10: Content re-use is overrated — people like folderish" https://limi.net/things-plone %package help Summary: Development documents and examples for collective.folderishtypes Provides: python3-collective.folderishtypes-doc %description help Provides the types "Folderish Event", "Folderish News Item" and "Folderish Document" as replacements for their `Plone`_ ATContentTypes equivalents. Those types are able to hold any other content, like a Folder. There is a "portlet" profile, which installs a portlet to show the contents of an folderish type. You can limit the types, which can be added to FolderishTypes by providing a Generic Setup import type configuration. The reason for this package is, that in my experience it's easier to group related content together at one place. An article about something fancy might have an image gallery associated with it as well as some pdf-downloads. With this package you can put everything inside the article. Another use case is that you can structure content hierarchically and don't need to define "default pages" - a concept hard to understand and handle (see: https://sixfeetup.com/blog/plone-drupal-features ) Alexander Limi also wished folderish content back in 2008: "#10: Content re-use is overrated — people like folderish" https://limi.net/things-plone %prep %autosetup -n collective.folderishtypes-3.1 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-collective.folderishtypes -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Fri May 05 2023 Python_Bot - 3.1-1 - Package Spec generated